|Bug for replication partition policy in XML configuration [message #1119061]
||Sat, 28 September 2013 02:52
| Oliver Zhou
Registered: February 2012
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.
Powered by FUDForum
. Page generated in 0.01726 seconds