-->
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: Can Auto Create Table if the table is missing
PostPosted: Mon Feb 19, 2007 5:12 pm 
Newbie

Joined: Tue Feb 06, 2007 5:59 pm
Posts: 14
Can Hibernate Auto create table when the whole table is missing (maybe for Application setup)
OR we must write SQL script to create database / table ?

Thanks

_________________
www.pakmailmarkham.ca
www.digitmind.com
www.fineartcollectors.com


Top
 Profile  
 
 Post subject: auto create
PostPosted: Wed Feb 21, 2007 6:45 am 
Beginner
Beginner

Joined: Thu Feb 08, 2007 11:11 am
Posts: 24
Location: India
hibernate can auto create table..........

just set the property in hebernate.cfg. file as below :

[b]<property name="hbm2ddl.auto">update</property>[/b]

u can set it 'create' too.


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.