Is it possible to find a package name by a class name?
I need a package name because I would like to use it to set up table name in Hibernate NamingStategy. Perhaps you know other trick to optain this purpose?Code:
String className = "MyClass";
String packageName = SomeClass.SomeMethod(className);