-->
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: PostgreSQL Dialect Drop ... Cascade
PostPosted: Mon Jan 12, 2004 12:39 pm 
Newbie

Joined: Mon Oct 13, 2003 4:45 pm
Posts: 12
I am certain this has been discussed before, but can not find a reference to how the problem is solved. I am using the PostgreSQL Dialect and have a server setup with postgresql 7.3.4. How do I get hibernate to send the "cascade" parameter to the drop statement when updating the database schema? (Preferrably without recompiling the source).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 12, 2004 12:53 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Extend PostgerSQLDialect and override getCascadeConstraintsString() should work i think


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 13, 2004 1:09 am 
Newbie

Joined: Mon Oct 13, 2003 4:45 pm
Posts: 12
I did not see it in the docs, but upgrading to 2.1.1 solves the problem as well. I originally was runing 2.0.1.

Thanks.


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.