src/org/openbravo/dal/core/template_main.hbm.xml
author Stefan Hühner <stefan.huehner@openbravo.com>
Wed, 09 Mar 2011 00:28:31 +0100
changeset 11128 78bdd4129fe5
parent 10955 3e4e4993fee9
child 11888 347913e12aa5
permissions -rw-r--r--
Fix performance regression in dal-startup introduced by cset 3e4e4993fee9
That cset changed the license header of the hbm.xml template file which led
to the double inclusion of the content into the template doubling its size
and affecting dal-startup time severly (15-30s slower). This fix reverts to the
earlier runtime by using a placeholder string which doesn't overlap with text
from the license header.
ivan@1738
     1
<?xml version="1.0" encoding="UTF-8"?>
ivan@1738
     2
<!--
martin@10955
     3
/*
martin@10955
     4
 *************************************************************************
martin@10955
     5
 * The contents of this file are subject to the Openbravo  Public  License
martin@10955
     6
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
martin@10955
     7
 * Version 1.1  with a permitted attribution clause; you may not  use this
martin@10955
     8
 * file except in compliance with the License. You  may  obtain  a copy of
martin@10955
     9
 * the License at http://www.openbravo.com/legal/license.html 
martin@10955
    10
 * Software distributed under the License  is  distributed  on  an "AS IS"
martin@10955
    11
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
martin@10955
    12
 * License for the specific  language  governing  rights  and  limitations
martin@10955
    13
 * under the License. 
martin@10955
    14
 * The Original Code is Openbravo ERP. 
martin@10955
    15
 * The Initial Developer of the Original Code is Openbravo SLU 
martin@10955
    16
 * All portions are Copyright (C) 2008-2011 Openbravo SLU 
martin@10955
    17
 * All Rights Reserved. 
martin@10955
    18
 * Contributor(s):  ______________________________________.
martin@10955
    19
 ************************************************************************
martin@10955
    20
 */
ivan@1738
    21
 -->
ivan@1738
    22
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
ivan@1738
    23
<hibernate-mapping>
stefan@11128
    24
contentPlaceholder
martin@10955
    25
  <filter-def name="activeFilter">
martin@10955
    26
    <filter-param name="activeParam" type="string"/>
martin@10955
    27
  </filter-def>
ivan@1738
    28
</hibernate-mapping>