How to instantiate an Embeddable class?

I was right about the import..

When i was trying to do:

User.UserPK userpk = new User.UserPK();

It was failing because i had an import like this one:;

What I did to solve it it’s let the import like this:;

It allowed me to instantiate the class as an inner one.

Thanks for those who helped me.

Leave a Comment