SHH中Hibernate生成的DAO类中报错!!!求救
Struts Problem Report
Struts has detected an unhandled exception:
Messages: ?????????
Hibernate operation: could not execute query; uncategorized
SQLException for SQL [select tuser0_.NID as NID3_, tuser0_.NDEPTID as NDEPTID3_, tuser0_.NROLEID as NROLEID3_, tuser0_.NBUTYID as NBUTYID3_, tuser0_.SUSERID as SUSERID3_, tuser0_.SREALNAME as SREALNAME3_, tuser0_.SPWD as SPWD3_, tuser0_.REGDATE as REGDATE3_, tuser0_.SSEX as SSEX3_, tuser0_.NCITY as NCITY3_, tuser0_.SMARRY as SMARRY3_, tuser0_.NIDCARD as NIDCARD3_, tuser0_.SPHONE as SPHONE3_, tuser0_.SEMAIL as SEMAIL3_, tuser0_.SADDRESS as SADDRESS3_ from OA_LQ.T_USER tuser0_ where tuser0_.SUSERID='admin']; SQL state [null]; error code [17059]; ?????????; nested exception is
java.sql.SQLException: ?????????
File: oracle/jdbc/driver/DatabaseError.java
Line number: 111
--------------------------------------------
Stacktraces
org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not execute query; uncategorized SQLException for SQL [select tuser0_.NID as NID3_, tuser0_.NDEPTID as NDEPTID3_, tuser0_.NROLEID as NROLEID3_, tuser0_.NBUTYID as NBUTYID3_, tuser0_.SUSERID as SUSERID3_, tuser0_.SREALNAME as SREALNAME3_, tuser0_.SPWD as SPWD3_, tuser0_.REGDATE as REGDATE3_, tuser0_.SSEX as SSEX3_, tuser0_.NCITY as NCITY3_, tuser0_.SMARRY as SMARRY3_, tuser0_.NIDCARD as NIDCARD3_, tuser0_.SPHONE as SPHONE3_, tuser0_.SEMAIL as SEMAIL3_, tuser0_.SADDRESS as SADDRESS3_ from OA_LQ.T_USER tuser0_ where tuser0_.SUSERID='admin']; SQL state [null]; error code [17059]; ?????????; nested exception is java.sql.SQLException: ?????????
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
org.springframework.orm.hibernate3.HibernateAccessor.convertJdbcAccessException(HibernateAccessor.java:424)
org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:410)
org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:912)