From: Martin W. <mar...@st...> - 2004-08-24 12:47:58
|
On Tue, 2004-08-24 at 12:28, Chad Brandon wrote: > -- Yep, thats a bug, it doesn't currently handle attributes of another > modeled class (just datatypes), on the other hand, why don't you make it = an > association instead of an attribute, but anyway it still should be able t= o I did have it that way, was attempting to dereference in terms of database = tables.=20 Have now remodelled and bypassed the problem > handle that, can you file it in jira? http://team.andromda.org:8080/jira/browse/HIB-10 > This was in the hibernate log > 2004-08-24 09:21:35,681 - > org.apache.velocity.runtime.exception.ReferenceException: reference : > template =3D templates/hibernate/HibernateEntity.vsl [line 111,column 18] > : $attribute.type.fullyQualifiedHibernateType is not a valid reference. > On Tue, 2004-08-24 at 09:40, Martin West wrote: > > I have two classes defined in MD A and B. A has an attribute of type B. > > The hibernate cartridge generates ... > > > > * @hibernate.property > > * column=3D"EFFECTIVE" > > * type=3D"$attribute.type.fullyQualifiedHibernateType" > > > > for the attribute of type B. > > > > I thought I had seen this reported before but a search doesnt show a > > similar problem. > > > > This on 3.0M2. > > > > --=20 Martin West Head of Product Design and Development http://www.star-map.net +44(0)207 318 0308 +44(0)787 968 0096 |