about billson

Gathering & Sharing

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:...
2022-04-13

Resolved: No qualifying bean of type 'org.springframework.boot.web.client.RestTemplateBuilder'

›
  JUnit TestCase Spring Boot Add annotation of  @AutoConfigureWebClient to your test case. org.springframework.boot.test.autoconfigure.web.c...

org.springframework.beans.factory.BeanFactory.getBean( ) with args

›
  org.springframework.beans.factory.BeanFactory.getBean( ) with args Source URL:  https://www.programcreek.com/java-api-examples/?class=org....
2022-04-12

@RunWith vs @SpringBootTest

›
  https://stackoverflow.com/questions/58901288/springrunner-vs-springboottest URL:  https://stackoverflow.com/a/58902051 @RunWith(SpringRunn...

Resolved: Caused by: java.lang.IllegalStateException: Unable to retrieve @EnableAutoConfiguration base packages

›
  Referring to URL below: https://github.com/spring-projects/spring-boot/issues/10465#issuecomment-336397898   Added @AutoConfigurationPac...
2022-04-07

Regex to split htop details

›
  ^( *\d+) (\w+) +(\d+) +(-?\d+) +(\d+.?\d?\w?) +(\w+) +(\w+) +S +(\d+.?\d+) +(\d+.?\d+) +(\d+h?:?\d?\d?:?\.?\d?\d?) +[├│└][\+─ ] (.*)$
2022-04-05

Web characters - emoji

›
  Emoji 14.0 2021-09-14 Unicode 14.0 E14.0 🌏 🗺🧭 🦷 ➀➁➂➃➄➅➆➇➈➉ 🏀 🎮🕹 🎮 🕹 🔋 🉑 more at:  https://www.w3schools.com/charsets/ref_utf_di...

7 PRINCIPLES OF DATA PROTECTION

›
  https://www.pdp.gov.my/jpdpv2/public/principles-of-data-protection/?lang=en PRINCIPLES OF DATA PROTECTION Share Share on facebook Share on...
‹
›
Home
View web version

Contributors

  • Billson
  • Cz Billson
  • Unknown
  • Unknown
Powered by Blogger.