Tests for checking multiple execution of EmbeddableInitializers

This commit is contained in:
Steve Ebersole 2021-12-06 12:29:18 -06:00
parent 7d30b57f15
commit 099dd55b94
2 changed files with 26 additions and 13 deletions

View File

@ -7,12 +7,15 @@
package org.hibernate.tool.schema.ast;
import org.jboss.logging.Logger;
import org.jboss.logging.annotations.ValidIdRange;
/**
* @author Steve Ebersole
* Logging specific to parsing of SQL import scripts used in schema export.
*
* These scripts are processed using Antlr and this logging relates to
* that parsing.
*
* @todo (6.0) - implement usage of this
*/
@ValidIdRange( )
public class SqlScriptLogging {
public static final String SCRIPT_LOGGER_NAME = "org.hibernate.orm.tooling.schema.script";
public static final Logger SCRIPT_LOGGER = Logger.getLogger( SCRIPT_LOGGER_NAME );

View File

@ -34,29 +34,32 @@ logger.jdbc-extract.name=org.hibernate.orm.jdbc.extract
logger.jdbc-extract.appenderRef.subsystem.ref=subsystem
logger.jdbc-extract.level=trace
# "Graph Language" Antlr parsing
logger.graph.name=org.hibernate.orm.graph
logger.graph.level=debug
logger.graph.appenderRef.subsystem.ref=subsystem
#logger.graph.level=debug
## Hibernate's JUnit extensions (hibernate-testing)
## - set to DEBUG or TRACE to see additional details
## from those extensions
logger.junit.name=org.hibernate.testing.orm.junit
logger.junit.appenderRef.subsystem.ref=subsystem
#logger.junit.level=debug
# SQL import script processing
# NOTE : see org.hibernate.tool.schema.ast.SqlScriptLogging
logger.tooling-schema-script.name=org.hibernate.orm.tooling.schema.script
logger.tooling-schema-script.appenderRef.subsystem.ref=subsystem
#logger.tooling-schema-script.level=trace
# SQL import script parsed AST logging
# NOTE : see org.hibernate.tool.schema.ast.SqlScriptLogging
logger.tooling-schema-script-graph.name=org.hibernate.orm.tooling.schema.script.graph
logger.tooling-schema-script-graph.appenderRef.subsystem.ref=subsystem
#logger.tooling-schema-script-graph.level=trace
# Logging related to the creation of DomainResult/Fetch graphs
logger.sql-result-graph.name=org.hibernate.orm.sql.results
logger.sql-result-graph.appenderRef.subsystem.ref=subsystem
logger.sql-result-graph.level=debug
#logger.sql-result-graph.level=debug
# Logs generated DomainResult/Fetch AST graph
logger.sql-result-ast.name=org.hibernate.orm.sql.results.graph.AST
logger.sql-result-ast.appenderRef.subsystem.ref=subsystem
logger.sql-result-ast.level=debug
## Logs every SQM tree
logger.sqm-tree.name=org.hibernate.orm.query.sqm.ast
@ -121,6 +124,13 @@ logger.stat.name=org.hibernate.stat
logger.stat.level=trace
## Hibernate's JUnit extensions (hibernate-testing)
## - set to DEBUG or TRACE to see additional details
## from those extensions
logger.junit.name=org.hibernate.testing.orm.junit
logger.junit.appenderRef.subsystem.ref=subsystem
#logger.junit.level=debug
# Specialized handling for tracking unclosed Session/SessionFactory resources as part of testing
appender.unclosedSessionFactoryFile.type=File
appender.unclosedSessionFactoryFile.name=unclosedSessionFactoryFile