Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Correct usage of Partitioning annotations
Correct usage of Partitioning annotations [message #1100799] Tue, 03 September 2013 15:56
Christoph Smaul is currently offline Christoph SmaulFriend
Messages: 7
Registered: April 2012
Junior Member

I am using the Partitioning feature and I have two questions about the correct usage:

1. I defined a Partitioning in my root entity class that I only use for setting it as the default partitioning in my persistence.xml("eclipselink.partitioning"). This works fine, except for the warning messages "@Partitioning found on the element class [...] of class [...], but no @Partitioned.". I am also planning to use some of the PartitioningPolicies only per query hint and I assume that this will also cause warnings. Is there a misconception on my side?

2. Is there any way to define multiple Partitionings of the same type in a single class (only define the Partitioning, not assigning it the to the class)? Since it is not allowed to have the same annotation multiple times on one class and there's no wrapper annotation like @Partitionings, I would have to spread my Partitioning annotations across totally unrelated entities.

[Updated on: Tue, 03 September 2013 16:14]

Report message to a moderator

Previous Topic:Eclipselink REST 404 responce code
Next Topic:EclipseLink Error Message 207
Goto Forum:

Current Time: Sun Feb 18 20:27:57 GMT 2018

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

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