| Bug for replication partition policy in XML configuration [message #1119061] |
Fri, 27 September 2013 22:52  |
Oliver Zhou Messages: 41 Registered: February 2012 |
Member |
|
|
Hi,
ReplicationPartitionPolicy has an attribute called connection pools, it can work well in annotation, but in XML configuration, it doesn't work, and always send the query to all the connection pools.
After debug into the source code, I found
org.eclipse.persistence.internal.jpa.metadata.partitioning.ReplicationPartitioningMetadata.buildPolicy() method doesn't set the connection pools to ReplicationPartitioningPolicy object.
Best wishes,
Oliver
|
|
|
|
Powered by
FUDForum. Page generated in 0.01447 seconds