-->
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.  [ 3 posts ] 
Author Message
 Post subject: Problem with StatelessSession
PostPosted: Mon Sep 19, 2005 8:02 am 
Newbie

Joined: Mon Sep 19, 2005 7:49 am
Posts: 1
Hibernate version 3.1 beta 2 with DB2 version 8.2
I try to use the new StatelessSession and I think I found some bugs.

If you executeUpdate on a Query created for a StatelessSession the update is not executed and you get 0 back.
StatelessSessionImpl:169
//TODO
return 0;

If you try to insert a entity with ForeignGenerator you get a ClassCastException.

ForeignGenerator:37
Session session = (Session) sessionImplementor;


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 19, 2005 8:21 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Please report to JIRA with tests, thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 14, 2005 10:34 am 
Pro
Pro

Joined: Mon Jan 24, 2005 5:39 am
Posts: 216
Location: Germany
Here ist the JIRA-Issue:

http://opensource2.atlassian.com/projects/hibernate/browse/HHH-967

and the problem is still there in Hibernate 3.1 RC 1.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.