Skip to content

Quick demo for StackOverflow question 69586530: Spring Data JDBC one-to-many relation causes lots of log warnings

License

Notifications You must be signed in to change notification settings

zb226/so69586530-spring-data-jdbc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please run

gradlew bootRun

and find the offending warning in the output:

(...)
o.s.jdbc.core.JdbcTemplate               : Executing prepared SQL statement [SELECT "outlet_offeredservice"."ID" AS "ID", "outlet_offeredservice"."OUTLET_ID" AS "OUTLET_ID", "outlet_offeredservice"."id" AS "id" FROM "outlet_offeredservice" WHERE "outlet_offeredservice"."outlet_id" = ?]
o.s.jdbc.core.StatementCreatorUtils      : Setting SQL statement parameter value: column index 1, parameter value [DEF012], value class [java.lang.String], SQL type 12
o.s.d.j.core.convert.ResultSetAccessor   : ResultSet contains id multiple times
o.s.d.j.core.convert.ResultSetAccessor   : ResultSet contains id multiple times
OutletOfferedService [id=DEF012-001, outletId=DEF012]
OutletOfferedService [id=DEF012-002, outletId=DEF012]
com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
(...)

About

Quick demo for StackOverflow question 69586530: Spring Data JDBC one-to-many relation causes lots of log warnings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages