Re: trying to run JPA Console inside Intellij IDEA results in this....

2016-09-22 Thread Marc Logemann
Just looking around in OpenJPA code i wonder why my enhanced Distribution.class is calling the ProxySetupStateManager.providedIntField() Method (which always throws Exceptions) instead of calling StateManagerImpl.class method. I am really wondering if nobody is using OpenJPA in the JPA console

Re: trying to run JPA Console inside Intellij IDEA results in this....

2016-09-22 Thread Marc Logemann
Compiled from "Distribution.java" public class de.netversys.domain.Distribution extends de.netversys.domain.AbstractEntity implements org.apache.openjpa.enhance.PersistenceCapable { So. Yes. it is enhanced. Same goes for other classes i checked. Must be something different. 2016-09-22 10:15

Re: trying to run JPA Console inside Intellij IDEA results in this....

2016-09-22 Thread Mark Struberg
oh another thing which makes me curious. IIRC then we only use the ProxySetupStateManager.java:230in case of subclassing if the entities did not get properly enhanced at all. This means you are not using build-time enhancement and also no javaagent. Can you please check the classfile? $>

Re: trying to run JPA Console inside Intellij IDEA results in this....

2016-09-22 Thread Mark Struberg
Yes, it contains the number of the field it has problems with as int. Counting of fields start with the uppermost entity class. The fild numbers get generated during enhancement. LieGrue, Strub > Am 21.09.2016 um 23:25 schrieb Marc Logemann : > > And when u look at