3 * Copyright (C) 2015 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.taxeditor
.util
;
12 import org
.hibernate
.cfg
.Configuration
;
19 public class Serializer
{
21 String HB_CONFIG_PATH
= "/eu/etaxonomy/cdm/mappings/hibernate.cfg.xml";
23 public static void serializeHbConfig(String serializedFilePath
) {
24 Configuration configuration
= new Configuration().configure("/eu/etaxonomy/cdm/mappings/hibernate.cfg.xml");
25 configuration
.buildMappings();