about billson
Gathering & Sharing
2022-07-21
ajax, upload file, json string, Spring Controller, DTO
›
Googled: json to dto spring boot controller Resolved by follow the example on: Spring Boot controller - Upload Multipart and JSON to DTO ...
couldn't parse json attribute to java object attribute.
›
private boolean isRequiredFtpToSSS; public void setRequiredFtpToSSS(boolean isRequiredFtpToSSS) { this.isRequiredFtpToSSS = isRequi...
Jackson JSON parsing from string to date.
›
@JsonFormat(pattern = "yyyy-MMM-dd") private Date dateFrom; not sure if were causing by: MethodArgumentConversionNotSupporte...
jquery 3.3.1 change checkbox checked
›
Found: Make checkbox value checked with jQuery or JavaScript but seems not the same case. the one i'm using. $("#chkHasDateTo...
Jquery Datepicker: click on a checkbox, then open/pop datepicker of a textbox.
›
click on a checkbox, then open/pop datepicker of a textbox. if($("#chkHasDateTo").is(":checked")){ $( "#da...
2022-07-13
全 #Lesley [Legend V] #MVP 7.7/6 4 6 | $13383 202206142025
›
全 #Lesley [Legend V] #MVP 7.7/6 4 6 | $13383 202206142025 https://youtu.be/tnp0nELuY8Q via @YouTube #MLBB
Java does new instance consume many memory
›
Found: https://stackoverflow.com/a/258150 Measurement methods You can use Instrumentation.getObjectSize() to obtain an estimate of the s...
eclipse maven "JUnit" "javaagent"
›
eclipse maven "JUnit" "javaagent" Found this: https://stackoverflow.com/a/35775792 You can use ea-agent-loader With i...
全 #Rafaela [Epic I] #MVP 9.6/4 3 21 | $8313 202205281332 https://youtu.be/jUNpF3a8HPI via @YouTube #MLBB
›
全 #Rafaela [Epic I] #MVP 9.6/4 3 21 | $8313 202205281332 https://youtu.be/jUNpF3a8HPI via @YouTube #MLBB
2022-07-12
eclipse added hotkey for svn actions are not working.
›
SVN key bindings not working in Eclipse Reference URL: https://stackoverflow.com/a/3640441 It may be due to this breaking change in Eclips...
2022-07-06
Resolved - @PreUpdate not working in JUnit test.
›
javax.persistence.PreUpdate object need to be "dirty" to trigger... obj.setColumn01("text"); repo.save(obj); then make...
2022-07-01
Setup local Keycloak for development
›
https://stackoverflow.com/a/72600716 Keycloak 18.0.2 doesn't required "/auth" as endpoint new config: keycloak.auth-server-u...
Respective Keycloak role in Spring Boot authRole config
›
keycloak.securityConstraints[0].authRoles[0]=xyz Respective config in Keycloak (18.0.2) In user Role mappings:
Different of SVNs
›
SVN Getting(install) SVN feature from Eclipse Marketplace... VS Install New Software Eclipse Marketplace... Install New Software http://su...
subclipse.tigris.org no longer available...
›
http://subclipse.tigris.org/update_1.10.x http://subclipse.tigris.org/update_1.6.x above are not reachable... Found a post telling to get ...
2022-06-10
"Spring" JPA "native query" java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
›
"Spring" JPA "native query" java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 Exception Snippet: java.lang.IndexO...
JUnit test - Caused by: javax.persistence.RollbackException: Transaction marked as rollbackOnly
›
Exception snippet: 12:02:34.849|WARN |Caught exception while allowing TestExecutionListener [org.springframework.test.context.transaction....
2022-05-31
Alternative - Error Code: 1093. You can't specify target table 'YOUR_TABLE' for update in FROM clause
›
Error Code: 1093. You can't specify target table 'YOUR_TABLE' for update in FROM clause UPDATE YOUR_TABLE SET columnA = 'd...
2022-04-20
JasperReport, always get blank PDF?
›
line below with new JREmptyDataSource() will get pdf as per expected. jasperPrint = JasperFillManager.fillReport(report, jrParam, new JRE...
2022-04-14
Multiple JasperPrint into a pdf with output as file and byte[]
›
Multiple JasperPrint into a pdf with output as file and byte[] JasperExportManager.exportReportToPdf vs JRPdfExporter.exportReport() Found:...
‹
›
Home
View web version