I have created an enity which uses BaseGenericIdEntity and here i have created an embedded entity MvaKodePK. In this embedded entity i have created one attribute ID of type Integer.
Data is loaded normally into table and I am able to create an entity. But when I try to Edit the entity I get the following error? Table view and editor is generated by Cuba Studio. No modifications made by me.
IllegalArgumentException: You have attempted to set a value of type class java.lang.Integer for parameter entityId with expected type of class no.sw.regnskap.entity.generic.MvaKodePK from query string select e from regnskap$MvaKode e where e.id = :entityId.