jpa:hibernate
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
jpa:hibernate [2019/01/27 20:07] – odefta | jpa:hibernate [2019/01/27 20:11] – odefta | ||
---|---|---|---|
Line 19: | Line 19: | ||
=== Migrating from Hibernate API to JPA === | === Migrating from Hibernate API to JPA === | ||
- | If we have a pure Hibernate API project, we can use the existing configuration file in a new JPA project. | + | If we have a pure Hibernate API project, we can use the existing configuration file in a new JPA project.\\ |
Add in persistence.xml the property **hibernate.ejb.cfgfile** | Add in persistence.xml the property **hibernate.ejb.cfgfile** | ||
< | < | ||
- | < | + | < |
- | xmlns: | + | xmlns=" |
- | xsi: | + | |
- | http:// | + | |
- | version=" | + | |
+ | | ||
+ | > | ||
< | < | ||
< | < |
jpa/hibernate.txt · Last modified: 2023/07/04 19:36 by 127.0.0.1