-->
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.  [ 2 posts ] 
Author Message
 Post subject: "on delete set null"?
PostPosted: Mon Nov 21, 2005 7:14 pm 
Beginner
Beginner

Joined: Tue Jun 14, 2005 12:14 pm
Posts: 37
Hi all,

I have read through the reference and HIA book, but, I still don't see how I can specify this common database foreign key constraint "on delete set null".

Is this doable in Hibernate? My issue is I rely on hbm.xml files to generate my schema, so is there any way to "inject" this in?

Thanks in advance!
Liem


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 21, 2005 8:13 pm 
Beginner
Beginner

Joined: Tue Jun 14, 2005 12:14 pm
Posts: 37
Anyone ran into this problem before? I have a hacky solution, but, well, it is a hack and I don't like it :)


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