config/eclipse/hibernate.cfg.xml.template
author Guillermo Álvarez de Eulate <guillermo.alvarez@openbravo.com>
Thu, 15 Mar 2012 16:21:46 +0100
changeset 16164 751bf1fee19a
parent 6702 690d2af86089
permissions -rw-r--r--
Fixed issue 17440: Recent list doesn't show * when window is RO or SR.

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