-->
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: Automatic FILL Oracle table when I compile program
PostPosted: Sat Sep 01, 2007 1:15 pm 
Newbie

Joined: Fri Aug 31, 2007 9:56 am
Posts: 6
I have Entity Bean,SessionBean and Persistant Unit.
In my persistant unit i choose option for drop-create table(Entuty Bean).

<property name="hibernate.hbm2ddl.auto" value="create-drop"/>


I need to fill some initial data in my table when I compile my program.

I use Oracle 9i.

Thanks in advanced.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 04, 2007 8:24 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
I think the file /import.sql is used by Hibernate at startup, check the doc.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 05, 2007 9:22 am 
Newbie

Joined: Fri Aug 31, 2007 9:56 am
Posts: 6
http://www.jroller.com/eyallupu/entry/h ... m2ddl_tool


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.