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:
Albert Lee 2008-03-27 16:56:05 +00:00
parent 315a348848
commit 1b8ccc6245
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -224,7 +224,7 @@ public class Compatibility {
* @since 1.1.0
*/
public boolean isStoreMapCollectionInEntityAsBlob() {
public boolean getStoreMapCollectionInEntityAsBlob() {
return _storeMapCollectionInEntityAsBlob;
}