Hibernate version: 2.1.6
Hi all,
in
http://forum.hibernate.org/viewtopic.php?t=938516&highlight=persistentclass+getproperty
David showed a technique to resolve the mapped field length. As stated elsewhere in this forum, this technique works only for properties not in keys.
This technique will not work for a key-property in a composite id. The object returned by PersistentClass.getKey does not have something like PropertyClosureIterator as getPropertyClosureIterator returns, therefor one can only get Column iterator from the object returned by PersistentClass.getKey and the property information in the mapping is lost.
Any suggestion in solving this issue ? or maybe it is solved in version 3 ?
best regards