serge, could you please verify and comment on that? it seems like thomas has found a bug in HibernatePersistenceManager.
thanks stefan ---------- Forwarded message ---------- From: Thomas Wegmueller <[EMAIL PROTECTED]> Date: Thu, 17 Mar 2005 16:18:27 +0100 Subject: Bug in HibernatePersistenceManager? To: [email protected] 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
