problems with EL 2.6.1 Exception [EclipseLink-7329] "attribute not mapped"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

problems with EL 2.6.1 Exception [EclipseLink-7329] "attribute not mapped"

markus hahn

Hi,

moving to EL 2.6.1 we encounter some problems with mappings which ran with former EL versions.

 

For something like

 

  <orm:entity class="CompanyUserAuthorization" cacheable="false">

    <orm:table name="BUYING.AMUSERAUTHORIZATION" />

    <orm:discriminator-value>5</orm:discriminator-value>

    <orm:discriminator-column name="ID_DISCRIMINATOR"

      type="NUMBER" />

    <orm:inheritance strategy="SINGLE_TABLE" />

    <orm:attributes>

      <orm:one-to-one name="company">

        <orm:join-column name="OBJECTID" nullable="false" />

      </orm:one-to-one>

    </orm:attributes>

  </orm:entity>

 

 

I see an ValidationException (7329)

<<<< 

Exception [EclipseLink-7329] (Eclipse Persistence Services - 2.6.1.v20150916-55dc7c3): org.eclipse.persistence.exceptions.ValidationException

Exception Description:

Attribute company of CopyGroup()(depth = CASCADE_TREE, reset key = false, reset version = false)

{role => {class java.lang.Object=CopyGroup(role)(depth = CASCADE_TREE, reset key = false, reset version = false)

{versionTimestamp, permissions => {class java.lang.Object=CopyGroup(permissions)(depth = CASCADE_TREE, reset key = false, reset version = false)

{versionTimestamp,

authorizationTypes => {class java.lang.Object=CopyGroup(authorizationTypes)(depth = CASCADE_TREE, reset key = false, reset version = false)

{parent => {class java.lang.Object=CopyGroup(parent)(depth = CASCADE_TREE, reset key = false, reset version = false)

{code, versionTimestamp, description, id}}, code, versionTimestamp, description, id}},

application => {class java.lang.Object=CopyGroup(application)(depth = CASCADE_TREE, reset key = false, reset version = false)

{name, description, id, enumName}}, name, description, id,

neededRole => {class java.lang.Object=CopyGroup(neededRole)(depth = CASCADE_TREE, reset key = false, reset version = false)

{versionTimestamp, name, description, disabled, id}}}}, name, description, disabled, id,

neededRole => {class java.lang.Object=CopyGroup(neededRole)(depth = CASCADE_TREE, reset key = false, reset version = false)

{versionTimestamp, name, description, disabled, id}}}}, versionTimestamp,

company => {class java.lang.Object=CopyGroup(company)(depth = CASCADE_TREE, reset key = false, reset version = false){name, id}}, id,

operator => {class java.lang.Object=CopyGroup(operator)(depth = CASCADE_TREE, reset key = false, reset version = false)

{ocnGuid, firstName, versionTimestamp, surName, loginName, ekrUserName, ynActive, ldapUniqueQualifier, id, userName, email, employeeNumber}}} is not mapped.

>>>> 

 

There similar exceptions in similar cases.

We use orm.xml throughout our applications.

 

Any hints?

 

Regards, Markus

 


_______________________________________________
eclipselink-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipselink-users
Loading...