I have some code that looks like
Code:
class NamingStrategy implements org.hibernate.cfg.NamingStrategy
{
public String classToTableName(String className)
{
getLogger().debug("className = " + className);
The problem is, the className that gets passed to me is not fully qualified with the package the class is in, and I need that information.
According to
http://java.dzone.com/articles/naming-strategy-hibernate?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+javalobby%2Ffrontpage+%28Javalobby+%2F+Java+Zone%29 the example code seems to imply that className should be fully qualified.
For my application I need to know the fully qualified className. Is there any other way to get it at this point during the mapping? Is this a bug in the Postgres provider I am using, is this some other problem, or is this really the way it is supposed to work?
Cheers, Eric