-->
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.  [ 1 post ] 
Author Message
 Post subject: DDL generation using JPA with Derby: unique constraints
PostPosted: Mon Nov 23, 2009 4:54 pm 
Newbie

Joined: Mon Nov 23, 2009 3:47 pm
Posts: 4
It looks like Hibernate 3 tools for DDL schema generation (hbm2ddl) do not fully support Derby when a JPA model is used. Is it the case?

@UniqueConstraint applied to a @Table is ignored completely in the resulting DDL when DerbyDialect is used. On the other hand, using for example MySQL dialect does create unique clauses in the table declaration for the same JPA model.

Derby is listed as "tested with and is believed to be compatible" with Hibernate.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.