I tried to create a simple table with 2 bigint and 1 varchar(2) fields, and 
test the hbm file with NHibernate.  Basically, it contains a <composite-id> 
with 3 <key-property> elements, with the string field having length=2. 
 Running the test while stepping through the NHb code, I verified that it 
is ignoring the length attribute and creates the field as varchar(255).

I only started 3 days ago on Nhibernate so I am just depending on online 
samples and documentation, but I couldn't figure out how to fix this.  I'm 
going to use a workaround just for this entity temporarily (single Id for 
NHb + unique constraint + index table on backend).  I hope you can help me 
find a fix or a better workaround. :)

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/VKq4T_LutgkJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to