HHH-13089 - SchemaCreatorImpl.applyImportSources incorrect HBM2DDL_IMPORT_FILES handling when parameter is empty string

This commit is contained in:
Vlad Mihalcea 2018-11-09 09:34:26 +02:00
parent 741c84a10c
commit 1fc8adc85d
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.test.fileimport;
import org.hibernate.Session;
import org.hibernate.cfg.Configuration;
import org.hibernate.cfg.Environment;
import org.hibernate.testing.TestForIssue;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import org.junit.Test;
/**
* @author Vlad Mihalcea
*/
@TestForIssue(jiraKey = "HHH-13089")
public class EmptyImportFilesTest extends BaseCoreFunctionalTestCase {
@Override
public void configure(Configuration cfg) {
cfg.setProperty(
Environment.HBM2DDL_IMPORT_FILES,
""
);
}
@Test
public void testImportFile() throws Exception {
}
}