mirror of https://github.com/apache/openjpa.git
OPENJPA-417 - Change isStoreMapCollectionInEntityAsBlob() to getStoreMapCollectionInEntityAsBlob()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@641891 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
315a348848
commit
1b8ccc6245
|
@ -884,7 +884,7 @@ public class MappingRepository
|
|||
protected FieldStrategy handlerCollectionStrategy(FieldMapping field,
|
||||
ValueHandler ehandler, boolean installHandlers) {
|
||||
if (getConfiguration().getCompatibilityInstance()
|
||||
.isStoreMapCollectionInEntityAsBlob())
|
||||
.getStoreMapCollectionInEntityAsBlob())
|
||||
return null;
|
||||
if (installHandlers)
|
||||
field.getElementMapping().setHandler(ehandler);
|
||||
|
@ -899,7 +899,7 @@ public class MappingRepository
|
|||
ValueHandler khandler, ValueHandler vhandler, boolean krel,
|
||||
boolean vrel, boolean installHandlers) {
|
||||
if (getConfiguration().getCompatibilityInstance()
|
||||
.isStoreMapCollectionInEntityAsBlob())
|
||||
.getStoreMapCollectionInEntityAsBlob())
|
||||
return null;
|
||||
if (installHandlers) {
|
||||
field.getKeyMapping().setHandler(khandler);
|
||||
|
@ -1084,7 +1084,7 @@ public class MappingRepository
|
|||
return new ObjectIdValueHandler();
|
||||
}
|
||||
if (!getConfiguration().getCompatibilityInstance()
|
||||
.isStoreMapCollectionInEntityAsBlob()
|
||||
.getStoreMapCollectionInEntityAsBlob()
|
||||
&& val.isEmbeddedPC())
|
||||
return new ElementEmbedValueHandler();
|
||||
return null;
|
||||
|
|
|
@ -224,7 +224,7 @@ public class Compatibility {
|
|||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
public boolean isStoreMapCollectionInEntityAsBlob() {
|
||||
public boolean getStoreMapCollectionInEntityAsBlob() {
|
||||
return _storeMapCollectionInEntityAsBlob;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue