Skip to content

Instantly share code, notes, and snippets.

@bastman
Created February 11, 2018 08:06
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bastman/162fbf6a7dc0544321dbc0f38cf9f7a7 to your computer and use it in GitHub Desktop.
Save bastman/162fbf6a7dc0544321dbc0f38cf9f7a7 to your computer and use it in GitHub Desktop.
spring-boot jpa hibernate postgres fix: LobCreatorBuilderImpl : HHH000424: Disabling contextual LOB creation as createClob() method threw error
# LobCreatorBuilderImpl : HHH000424: Disabling contextual LOB creation as createClob() method threw error
# see: http://vkuzel.blogspot.de/2016/03/spring-boot-jpa-hibernate-atomikos.html
# Disable feature detection by this undocumented parameter. Check the org.hibernate.engine.jdbc.internal.JdbcServiceImpl.configure method for more details.
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults: false
# Because detection is disabled you have to set correct dialect by hand.
spring.jpa.database-platform: org.hibernate.dialect.PostgreSQL9Dialect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment