-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: cann't get data from database
PostPosted: Tue Jun 28, 2005 1:32 am 
Newbie

Joined: Thu Jun 23, 2005 9:23 pm
Posts: 13
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!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.