java.lang.NullPointerException at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:207) at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75) at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
The exception above can be resolved by adding this Hibernate property:
<property name="hibernate.temp.use_jdbc_metadata_defaults">false</property>
hi thanks for tip,
ReplyDeleteI have here jdbc.properties file where is defined some like:
hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
hibernate.show_sql=true
so may i add this property like
hibernate.temp.use_jdbc_metadata_defaults=false ?
Hi Erik,
ReplyDeleteApologies for the delayed response. Yes, you are correct.
thanks for the tip..
ReplyDeletethanks for the tip
ReplyDeleteThanks a lot. It works for me.
ReplyDeleteApologies for the delayed response. Yes, you are correct.
ReplyDeleteresponse!@!! Tanks!!
ReplyDelete