-->
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.  [ 4 posts ] 
Author Message
 Post subject: org.hibernate.exception.GenericJDBCException: could not load
PostPosted: Thu Dec 21, 2006 4:47 pm 
Newbie

Joined: Fri Dec 15, 2006 5:49 pm
Posts: 16
org.hibernate.exception.GenericJDBCException: could not load an entity: [com.dao.hibernate.TaskItem#2486]


Last edited by SuperMan2000 on Fri Dec 22, 2006 1:26 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 21, 2006 5:01 pm 
Newbie

Joined: Thu Nov 23, 2006 5:00 pm
Posts: 19
The code has problem I think.
In the loop, you commit in each loop, but did not start transaction.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 21, 2006 5:49 pm 
Newbie

Joined: Fri Dec 15, 2006 5:49 pm
Posts: 16
your right the code had the problem.... but i dont understand when I get null values in comment field even though I dont have anything in the database


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 21, 2006 6:46 pm 
Newbie

Joined: Fri Dec 15, 2006 5:49 pm
Posts: 16
I have this data type that


<property name="comments" type="java.lang.String" column="comments"
length="30" />


but if i save my status to for example "Fixed" from the comments drop down list... it just saves "Fix" to the database in my database I have:


STATUS VARCHAR2(30)

whats going on


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

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.