-->
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: hbm2ddl column ordering
PostPosted: Wed Jan 07, 2009 12:16 pm 
Beginner
Beginner

Joined: Fri Jan 16, 2004 4:58 pm
Posts: 37
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 3.3.1

Name and version of the database you are using: MySQL 5.1

I'm using the hibernate-tools ant task to generate my DDL from my annotated domain objects. The problem is that the columns are not always generated in the same order so it is wrecking havoc when we need to source in data of any kind since we are keeping out test data in SQL files.

Is there a way to force it to use the same column ordering every time? Is this a bug?

Thanks for any suggestions

_________________
Gregg Bolinger
Javaranch Sheriff
Weblog


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 07, 2009 12:19 pm 
Beginner
Beginner

Joined: Fri Jan 16, 2004 4:58 pm
Posts: 37
Just found this thread:

http://forum.hibernate.org/viewtopic.php?p=2396344

Was searching incorrectly for it before. I would still be curious if there has been any updates to this or if it is still a known limitation.

_________________
Gregg Bolinger
Javaranch Sheriff
Weblog


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.