Example usage for org.hibernate.jpa AvailableSettings HBXML_FILES

List of usage examples for org.hibernate.jpa AvailableSettings HBXML_FILES

Introduction

In this page you can find the example usage for org.hibernate.jpa AvailableSettings HBXML_FILES.

Prototype

String HBXML_FILES

To view the source code for org.hibernate.jpa AvailableSettings HBXML_FILES.

Click Source Link

Usage

From source file:com.lg.hibernate.guide.test.BaseEntityManagerFunctionalTestCase.java

License:LGPL

@SuppressWarnings("unchecked")
protected void addMappings(Map settings) {
    String[] mappings = getMappings();
    if (mappings != null) {
        settings.put(AvailableSettings.HBXML_FILES, StringHelper.join(",", mappings));
    }/*from ww w  . ja  va2  s .  c o m*/
}