Hi,
I have tried to use Jdbm and according to posts in:
http://lists.ops4j.org/pipermail/qi4j-dev/2009-June/005406.html
tried to fix entitystore-preferences to pass the tests and it seems that
there is a problem with either AbstractValueType hierarchy:
org.qi4j.runtime.types.DateType extends AbstractStringType and does not
override isString method() so isString return true;
or with PreferencesEntityStoreMixin:
line 412 PreferencesEntityStoreMixin.java:
else if( propertyType.type().isString() )
{
propsPrefs.put( propertyType.qualifiedName().name(), (String)
value );
}
propertyType.type() is of DateType type and (String) value throws cast
exception as value is of Data type. So the solution depends on if DataType
should return true for isString().
BTW.
I do not understand why *configuration* persistence is required for Jdbm
persistence to work.
Jacek
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev