Hi list,

i'm new to Jackrabbit and just played around with orm-persistence and there with Hibernate. Could it be that i found a bug in HibernatePersistenceManager?

Shouldn't it read:

Index: HibernatePersistenceManager.java
===================================================================
--- HibernatePersistenceManager.java (revision 156775)
+++ HibernatePersistenceManager.java (working copy)
@@ -180,7 +180,7 @@
ByteArrayInputStream in = new ByteArrayInputStream(
ormBlobValue.getBlobValue());
try {
- BLOBFileValue blobValue = new BLOBFileValue(in);
+ InternalValue blobValue = InternalValue.create( new BLOBFileValue(in),PropertyType.BINARY, null );
internalValueList.add(blobValue);
} catch (Throwable t) {
throw new ItemStateException(



as later the interalValueList is stored in an array of type InternalValue[], and BLOBFileValue is not an InternalValue.


Or am i missing something?

Thanks,
Thomas

Reply via email to