dashboard
repositories
activity
search
login
common
/
securis
summary
reflog
commits
tree
compare
forks
blame
|
history
|
raw
|
HEAD
#2021 fix - Added MySQL support and bugfixing on angular and url's
rsanchez
2014-11-14
1371dd17f28f3342d02383df8f80e152c0cdd995
[common/securis.git]
/
securis
/
src
/
main
/
resources
/
META-INF
/
persistence.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<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="localdb" transaction-type="RESOURCE_LOCAL">
<description>SeCuris LocalDB</description>
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
<!-- <jta-data-source>java:comp/env/jdbc/SeCurisDS</jta-data-source>
-->
<!-- <class>net.curisit.securis.db.UserSettingsUnits</class> -->
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5Dialect" />
<property name="hibernate.connection.datasource" value="java:comp/env/jdbc/SeCurisDS" />
<property name="hibernate.show_sql" value="true" />
</properties>
</persistence-unit>
</persistence>