fluent-nhibernate icon indicating copy to clipboard operation
fluent-nhibernate copied to clipboard

PostgreSQL Schema Name ToLower

Open sublime93 opened this issue 10 years ago • 1 comments

If a user has created a schema in posgres that has an upper case letter in it fluent will not see it as it seems to mark the mapped schema name to lower variant.

The following exception is thrown when i have a schema name of "Internal". Within my map class i have also specified Schema("Internal");

{"An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail.\r\n\r\n"}

Inner Exception: {"ERROR: 3F000: schema \"internal\" does not exist"}

If i change the schema name within postgres to "internal" it works fine.

sublime93 avatar Feb 23 '15 17:02 sublime93

Can you post full code that reproduces this problem? I'll look into the code, but I'd like to be sure that after making some changes we don't break compatibility with other databases

chester89 avatar Mar 01 '15 09:03 chester89