Skip to content

@Access(AccessType.PROPERTY) support #1040

@jvmlet

Description

@jvmlet

Hello
My entity is configured with @Access(AccessType.PROPERTY), i.e.

@Access(AccessType.PROPERTY)
public class MyEntity{

private String id;

   @Id
    @GeneratedValue
    public String getId(){
     return id;
   }

   public void setId(String id){
     this.id=id;
   }
}

When trying to persist such entity, I'm getting

com.impetus.kundera.validation.rules.RuleValidationException: xxx.yyy.MyEntity must have an @Id field.

Is @Access(AccessType.PROPERTY) supported ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions