-->
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: Define Oracle index name and referential integrity name
PostPosted: Wed Apr 12, 2006 11:01 am 
Newbie

Joined: Wed Apr 12, 2006 10:53 am
Posts: 1
Hi,

When we generate our schema through Hibernate we get a lot
of SYS_ objects in Oracle. How can you set/define your own name
for the following Hibernate hbm.xml definitions:

1. <key foreign-key ...
2. <key column ...
3. <id name ...
4. <composite-id ...

One example:
Instead of SYS_C00123509 which in this case is a composite
primary key, we want a constraint name similar to PK_TABLEXYZ.

Any help appreciated,

Regards Jonas.


Top
 Profile  
 
 Post subject: my 2 c
PostPosted: Wed Apr 12, 2006 3:55 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
It is better not to use H to generate DB schema, especially for production system.

http://forum.hibernate.org/viewtopic.php?t=950056

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


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.