Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2017-01-26 12:27:47 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
563c3de57eb65666d1f5173a8af40e7449d01a75
563c3de5
1 parent
08a842c5
Configuration persistence H2 (refactoring nommage)
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/resources/META-INF/persistence.xml
src/main/resources/META-INF/persistence.xml
View file @
563c3de
...
...
@@ -2,9 +2,9 @@
<persistence
version=
"2.0"
xmlns=
"http://java.sun.com/xml/ns/persistence"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
>
<persistence-unit
name=
"
book
-pu"
transaction-type=
"JTA"
>
<persistence-unit
name=
"
h2
-pu"
transaction-type=
"JTA"
>
<provider>
org.hibernate.jpa.HibernatePersistenceProvider
</provider>
<jta-data-source>
book
Database
</jta-data-source>
<jta-data-source>
H2
Database
</jta-data-source>
<exclude-unlisted-classes>
false
</exclude-unlisted-classes>
<properties>
<property
name=
"hibernate.hbm2ddl.auto"
value=
"create-drop"
/>
...
...
Please
register
or
login
to post a comment