In Hibernate2 you can get access to this kind of stuff via the Configuration object (not from the Sessionfactory, since these things are not used at runtime).
Ken Robinson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent by: cc: [EMAIL PROTECTED] Subject: [Hibernate] ClassMetadata eforge.net 12/02/03 12:38 PM Hi there, Looking throught the hibernate-mapping-1.1 dtd I noticed that the property element has a property called length. I'm assuming this can be used to indicate the size of the underlying column. From ClassMetadata I can get to the property names and types, but there doesn't seem to be any way to get at the length values. I need those values and I'd rather not have to query the DatabaseMetadata to get them. Any suggestions? Thanks, Ken ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel ********************************************************************** Any personal or sensitive information contained in this email and attachments must be handled in accordance with the Victorian Information Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988 (Commonwealth), as applicable. This email, including all attachments, is confidential. If you are not the intended recipient, you must not disclose, distribute, copy or use the information contained in this email or attachments. Any confidentiality or privilege is not waived or lost because this email has been sent to you in error. If you have received it in error, please let us know by reply email, delete it from your system and destroy any copies. ********************************************************************** ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel