Hibernate version:1.0.2.0
Hi,
I'd like to use the column-length definition of the database to set the MaxLength of textboxes. How can I do this?
Using things like
The way via "GetConfiguration.GetClassMapping(typeof(thisClass)).GetProperty("ThisProperty")..." does not work?
I found a property "length" inside the property-object (GetConfiguration.GetClassMapping(typeof(ThisTable/Object)).GetProperty("ThisColumn/Property").Type.StringType.base.base.SqlType.length) , but this is allways zero????
Does someone has a hin for me?
Thank you and best regards
Markus
|