Filipe wrote:



Hello,

is there a way to get the length property from the mapping file using
the ClassMetadata?

I needed that but I haven't found a way, so I wrote a patch against
2.1.6 that adds a getLength(String property_name) to classMetadata.

Actually the length attribute points to the column element, not the property.
So having getLength(property_name) should be able to return multiple results : one property may have multiple columns.



So I ask you: do you have any interest in this patch? If yes, I send it to the list. or exists an easy way to get the length of a property?

bye.

filipe lautert

[EMAIL PROTECTED]
Linux User    #279798
ICQ        #158808406

There's No Place Like /home


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel



-- Emmanuel Bernard 01.55.21.52.14 Fnac - DSI Direction France - Nouvelles technologies 67, boulevard du Gal Leclerc 92612 Clichy Cedex




-- Emmanuel Bernard 01.55.21.52.14 Fnac - DSI Direction France - Nouvelles technologies 67, boulevard du Gal Leclerc 92612 Clichy Cedex



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to