Re: how row-level security works?
Posted: Wed Sep 16, 2015 2:34 am
yes it is extended from ProductImpl.... for your reference here is my implementation
@Entity
public class MyProduct extends ProductImpl {
@ManyToOne(targetEntity = StoreImpl.class)
protected Store store;
public Store getStore() {
return store;
}
public void setStore(Store store) {
this.store = store;
}
}
@Entity
public class MyProduct extends ProductImpl {
@ManyToOne(targetEntity = StoreImpl.class)
protected Store store;
public Store getStore() {
return store;
}
public void setStore(Store store) {
this.store = store;
}
}