Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Partition - id on new entities?
Partition - id on new entities? [message #754920] Fri, 04 November 2011 23:12 Go to next message
Eclipse UserFriend
I been using JPA since 1.0 (hibernate I must admint...) so,
How to handle new entities's IDs in an horizontal patitioned entities?

For example, I always use a sequence, in partitioned entities how I should do that?
Re: Partition - id on new entities? [message #755232 is a reply to message #754920] Mon, 07 November 2011 13:26 Go to previous message
Eclipse UserFriend
How are you partitioning your entities? Are you using EclipseLink's partitioning support?

You don't need to partition the sequence object, just define it on one database and have all ids allocated from there (use a large preallocation size to improve performance).
Previous Topic:Custom sequence
Next Topic:Compare two EntityManagerFactories for having PersistenceUnits with identical connection attributes
Goto Forum:
  


Current Time: Sat Jul 12 15:14:20 EDT 2025

Powered by FUDForum. Page generated in 0.03776 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top