-->
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: How can I create a table in DB through Hibernate?
PostPosted: Wed Oct 26, 2005 6:01 am 
Newbie

Joined: Tue Oct 25, 2005 10:13 am
Posts: 1
hi,

i want to create a table throws hibernate. How can I create a table?
Please give me reply for this question by mail

my mail-id : rajugiragani@gmail.com

Regards,

Raju


Top
 Profile  
 
 Post subject: hbm2ddl
PostPosted: Wed Oct 26, 2005 6:23 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
hibernate.hbm2ddl.auto Automatically export schema DDL to the database when the SessionFactory is created. With create-drop, the database schema will be dropped when the SessionFactory is closed explicitly.

eg. update | create | create-drop

http://www.hibernate.org/hib_docs/v3/re ... n-optional

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


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.