You wanted to know "..the best way to use the Java Persistence API to persist the generated classes". It's not clear at all what you are looking for. Java Persistence API is for object/relational mapping. Why should you use it for persisting generated classes?
It looks like you are not sure what you are looking for. |