-->
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.  [ 3 posts ] 
Author Message
 Post subject: Generate XML by meet in the middle
PostPosted: Wed Aug 11, 2004 2:23 am 
Newbie

Joined: Sun May 30, 2004 9:01 am
Posts: 7
Hibernate version: 2.1.4

We have tables in database already created, and object from our design
we need tool to match the the tables and Objects to generate XML file.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 11, 2004 4:29 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
There is no tool to match existing Java to existing Database and generate the hbms. You could start from one side, eg, database using Middlegen then modify the hbms appropriately. Alternatively, you could use Xdoclet but it would likely turn out to be more work than modifying HBMs in the short term.


Top
 Profile  
 
 Post subject: Generate XML by meet in the middle
PostPosted: Tue Oct 05, 2004 4:25 pm 
Newbie

Joined: Thu Jul 22, 2004 11:23 am
Posts: 14
Hi,

I've actually been doing this "meet in the middle" bit, only because my org's process pretty much requires it [don't ask.. :-)] but it really has n't been that bad. I was part of the team that designed the schema, so i had some control over the design, and also designed he object model, and then just marked up he POJOs to recreate the schema, using the schema export to make sure it generated the schema we designed. I've had very little trouble and have been able to generate the exact schema we noegotiated with the other folks involved. It would have been better to just do a clean room style impl, but due to our mandasted process I'm not allowed to execute DDL statements so i had no choice. In any event, it's a bit of a paion, but not too bad. Note that we have few if any structues that xdoclet won't handle however. if you do, it might be a lot worse...

good luck!

-=j=-


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.