-->
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: How can I add the storage clause to the generated ddl
PostPosted: Tue Feb 22, 2005 3:20 pm 
Newbie

Joined: Tue Feb 22, 2005 2:53 pm
Posts: 1
Does Hibernate provide a way to include a storage clause for tables which are generated by the hbm2ddl mapping tool?

I am using
hibernate version 2.1.8
hibernate mapping tools version 2.1.3
Oracle 9i
and the Oracle9Dialect

I would like to be able to specify the tablespace, initial storage allocation, max and min extents, logging options, etc.
[/b]

_________________
Drew Terry


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 30, 2005 4:56 am 
Newbie

Joined: Tue Aug 23, 2005 12:05 pm
Posts: 7
Did someone give you an answer ?

Because I have the same problem, also using Oracle (10g):
I would like to specify in my mapping files in which tablespace to store each table, but I did not find any information about it.

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 30, 2005 5:27 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Export your DDL to a file, hand-edit the file before executing it. Obviously you don't need to re-run hbm2ddl all the time on your production database. And for development you don't need to tune the storage.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 30, 2005 5:31 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
dont think so. patches welcome...

_________________
Max
Don't forget to rate


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.