How to use JPA in IntelliJ

I am getting ready to start experimenting with JPA. What facets do I need to create? Do I need to get my libraries seprately, etc? Any known bugs?

1 comment

Hello Norris,

JPA facet is enough if persistence.xml is in ROOT/META-INF folder.
Descriptor editor is unavailable at the moment therefore
custom path for persistence.xml can be configured in EJB facet.
This is a temporary workaround.

Regards,
Gregory Shrago


Norris Shelton wrote:

I am getting ready to start experimenting with JPA. What facets do
I need to create? Do I need to get my libraries seprately, etc?
Any known bugs?

0

Please sign in to leave a comment.