Author: bdaw
Date: 2009-11-09 14:21:21 -0500 (Mon, 09 Nov 2009)
New Revision: 922
Modified:
idm/trunk/idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectAttribute.hbm.xml
idm/trunk/idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectCredential.hbm.xml
Log:
- different try for binary mapping
Modified:
idm/trunk/idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectAttribute.hbm.xml
===================================================================
---
idm/trunk/idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectAttribute.hbm.xml 2009-11-09
18:52:07 UTC (rev 921)
+++
idm/trunk/idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectAttribute.hbm.xml 2009-11-09
19:21:21 UTC (rev 922)
@@ -42,7 +42,7 @@
column="ATTR_VALUE"/>
</set>
<property name="binaryValue"
- type="binary"
+ type="clob"
access="field"
lazy="false"
not-null="true">
Modified:
idm/trunk/idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectCredential.hbm.xml
===================================================================
---
idm/trunk/idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectCredential.hbm.xml 2009-11-09
18:52:07 UTC (rev 921)
+++
idm/trunk/idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectCredential.hbm.xml 2009-11-09
19:21:21 UTC (rev 922)
@@ -13,9 +13,10 @@
<generator class="native"/>
</id>
<property name="binaryValue"
- type="binary"
+ type="clob"
access="field"
- lazy="false">
+ lazy="false"
+ not-null="true">
<column name="BINARY_VAL"
length="10240000" />
</property>
Show replies by date