All:
I'm working on an application that must support a number of database back-ends. I have a number of situations where a mapping that works fine in one database yields errors in another becuase a POJO property name is a reserved word in one database but not another.
I expected to see a means to handle this with a Dialect change, but it doesn't. I can do it with a Dialect-dependant NamingStrategy, but there doesn't seem to be a way to tie the two together.
Further, NamingStrategy does not appear to be configurable. I can only change it in code.
Has anyone else run into this issue? If so, any suggestions?
[Using hibernate 2.1.4]
Regards,
Rich
|