-->
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: Reading DDL directly in Middlegen-Hibernate plugin
PostPosted: Fri Aug 13, 2004 5:14 am 
Newbie

Joined: Fri Aug 13, 2004 5:08 am
Posts: 3
Hi all,

I have managed to generate mapping files using the middlegen-hibernate plugin by connecting to my Oracle database. All is perfectly fine, except that Oracle returns all table and column names in all upper case.

As I wish to produce java files from the mapping files, mixed-case names is of course preferred.

My DDL file which generates the tables in Oracle contain the names with the correct casing.

Is it possible to make Middlegen read the DDL file, instead of connecting to the database?

Any help is greatly appreciated!

Regards
Niklas Gr


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 13, 2004 10:26 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Middlegen can only read from the database and thus cannot read a DDL file. Maybe this should be refactored so different front ends can be added to the generator.


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.