[nhusers] Re: DB comments and description in NHibernate

2009-03-26 Thread Ken Egozi
afaik, Description is not available on all main RDBMS, thus NH is not supporting it. On Thu, Mar 26, 2009 at 11:47 AM, Utopico jardar.maa...@gmail.com wrote: I am working on a project where the database should be documented. I am looking for a way to use hibernate to define this in

[nhusers] Re: DB comments and description in NHibernate

2009-03-26 Thread Dario Quintana
Should be something like this in hbm-language To a table: class name=Customer comment my customer comment here/comment ... /class To a column: property name=Name column name=Name commentMy Name comment here /comment /column /property You should extrapolate this to those

[nhusers] Re: DB comments and description in NHibernate

2009-03-26 Thread Utopico
So it is a feature in the hbm-languague definition but not as attributes? If so is it possible to add this feature to the attributes in an easy way? On 26 Mar, 13:09, Dario Quintana conta...@darioquintana.com.ar wrote: Should be something like this in hbm-language To a table: class

[nhusers] Re: DB comments and description in NHibernate

2009-03-26 Thread Dario Quintana
I didn't say that.Since NHMA use the mapping schema to generate the attributes, the option should be there. Maybe after the definition maybe your class will be having more metadata than code. On Thu, Mar 26, 2009 at 10:21 AM, Utopico jardar.maa...@gmail.com wrote: So it is a feature in the