rmannibucau commented on code in PR #144:
URL: https://github.com/apache/openjpa/pull/144#discussion_r3426807128


##########
openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCStoreManager.java:
##########
@@ -467,8 +467,16 @@ private void setInverseRelation(OpenJPAStateManager owner,
                             continue;
                         }
                         OpenJPAStateManager sm = (OpenJPAStateManager) 
pc.pcGetStateManager();
-                        ClassMapping cm =
-                                (ClassMapping) 
_conf.getMetaDataRepositoryInstance().getCachedMetaData(pc.getClass());
+                        if (sm == null) {

Review Comment:
   wonder if these null cases shouldn't throw, means enhancement is broken or 
setup (agent) is broken no?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to