org.springframework.dao.InvalidDataAccessResourceUsageException:could not execute query; nested exception is org.hibernate.exception.SQLGrammarException:could not execute query
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/19 22:09:50
![org.springframework.dao.InvalidDataAccessResourceUsageException:could not execute query; nested exception is org.hibernate.exception.SQLGrammarException:could not execute query](/uploads/image/z/12852452-20-2.jpg?t=org.springframework.dao.InvalidDataAccessResourceUsageException%3Acould+not+execute+query%3B+nested+exception+is+org.hibernate.exception.SQLGrammarException%3Acould+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
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>