PageRenderTime 60ms CodeModel.GetById 33ms app.highlight 1ms RepoModel.GetById 24ms app.codeStats 0ms

/Aras1/src/conf/persistence.xml

http://aras.googlecode.com/
XML | 21 lines | 21 code | 0 blank | 0 comment | 0 complexity | 2be0cd6da416b9e068a993265d82c2e8 MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8"?>
 2<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">
 3  <persistence-unit name="ArasPU" transaction-type="RESOURCE_LOCAL">
 4    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
 5    <class>entity.Absensi</class>
 6    <class>entity.Kelas</class>
 7    <class>entity.Pengguna</class>
 8    <class>entity.Periode</class>
 9    <class>entity.Semester</class>
10    <class>entity.Siswa</class>
11    <class>entity.Laporan</class>
12    <exclude-unlisted-classes>false</exclude-unlisted-classes>
13    <properties>
14      <property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/aras"/>
15      <property name="javax.persistence.jdbc.password" value=""/>
16      <property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"/>
17      <property name="javax.persistence.jdbc.user" value="root"/>
18      <property name="eclipselink.ddl-generation" value="create-tables"/>
19    </properties>
20  </persistence-unit>
21</persistence>