Created
February 11, 2018 08:06
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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