config/eclipse/hibernate.cfg.xml.template
author RM packaging bot <staff.rm@openbravo.com>
Wed, 24 Aug 2016 00:42:26 +0000
changeset 29888 9bef81691611
parent 6701 690d2af86089
permissions -rw-r--r--
CI: update AD_MODULE to version 29887
<?xml version="1.0" encoding="UTF-8" ?>
<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo Public License 
 * Version 1.1 (the "License"), being the Mozilla Public License 
 * version 1.1  with a permitted attribution clause ; you may not use 
 * this file except in compliance with the License. 
 * You may obtain a copy of the License at  
 * http://www.openbravo.com/legal/license.txt 
 * Software distributed under the License is distributed on an 
 * "AS IS" basis, WITHOUT WARRANTY OF  ANY KIND, either express or 
 * implied. See the License for the specific language governing rights 
 * and  limitations under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SLU 
 * All portions are Copyright (C) 2010 Openbravo SLU 
 * All Rights Reserved. 
 * Contributor(s): Openbravo S.L.U.
 ************************************************************************
-->
<!DOCTYPE hibernate-configuration PUBLIC
                "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
                "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
    <session-factory>
    <!-- Postgress Settings -->
        <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property>
        <property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
        <property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/obpi</property>
        <property name="hibernate.connection.username">tad</property>
        <property name="hibernate.connection.password">TAD</property>
        <property name="hibernate.cache.use_second_level_cache">false</property>
    <!-- Oracle Settings
        <property name="hibernate.dialect">org.hibernate.dialect.OracleDialect</property>
        <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
        <property name="hibernate.connection.url">jdbc:oracle:thin:@localhost:1521:ob</property>
        <property name="hibernate.connection.username">pi</property>
        <property name="hibernate.connection.password">tad</property>
        <property name="hibernate.default_schema">PI</property>
        <property name="hibernate.cache.use_second_level_cache">false</property>
         -->
    </session-factory> 
</hibernate-configuration>