一对多和多对一报错
按视频里面的代码报这个错误:INFO: HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
网上说在配置文件里面加上这个<property name="hibernate.temp.use_jdbc_metadata_defaults">false</property>
又报这个错误
4月 15, 2018 10:37:44 下午 org.hibernate.dialect.Dialect <init>
INFO: HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect
4月 15, 2018 10:37:44 下午 org.hibernate.engine.jdbc.internal.LobCreatorBuilder useContextualLobCreation
INFO: HHH000422: Disabling contextual LOB creation as connection was null