-->
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.  [ 4 posts ] 
Author Message
 Post subject: DDL Statements Support in Hibernate ???
PostPosted: Mon Aug 11, 2008 1:15 am 
Newbie

Joined: Sat Aug 09, 2008 6:39 am
Posts: 3
Hi,

Does Hibernate support DDL(Data Definition Language) statements like Create table, Alter table, drop table?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 11, 2008 3:42 am 
Expert
Expert

Joined: Thu Jul 05, 2007 9:38 am
Posts: 287
yes

_________________
Please rate useful posts.


Schauderhaft: Softwaredevelopment, Projectmanagement, Qualitymanagement and all things "schauderhaft"


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 12, 2008 1:26 am 
Newbie

Joined: Sat Aug 09, 2008 6:39 am
Posts: 3
Could you give me the documentation or sample examples for the same ?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 12, 2008 3:27 am 
Expert
Expert

Joined: Thu Jul 05, 2007 9:38 am
Posts: 287
Sure, but it really depends on what you want to do.

- Do you want Hibernate to create the schema for your Application?
http://www.hibernate.org/hib_docs/core/ ... etguide-s1

- Do you want to execute arbitrary DLL? Just use JDBC
http://www.jroller.com/rajasekar/entry/ ... n_from_jpa

- I guess you also could create Objects representing the tables (not the content) thus a flush would result in a create table / alter table / drop table instead of insert /update /delete. I'll simple assume you don't want to do that since I currently don't know where to find information about such an aproach

_________________
Please rate useful posts.


Schauderhaft: Softwaredevelopment, Projectmanagement, Qualitymanagement and all things "schauderhaft"


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