im new to hibernate . i use struts ,spring and hibernate .
the code as below:
Code:
public List getUsers() {
try {
return getHibernateTemplate().find(
"from LoginUser");
}
catch (Exception ex) {
System.out.println(ex.getMessage());
logger.error(ex);
return new ArrayList();
}
}
when excute the programme(Code:
return getHibernateTemplate().find(
"from LoginUser");
),get the error as below:
Hibernate: select loginuser0_.USER_ID as USER_ID, loginuser0_.USER_NAME as USER_NAME, loginuser0_.ACCOUNT as ACCOUNT, loginuser0_.PASSWORD as PASSWORD from USER_ACCOUNT loginuser0_
- SQL Error: 600, SQLState: 60000
- ORA-00600: 内部错误代码(it mean inner error code),参数(mean parameter): [ttcgcshnd-1], [0], [], [], [], [], [], []
- SQL Error: 600, SQLState: 60000
- ORA-00600: 内部错误代码(it mean inner error code),,参数(mean parameter): [ttcgcshnd-1], [0], [], [], [], [], [], []
- Could not execute query
java.sql.SQLException: ORA-00600: 内部错误代码(it mean inner error code),参数(mean parameter): [ttcgcshnd-1], [0], [], [], [], [], [], []
why?any help will be appreciated,thanks!