谁能告诉我为什么会出现以下异常?
java.rmi.ServerException: RuntimeException; nested exception is:
java.lang.IllegalStateException: Cannot obtain inMethodFlag for: getPrimaryKey
如何避免?
最佳答案
根据AllowedOperationsFlags
API 当在错误的时间调用 getPrimaryKey()
时,例如在ejbCreate()
期间。如果没有关于您的特定问题和/或 SSCCE 的更多背景信息,很难提出解决方案。 .
关于java - 非法状态异常 : Cannot obtain inMethodFlag for: getPrimaryKey,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2250695/