-->
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: dynamic Table creation
PostPosted: Fri Mar 30, 2007 6:09 am 
Newbie

Joined: Fri Mar 30, 2007 5:29 am
Posts: 6
Hi,

Hibernate version: 3.2.2
Database: MySQL version: 5.0.27

I have a huge excel table which I would like to insert in a db. There is a lot of information on that excel file. Depending on the criteria, the info is written in a different tables.

Every table has a different name but the same schema, so I though to use one single POJO as my model for the table.

Is it possible to tell hibernate to create the table and at the same time it will update the mapping file? May be is SchemaUpdate or SchemaExport a solution?

I want to find a nice way to auto create tables using a predefined model using hibernate3. I would like to use hibernate as my default JPA in my project, that's way I am looking to find a way to do that.

Any Ideas or comments :-))

Jero


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.