Hi All,
I am using 2.1.7, and I am setting the ImprovedNamingStrategy on my session factory. When I run the debug, however, I get
net.sf.hibernate.cfg.Binder.bindProperty(Binder.java:487)
DEBUG 2005-01-06 13:12:26,396 [main] - Mapped property: noExportCommunity -> noExportCommunity, type: string
OK, thanks for all the help. You know how sometimes just telling others the problem leads to a solution?
Well, the above happens if you set the naming strategy _after_ you add the classes to be mapped. If I set the naming strategy before (like, if you cut and paste the example) then it works fine.
Is this a bug? I would expect to have to set the naming strategy before the session factory is built, but it's not clear at all that it is order dependant with the mapping files.
Chris
|