Hi, I've got a class called Order, and I want the table to have the same name. I tried <property name="hbm2ddl.keywords">auto-quote</property> but it doesn't work: it still tries to execute "create table Order .." which throws an error of course
Then I tried putting table="[Order]" in my mapping, and it worked fine. Except that SchemaUpdate now doesn't see the table and tries to recreate it. Last, I tried to use table="`Order" (which I gathered from code should autoquote my table), and now it executes "create table [Orde]" -- the last character missing. So, finally I tried table="`Order`", and everything worked fine. So, I think there's a bug in the auto-quote implementation, and also it is worth putting into the docs not to use square brackets, use reverse apostrophes instead. Btw I'm using the trunk code, checked out a few days ago.. ulu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
