开发者

IllegalStateException: Cannot obtain inMethodFlag for: getPrimaryKey

开发者 https://www.devze.com 2022-12-20 03:34 出处:网络
Can anyone tell me why following exception comes? java开发者_开发百科.rmi.ServerException: RuntimeException; nested exception is:

Can anyone tell me why following exception comes?

java开发者_开发百科.rmi.ServerException: RuntimeException; nested exception is:
    java.lang.IllegalStateException: Cannot obtain inMethodFlag for: getPrimaryKey

How to avoid it?


According to the AllowedOperationsFlags API it will be thrown when the getPrimaryKey() has been called at a wrong time, e.g. during ejbCreate(). It's hard to suggest a solution without more context about your particular problem and/or a SSCCE.

0

精彩评论

暂无评论...
验证码 换一张
取 消