| .. | .. |
|---|
| 2 | 2 | <persistence version="2.0" |
|---|
| 3 | 3 | xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|---|
| 4 | 4 | xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> |
|---|
| 5 | | - <persistence-unit name="localdb" > |
|---|
| 5 | + <persistence-unit name="localdb" transaction-type="RESOURCE_LOCAL"> |
|---|
| 6 | 6 | <description>SeCuris LocalDB</description> |
|---|
| 7 | 7 | <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> |
|---|
| 8 | 8 | <non-jta-data-source>java:comp/env/SeCurisDS</non-jta-data-source> |
|---|