Andromda/Hibernate generated this for a base Entity
private java.lang.Long id;
/**
*
*
* @hibernate.id
* generator-class="uuid.hex"
* column="ID"
* type="java.lang.Long"
*
* @hibernate.column
* name="ID"
* sql-type="BIGINT"
However uuid.hex returns 32 char String, whereas the id property is
defined as Long. Bug?
Will try tweaking HibernateEntity.vsl
29-Jul-2004 11:25:48
net.sf.hibernate.property.BasicPropertyAccessor$BasicSetter set
SEVERE: IllegalArgumentException in class:
net.starmap.cannonical.Entity, setter method of property: id
29-Jul-2004 11:25:48
net.sf.hibernate.property.BasicPropertyAccessor$BasicSetter set
SEVERE: expected type: java.lang.Long, actual value: java.lang.String
Exception:net.sf.hibernate.PropertyAccessException:
IllegalArgumentException occurred while calling setter of
net.starmap.cannonical.Entity.id
net.sf.hibernate.PropertyAccessException: IllegalArgumentException
occurred while calling setter of net.starmap.cannonical.Entity.id
--
Martin West
Head of Product Design and Development
http://www.star-map.net
+44(0)207 318 0308
+44(0)787 968 0096
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user