Hi support
I have created an entity with some attributes related to other entities mapped by assotiotions (many-to-one).
But now when I wnat to create just a simple attribute like ‘sheet_name’ defined as string, the following error occurs on opening the editor screen:
javax.persistence.PersistenceException: Exception [EclipseLink-7329] (Eclipse Persistence Services - 2.7.3.2-cuba): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Attribute sheet_name of FetchGroup(){deleteTs, id, sheet_name, version, deletedBy} is not mapped.
at org.eclipse.persistence.internal.jpa.QueryImpl.getResultList(QueryImpl.java:493) ~[org.eclipse.persistence.jpa-2.7.3-2-cuba.jar:na]
at com.haulmont.cuba.core.sys.QueryImpl.getResultFromCache(QueryImpl.java:715) ~[cuba-core-7.0.4.jar:7.0.4]
at com.haulmont.cuba.core.sys.QueryImpl.getResultList(QueryImpl.java:372) ~[cuba-core-7.0.4.jar:7.0.4]
at com.haulmont.cuba.core.app.RdbmsStore.executeQuery(RdbmsStore.java:756) ~[cuba-core-7.0.4.jar:7.0.4]
at com.haulmont.cuba.core.app.RdbmsStore.getResultList(RdbmsStore.java:664) ~[cuba-core-7.0.4.jar:7.0.4]
at com.haulmont.cuba.core.app.RdbmsStore.loadList(RdbmsStore.java:225) ~[cuba-core-7.0.4.jar:7.0.4]
at com.haulmont.cuba.core.app.DataManagerBean.loadList(DataManagerBean.java:74) ~[cuba-core-7.0.4.jar:7.0.4]
at com.haulmont.cuba.core.app.DataServiceBean.loadList(DataServiceBean.java:54) ~[cuba-core-7.0.4.jar:7.0.4]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_91]
Could you help me here?
Thanks
Thomas