-->
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: Hibernate and partition tables
PostPosted: Sun Apr 09, 2006 3:34 pm 
Beginner
Beginner

Joined: Sun Oct 16, 2005 12:37 pm
Posts: 47
Location: Romania, Galati
Can I use hibernate to implement someting equivalent with partition tables.

Supose that I have a master table named master_tbl and one partition table for each month of year. It pretty easy to build such tables (in postgresql or other rdbms), but I wanna make a aplication that do all that from hibernate framework, for portability. How can I do this?

Any idea?

Thx in advance.

Hibernate version:

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 09, 2006 8:39 pm 
Beginner
Beginner

Joined: Mon May 09, 2005 5:26 pm
Posts: 21
I'm not certain I fully understand your question (probably because I'm not a db guy), but it sounds like you're asking about inheritance. If so, the docs at:
http://www.hibernate.org/hib_docs/v3/reference/en/html/inheritance.html
should be a help. If not, then I apologize for misunderstanding the question.

-don.


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.