Of course, I didn't even consider that the NamingStrategy was implemented in the dot dot release. I found the interface, but there's still another problem:
The docs say I can do this . . .
SessionFactory sf = new Configuration()
.setNamingStrategy(ImprovedNamingStrategy.INSTANCE)
.addFile("Vertex.hbm.xml")
.addFile("Edge.hbm.xml")
.buildSessionFactory();
But the implementation of .setNamingStrategy is this . . .
public void setNamingStrategy(NamingStrategy namingStrategy) {
this.namingStrategy = namingStrategy;
}
It doesn't return a Configuration. I'll workaround for now.
best,
jk
|