cls
. If cls
is an interface or an abstract class whose abstract methods follow the JavaBeans convention, this method will create a concrete implementation according to the metadata that defines the class. If cls
is a non-final concrete type that has metadata but does not implement {@link org.apache.openjpa.enhance.PersistenceCapable}, this method will create a subclass of the type that does implement {@link org.apache.openjpa.enhance.PersistenceCapable}, and will attempt to redefine the methods in cls
to enable persistent attribute tracking. Otherwise, this will return an instance of the specified class.
|
|
|
|
|
|