I would like to use JPA annotations in ormlite. These annotations (e.g. @Entity or @Id) apply to the javax.persistence package, which is apparently not provided with ormlite. I could not allow JPA annotations, while individual annotations to create (e.g. @DatabaseTable) were approved. Do I need to download a third-party jar to get JPA annotations that work in ormlite?
I need to work only with ormlite + JPA.
When you look at http://ormlite.com/javadoc/ormlite-core/index-all.html , we can see that the JPA annotations are not documented and are not available, although they are described in the user manual.
Thank you very much in advance !!!
source share