-->
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: Is hbm2ddl mature enough to support following DDL operations
PostPosted: Tue Oct 17, 2006 9:04 am 
Newbie

Joined: Thu Oct 12, 2006 6:29 am
Posts: 4
Hi ,

Does Hibernate support following DDL statements :

RENAME COLUMN.
RENAME TABLE.
DROP COLUMN.
Changing length of existing COLUMN.
Changing datatype of existing COLUMN.
CREATE VIEW
DROP VIEW
TRUNCATE TABLE
DELETE FROM TABLE
DROP SEQUENCE
CREATE SEQUENCE
CREATE OR REPLACE TRIGGER
DROP TRIGGER
CREATE MATERIALIZED VIEW
DROP MATERIALIZED VIEW

Also is there any way to run stored procedure from hibernate.

Thanks in advance .
Any help is greatly appriciated.

Jainy


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 17, 2006 1:15 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
hibernate is not a tool for doing DDL.

hibernate has a part called schemaexport that creates a schema based on the mappings.

the docs explain how to run stored procedures

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 18, 2006 1:08 am 
Newbie

Joined: Thu Oct 12, 2006 6:29 am
Posts: 4
Thanks a lot Max.


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.