-->
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: @SqlDeleteAll Bug
PostPosted: Wed Jan 24, 2007 7:03 pm 
Newbie

Joined: Wed Jan 24, 2007 6:45 pm
Posts: 2
Hibernate version:3.2.1GA

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:MSSQL (N/A)

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:

Issue:
Hibernate Annotations for @SqlDeleteAll when applied to Collections

CollectionBinder is not assigning the sql statement to the "setCustomSQLDeleteAll" but rather the "setCustomSQLDelete"

CollectionBinder.java line 361-370.

this prevents the execution of col.clear() method on the collection where all elements are removed.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 24, 2007 7:23 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Open a JIRA issue please, I need to fix that

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 25, 2007 11:22 am 
Newbie

Joined: Wed Jan 24, 2007 6:45 pm
Posts: 2
Issue Created

http://opensource.atlassian.com/projects/hibernate/browse/ANN-544


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 29, 2007 3:59 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
thanks

_________________
Emmanuel


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.