-->
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: Specify constraint names for SchemaExport
PostPosted: Wed Mar 09, 2005 1:23 pm 
Newbie

Joined: Thu Feb 17, 2005 7:54 am
Posts: 3
Hibernate version: 2.1.2
Underlying Database: MS Sql Server

I am wanting to know if there is any way to name the constraints, specified by the unique and unique-key attributes in the mapping file, when using the ExportSchema task.

We are wanting to use the ExportSchema task to create an initial database schema, however the use of default constraint names may cause problems should we need to update these constraints via a script once the database has been initialised.

Any help would be appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2005 10:21 pm 
Regular
Regular

Joined: Fri Oct 01, 2004 2:19 am
Posts: 111
Location: Melbourne, Australia
Does anyone know whether this is possible?

I had a look at NamingStrategy, but it does not have this as part of
the interface.

_________________
Cheers,

Bonny

please don't forget to rate :)


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.