org.springframework.dao.InvalidDataAccessResourceUsageException:could not execute query; nested exception is org.hibernate.exception.SQLGrammarException:could not execute query
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 23:43:01
org.springframework.dao.InvalidDataAccessResourceUsageException:could not execute query; nested exception is org.hibernate.exception.SQLGrammarException:could not execute query
org.springframework.dao.InvalidDataAccessResourceUsageException:could not execute query; nested exception is org.hibernate.exception.SQLGrammarException:could not execute query
org.springframework.dao.InvalidDataAccessResourceUsageException:could not execute query; nested exception is org.hibernate.exception.SQLGrammarException:could not execute query
这是我的配置信息,你可以参考下
<property name="hibernate.query.factory_class"> org.hibernate.hql.classic.ClassicQueryTranslatorFactory
</property>
<property name="connection.username">jkems</property>
<property name="connection.url"> jdbc:oracle:thin:@192.168.5.245:1521:oracle
</property>
<property name="dialect">org.hibernate.dialect.Oracle9Dialect
</property>
<property name="myeclipse.connection.profile">MyOracle Conection
</property>
<property name="connection.password">123456</property>
<property name="connection.driver_class">
oracle.jdbc.driver.OracleDriver
</property>