mirror of https://github.com/apache/openjpa.git
Fixed bug I introduced with new configuration setting earlier.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567904 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ebcec6e55b
commit
fb1c554c4b
|
@ -214,9 +214,10 @@ public class ImplHelper {
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public static boolean isManagedType(OpenJPAConfiguration conf, Class type) {
|
public static boolean isManagedType(OpenJPAConfiguration conf, Class type) {
|
||||||
return (PersistenceCapable.class.isAssignableFrom(type) || conf == null)
|
return (PersistenceCapable.class.isAssignableFrom(type)
|
||||||
|| (type != null && conf.getRuntimeClassOptimization()
|
|| (type != null
|
||||||
&& PCRegistry.isRegistered(type));
|
&& (conf == null || conf.getRuntimeClassOptimization())
|
||||||
|
&& PCRegistry.isRegistered(type)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue