Hi guys. We've recently started porting one of our project from SQLServer & 
Sybase ASE to Oracle. 

Our schema is a rather complex, tree-like schema, where Entities contain 
Components and some Components actually contain Entity references. 

Using normal automapping rules and GetComponentColumnPrefix we generate 
column names, we just add an "_" between property name and the actual 
Component proprerty name. Pretty basic.

However, we stumbled across a constraint on Oracle, where column names have 
to be <= 30 characters long. So I'm trying to find a way to shorten the 
generated column names in a way that NHib still works :S 

I've tried creating "aliases" for property names, something like the 3 
first chars + a numeric index to avoid name collisions, but then NHib can't 
seem to work properly on mapping Components anymore. I can save simple 
Entities but when I try to work with an Entity that contains Components i 
get the dreaded "error dehydrating property" Exception :S

Anyone done something like this before ? Any tips ? 

Thanks a lot,
Angelo

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fluent-nhibernate+unsubscr...@googlegroups.com.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
Visit this group at http://groups.google.com/group/fluent-nhibernate.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to