<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.2"
    xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd">
    <persistence-unit name="Hello">
        <class><!-- Entity Manager Class Name --></class>
        <properties>
            <property name="javax.persistence.jdbc.driver" value="oracle.jdbc.OracleDriver" />
            <property name="javax.persistence.jdbc.url" value="jdbc:oracle:thin:@//localhost:1522/xe" />
            <property name="javax.persistence.jdbc.user" value="hr" />
            <property name="javax.persistence.jdbc.password" value="1234" />
            <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>
            
            <property name="hibernate.show_sql" value="true"/>
            <property name="hibernate.format_sql" value="true"/>
            <property name="hibernate.use_sql_comments" value="true"/>           
        </properties>
    </persistence-unit>
</persistence>

'[웹셋팅]' 카테고리의 다른 글

[웹셋팅] 제이쿼리 연결  (0) 2020.01.31
[웹셋팅] jstl 셋팅  (0) 2020.01.29
[웹셋팅] MyBatis.xml 기본 셋팅  (0) 2019.12.20
[웹셋팅] properties 양식  (0) 2019.12.20
[웹셋팅] dependencies(프로젝트 셋팅)  (0) 2019.12.19

+ Recent posts