config/eclipse/hibernate.cfg.xml.template
author RM packaging bot <staff.rm@openbravo.com>
Wed, 23 Mar 2011 18:49:50 +0100
changeset 11347 27a119ce5f38
parent 6701 690d2af86089
permissions -rw-r--r--
CI: update AD_MODULE to version 11342
martin@5990
     1
<?xml version="1.0" encoding="UTF-8" ?>
martin@5990
     2
<!--
martin@5990
     3
 *************************************************************************
martin@5990
     4
 * The contents of this file are subject to the Openbravo Public License 
martin@5990
     5
 * Version 1.1 (the "License"), being the Mozilla Public License 
martin@5990
     6
 * version 1.1  with a permitted attribution clause ; you may not use 
martin@5990
     7
 * this file except in compliance with the License. 
martin@5990
     8
 * You may obtain a copy of the License at  
martin@5990
     9
 * http://www.openbravo.com/legal/license.txt 
martin@5990
    10
 * Software distributed under the License is distributed on an 
martin@5990
    11
 * "AS IS" basis, WITHOUT WARRANTY OF  ANY KIND, either express or 
martin@5990
    12
 * implied. See the License for the specific language governing rights 
martin@5990
    13
 * and  limitations under the License. 
martin@5990
    14
 * The Original Code is Openbravo ERP. 
ggi@6701
    15
 * The Initial Developer of the Original Code is Openbravo SLU 
ggi@6701
    16
 * All portions are Copyright (C) 2010 Openbravo SLU 
martin@5990
    17
 * All Rights Reserved. 
ggi@6701
    18
 * Contributor(s): Openbravo S.L.U.
martin@5990
    19
 ************************************************************************
martin@5990
    20
-->
martin@5990
    21
<!DOCTYPE hibernate-configuration PUBLIC
martin@5990
    22
                "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
martin@5990
    23
                "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
martin@5990
    24
<hibernate-configuration>
martin@5990
    25
    <session-factory>
martin@5990
    26
    <!-- Postgress Settings -->
martin@5990
    27
        <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property>
martin@5990
    28
        <property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
martin@5990
    29
        <property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/obpi</property>
martin@5990
    30
        <property name="hibernate.connection.username">tad</property>
martin@5990
    31
        <property name="hibernate.connection.password">TAD</property>
martin@5990
    32
        <property name="hibernate.cache.use_second_level_cache">false</property>
martin@5990
    33
    <!-- Oracle Settings
martin@5990
    34
        <property name="hibernate.dialect">org.hibernate.dialect.OracleDialect</property>
martin@5990
    35
        <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
martin@5990
    36
        <property name="hibernate.connection.url">jdbc:oracle:thin:@localhost:1521:ob</property>
martin@5990
    37
        <property name="hibernate.connection.username">pi</property>
martin@5990
    38
        <property name="hibernate.connection.password">tad</property>
martin@5990
    39
        <property name="hibernate.default_schema">PI</property>
martin@5990
    40
        <property name="hibernate.cache.use_second_level_cache">false</property>
martin@5990
    41
         -->
martin@5990
    42
    </session-factory> 
martin@5990
    43
</hibernate-configuration>