Hi All
I have the following question. If I define an ID and a Version for an oracle database, NHibernate creates columns with datatype NUMBER(10,0). What I want is, that the columns have the datatype NUMBER(6,0).
However, this can be done with the key 'CustomSqlType = NUMBER(6)'.
But then also I have references, which point to the other tables IDs. Unfortunately the references do not have a key 'CustomSqlType'.
How can I set the sql datatype for references ? Or Is there any way to set the default sql datatype for IDs and Version, which also apply to references, say I want to define the default datatype NUMBER(6), which is then used if I defined a reference?
Thank you Thomas
|