This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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.orm.test.query.hql; | |
import java.util.List; | |
import javax.persistence.Embeddable; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void doCreation(Metadata metadata, boolean createNamespaces, Dialect dialect, Target... targets) | |
throws SchemaManagementException { | |
boolean tryToCreateCatalogs = false; | |
boolean tryToCreateSchemas = false; | |
if ( createNamespaces ) { | |
if ( dialect.canCreateSchema() ) { | |
tryToCreateSchemas = true; | |
} |