diff --git a/metadata/org.hibernate/hibernate-core/6.0.0.Final/index.json b/metadata/org.hibernate/hibernate-core/6.0.0.Final/index.json new file mode 100644 index 000000000..11ac50cc5 --- /dev/null +++ b/metadata/org.hibernate/hibernate-core/6.0.0.Final/index.json @@ -0,0 +1,4 @@ +[ + "reflect-config.json", + "resource-config.json" +] diff --git a/metadata/org.hibernate/hibernate-core/6.0.0.Final/reflect-config.json b/metadata/org.hibernate/hibernate-core/6.0.0.Final/reflect-config.json new file mode 100644 index 000000000..c9f2dbc64 --- /dev/null +++ b/metadata/org.hibernate/hibernate-core/6.0.0.Final/reflect-config.json @@ -0,0 +1,3238 @@ +[ + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.AutoFlushEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.DeleteEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.DirtyCheckEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.EvictEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.FlushEntityEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.FlushEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.InitializeCollectionEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.LoadEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.LockEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.MergeEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.PersistEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.PostDeleteEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.PostInsertEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.PostLoadEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.PostUpdateEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.PreLoadEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.RefreshEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.ReplicateEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.ResolveNaturalIdEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.service.internal.EventListenerGroupImpl" + }, + "name": "[Lorg.hibernate.event.spi.SaveOrUpdateEventListener;" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.transaction.jta.platform.internal.StandardJtaPlatformResolver" + }, + "name": "bitronix.tm.TransactionManagerServices" + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "ch.qos.logback.classic.Logger" + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "ch.qos.logback.classic.encoder.PatternLayoutEncoder", + "queryAllPublicMethods": true, + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "ch.qos.logback.classic.pattern.DateConverter", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "ch.qos.logback.classic.pattern.LevelConverter", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "ch.qos.logback.classic.pattern.LineSeparatorConverter", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "ch.qos.logback.classic.pattern.LoggerConverter", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "ch.qos.logback.classic.pattern.MessageConverter", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "ch.qos.logback.classic.pattern.ThreadConverter", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "ch.qos.logback.core.ConsoleAppender", + "queryAllPublicMethods": true, + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "ch.qos.logback.core.OutputStreamAppender", + "methods": [ + { + "name": "setEncoder", + "parameterTypes": [ + "ch.qos.logback.core.encoder.Encoder" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "ch.qos.logback.core.encoder.Encoder", + "methods": [ + { + "name": "valueOf", + "parameterTypes": [ + "java.lang.String" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "ch.qos.logback.core.encoder.LayoutWrappingEncoder", + "methods": [ + { + "name": "setParent", + "parameterTypes": [ + "ch.qos.logback.core.spi.ContextAware" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "ch.qos.logback.core.pattern.PatternLayoutEncoderBase", + "methods": [ + { + "name": "setPattern", + "parameterTypes": [ + "java.lang.String" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "ch.qos.logback.core.spi.ContextAware", + "methods": [ + { + "name": "valueOf", + "parameterTypes": [ + "java.lang.String" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.transaction.jta.platform.internal.StandardJtaPlatformResolver" + }, + "name": "com.arjuna.ats.jta.TransactionManager" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.transaction.jta.platform.internal.StandardJtaPlatformResolver" + }, + "name": "com.atomikos.icatch.jta.UserTransactionManager" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.transaction.jta.platform.internal.StandardJtaPlatformResolver" + }, + "name": "com.ibm.ejs.jts.jta.JTSXA" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.transaction.jta.platform.internal.StandardJtaPlatformResolver" + }, + "name": "com.ibm.ejs.jts.jta.TransactionManagerFactory" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.connections.internal.DriverConnectionCreator" + }, + "name": "com.ibm.icu.text.Collator" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.transaction.jta.platform.internal.StandardJtaPlatformResolver" + }, + "name": "com.ibm.tx.jta.TransactionManagerFactory" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.transaction.jta.platform.internal.StandardJtaPlatformResolver" + }, + "name": "com.ibm.ws.Transaction.TransactionManagerFactory" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.xsd.LocalXsdResolver" + }, + "name": "com.sun.org.apache.xerces.internal.impl.dv.xs.ExtendedSchemaDVFactoryImpl", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.xsd.LocalXsdResolver" + }, + "name": "com.sun.org.apache.xerces.internal.impl.dv.xs.SchemaDVFactoryImpl", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.boot.internal.PersistenceXmlParser" + }, + "name": "com.sun.org.apache.xerces.internal.impl.dv.xs.SchemaDVFactoryImpl", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.boot.internal.PersistenceXmlParser" + }, + "name": "com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.jaxb.internal.MappingBinder" + }, + "name": "com.sun.xml.internal.stream.events.XMLEventFactoryImpl", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.resource.beans.spi.ManagedBeanRegistryInitiator" + }, + "name": "jakarta.enterprise.inject.spi.BeanManager" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.beanvalidation.BeanValidationIntegrator" + }, + "name": "jakarta.validation.ConstraintViolation" + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "java.io.FilePermission" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.registry.classloading.spi.ClassLoaderService" + }, + "name": "java.lang.Integer" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.registry.classloading.spi.ClassLoaderService" + }, + "name": "java.lang.Long" + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.util.ReflectHelper" + }, + "name": "java.lang.Object", + "methods": [ + { + "name": "equals", + "parameterTypes": [ + "java.lang.Object" + ] + }, + { + "name": "hashCode", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "java.lang.RuntimePermission" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.registry.classloading.spi.ClassLoaderService" + }, + "name": "java.lang.String" + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "java.net.NetPermission" + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "java.net.SocketPermission" + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "java.net.URLPermission", + "methods": [ + { + "name": "", + "parameterTypes": [ + "java.lang.String", + "java.lang.String" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "java.security.AllPermission" + }, + { + "condition": { + "typeReachable": "org.hibernate.id.uuid.LocalObjectUuidHelper" + }, + "name": "java.security.SecureRandomParameters" + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "java.security.SecurityPermission" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.connections.internal.DriverConnectionCreator" + }, + "name": "java.sql.SQLException", + "fields": [ + { + "name": "next" + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.type.descriptor.JdbcTypeNameMapper" + }, + "name": "java.sql.Types", + "allPublicFields": true + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.registry.classloading.spi.ClassLoaderService" + }, + "name": "java.util.Date" + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "java.util.PropertyPermission" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.registry.classloading.internal.AggregatedServiceLoader" + }, + "name": "java.util.ServiceLoader", + "methods": [ + { + "name": "stream", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.registry.classloading.internal.AggregatedServiceLoader$ClassPathAndModulePathAggregatedServiceLoader" + }, + "name": "java.util.ServiceLoader", + "methods": [ + { + "name": "stream", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.registry.classloading.internal.AggregatedServiceLoader" + }, + "name": "java.util.ServiceLoader$Provider", + "methods": [ + { + "name": "type", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "javax.smartcardio.CardPermission" + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "org.apache.log4j.LogManager" + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "org.apache.logging.log4j.Logger" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl" + }, + "name": "org.h2.Driver", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.connections.internal.DriverConnectionCreator" + }, + "name": "org.h2.mvstore.MVStore$TxCounter", + "fields": [ + { + "name": "counter" + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.connections.internal.DriverConnectionCreator" + }, + "name": "org.h2.mvstore.Page", + "fields": [ + { + "name": "pos" + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.internal.MetadataBuilderImpl" + }, + "name": "org.hibernate.boot.cfgxml.internal.CfgXmlAccessServiceImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.internal.MetadataImpl" + }, + "name": "org.hibernate.boot.internal.DefaultSessionFactoryBuilderService", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.internal.MetadataBuilderImpl$MetadataBuildingOptionsImpl$1" + }, + "name": "org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.bytecode.enhance.spi.interceptor.BytecodeInterceptorLogging" + }, + "name": "org.hibernate.bytecode.enhance.spi.interceptor.BytecodeInterceptorLogging_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.bytecode.enhance.spi.interceptor.BytecodeInterceptorLogging" + }, + "name": "org.hibernate.bytecode.enhance.spi.interceptor.BytecodeInterceptorLogging_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.bytecode.enhance.spi.interceptor.BytecodeInterceptorLogging" + }, + "name": "org.hibernate.bytecode.enhance.spi.interceptor.BytecodeInterceptorLogging_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.internal.SessionFactoryBuilderImpl" + }, + "name": "org.hibernate.bytecode.internal.none.BytecodeProviderImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.SessionFactoryImpl" + }, + "name": "org.hibernate.cache.internal.DisabledCaching", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.internal.MetadataBuilderImpl$MetadataBuildingOptionsImpl" + }, + "name": "org.hibernate.cache.internal.NoCachingRegionFactory", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl" + }, + "name": "org.hibernate.dialect.H2Dialect", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl" + }, + "name": "org.hibernate.dialect.MariaDBDialect", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl" + }, + "name": "org.hibernate.dialect.MySQLDialect", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl" + }, + "name": "org.hibernate.dialect.OracleDialect", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl" + }, + "name": "org.hibernate.dialect.PostgreSQLDialect", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl" + }, + "name": "org.hibernate.dialect.SQLServerDialect", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.resource.beans.internal.Helper" + }, + "name": "org.hibernate.engine.config.internal.ConfigurationServiceImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl" + }, + "name": "org.hibernate.engine.jdbc.batch.internal.BatchBuilderImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator" + }, + "name": "org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator" + }, + "name": "org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl" + }, + "name": "org.hibernate.engine.jdbc.dialect.internal.DialectResolverSet", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.model.relational.Database" + }, + "name": "org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.model.relational.Database" + }, + "name": "org.hibernate.engine.jdbc.internal.JdbcServicesImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.SessionFactoryImpl" + }, + "name": "org.hibernate.engine.jndi.internal.JndiServiceImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.query.spi.QueryEngine" + }, + "name": "org.hibernate.engine.query.internal.NativeQueryInterpreterStandardImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.SessionFactoryImpl" + }, + "name": "org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator" + }, + "name": "org.hibernate.engine.transaction.jta.platform.internal.StandardJtaPlatformResolver", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.event.spi.EventType" + }, + "name": "org.hibernate.event.spi.EventType", + "allDeclaredFields": true + }, + { + "condition": { + "typeReachable": "org_hibernate.hibernate_core.IdentifierGeneratorTest" + }, + "name": "org.hibernate.id.Assigned", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org_hibernate.hibernate_core.IdentifierGeneratorTest" + }, + "name": "org.hibernate.id.ForeignGenerator", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org_hibernate.hibernate_core.IdentifierGeneratorTest" + }, + "name": "org.hibernate.id.GUIDGenerator", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org_hibernate.hibernate_core.IdentifierGeneratorTest" + }, + "name": "org.hibernate.id.IdentityGenerator", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org_hibernate.hibernate_core.IdentifierGeneratorTest" + }, + "name": "org.hibernate.id.IncrementGenerator", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org_hibernate.hibernate_core.IdentifierGeneratorTest" + }, + "name": "org.hibernate.id.SelectGenerator", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org_hibernate.hibernate_core.IdentifierGeneratorTest" + }, + "name": "org.hibernate.id.UUIDGenerator", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org_hibernate.hibernate_core.IdentifierGeneratorTest" + }, + "name": "org.hibernate.id.UUIDHexGenerator", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.OptimizerFactory" + }, + "name": "org.hibernate.id.enhanced.PooledOptimizer", + "methods": [ + { + "name": "", + "parameterTypes": [ + "java.lang.Class", + "int" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org_hibernate.hibernate_core.IdentifierGeneratorTest" + }, + "name": "org.hibernate.id.enhanced.SequenceStyleGenerator", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.TableGenerator" + }, + "name": "org.hibernate.id.enhanced.StandardNamingStrategy", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.id.factory.internal.StandardIdentifierGeneratorFactory" + }, + "name": "org.hibernate.id.enhanced.TableGenerator", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.Version" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.AnnotatedColumn" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.CollectionSecondPass" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.Environment" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.PropertyContainer" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.BasicValueBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.CollectionBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.EntityBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.PropertyBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.QueryBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.TableBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.beanvalidation.BeanValidationIntegrator" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.config.internal.ConfigurationServiceImpl" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.internal.Collections" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.internal.StatefulPersistenceContext" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.internal.Versioning" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.spi.SqlExceptionHelper" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jndi.internal.JndiServiceImpl" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.spi.CascadingActions" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.event.internal.AbstractFlushingEventListener" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.event.internal.DefaultAutoFlushEventListener" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.event.internal.DefaultLockEventListener" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.OptimizerFactory" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.PooledLoOptimizer" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.PooledLoThreadLocalOptimizer" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.PooledOptimizer" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.TableGenerator" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.CoreLogging" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.persister.collection.AbstractCollectionPersister" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.stat.internal.StatisticsInitiator" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.type.CollectionType" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.type.descriptor.java.DbTimestampJavaType" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.Version" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.AnnotatedColumn" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.CollectionSecondPass" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.Environment" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.PropertyContainer" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.BasicValueBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.CollectionBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.EntityBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.PropertyBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.QueryBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.TableBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.beanvalidation.BeanValidationIntegrator" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.config.internal.ConfigurationServiceImpl" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.internal.Collections" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.internal.StatefulPersistenceContext" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.internal.Versioning" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.spi.SqlExceptionHelper" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jndi.internal.JndiServiceImpl" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.spi.CascadingActions" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.internal.AbstractFlushingEventListener" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.internal.DefaultAutoFlushEventListener" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.internal.DefaultLockEventListener" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.OptimizerFactory" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.PooledLoOptimizer" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.PooledLoThreadLocalOptimizer" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.PooledOptimizer" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.TableGenerator" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.CoreLogging" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.persister.collection.AbstractCollectionPersister" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.stat.internal.StatisticsInitiator" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.type.CollectionType" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.type.descriptor.java.DbTimestampJavaType" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.Version" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.AnnotatedColumn" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.CollectionSecondPass" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.Environment" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.PropertyContainer" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.BasicValueBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.CollectionBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.EntityBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.PropertyBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.QueryBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.annotations.TableBinder" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.beanvalidation.BeanValidationIntegrator" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.config.internal.ConfigurationServiceImpl" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.internal.Collections" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.internal.StatefulPersistenceContext" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.internal.Versioning" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.spi.SqlExceptionHelper" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jndi.internal.JndiServiceImpl" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.spi.CascadingActions" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.internal.AbstractFlushingEventListener" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.internal.DefaultAutoFlushEventListener" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.event.internal.DefaultLockEventListener" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.OptimizerFactory" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.PooledLoOptimizer" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.PooledLoThreadLocalOptimizer" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.PooledOptimizer" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.id.enhanced.TableGenerator" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.CoreLogging" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.persister.collection.AbstractCollectionPersister" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.stat.internal.StatisticsInitiator" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.type.CollectionType" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.type.descriptor.java.DbTimestampJavaType" + }, + "name": "org.hibernate.internal.CoreMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.HEMLogging" + }, + "name": "org.hibernate.internal.EntityManagerMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.internal.util.LogHelper" + }, + "name": "org.hibernate.internal.EntityManagerMessageLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.HEMLogging" + }, + "name": "org.hibernate.internal.EntityManagerMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.internal.util.LogHelper" + }, + "name": "org.hibernate.internal.EntityManagerMessageLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.HEMLogging" + }, + "name": "org.hibernate.internal.EntityManagerMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.internal.util.LogHelper" + }, + "name": "org.hibernate.internal.EntityManagerMessageLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.log.ConnectionAccessLogger" + }, + "name": "org.hibernate.internal.log.ConnectionAccessLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.log.ConnectionAccessLogger" + }, + "name": "org.hibernate.internal.log.ConnectionAccessLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.log.ConnectionAccessLogger" + }, + "name": "org.hibernate.internal.log.ConnectionAccessLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.log.ConnectionPoolingLogger" + }, + "name": "org.hibernate.internal.log.ConnectionPoolingLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.log.ConnectionPoolingLogger" + }, + "name": "org.hibernate.internal.log.ConnectionPoolingLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.log.ConnectionPoolingLogger" + }, + "name": "org.hibernate.internal.log.ConnectionPoolingLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.log.DeprecationLogger" + }, + "name": "org.hibernate.internal.log.DeprecationLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.log.DeprecationLogger" + }, + "name": "org.hibernate.internal.log.DeprecationLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.log.DeprecationLogger" + }, + "name": "org.hibernate.internal.log.DeprecationLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org_hibernate.hibernate_core.AdditionalMetadataTest" + }, + "name": "org.hibernate.internal.log.UrlMessageBundle_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.metamodel.mapping.MappingModelCreationLogger" + }, + "name": "org.hibernate.metamodel.mapping.MappingModelCreationLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.metamodel.mapping.MappingModelCreationLogger" + }, + "name": "org.hibernate.metamodel.mapping.MappingModelCreationLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.metamodel.mapping.MappingModelCreationLogger" + }, + "name": "org.hibernate.metamodel.mapping.MappingModelCreationLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.persister.internal.PersisterFactoryImpl" + }, + "name": "org.hibernate.persister.collection.BasicCollectionPersister", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.hibernate.mapping.Collection", + "org.hibernate.cache.spi.access.CollectionDataAccess", + "org.hibernate.metamodel.spi.RuntimeModelCreationContext" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.persister.internal.PersisterFactoryImpl" + }, + "name": "org.hibernate.persister.collection.OneToManyPersister", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.hibernate.mapping.Collection", + "org.hibernate.cache.spi.access.CollectionDataAccess", + "org.hibernate.metamodel.spi.RuntimeModelCreationContext" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.persister.internal.PersisterFactoryImpl" + }, + "name": "org.hibernate.persister.entity.SingleTableEntityPersister", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.hibernate.mapping.PersistentClass", + "org.hibernate.cache.spi.access.EntityDataAccess", + "org.hibernate.cache.spi.access.NaturalIdDataAccess", + "org.hibernate.metamodel.spi.RuntimeModelCreationContext" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.metamodel.model.domain.internal.MappingMetamodelImpl" + }, + "name": "org.hibernate.persister.internal.PersisterFactoryImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.persister.internal.PersisterFactoryImpl" + }, + "name": "org.hibernate.persister.internal.StandardPersisterClassResolver", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.mapping.Property" + }, + "name": "org.hibernate.property.access.internal.PropertyAccessStrategyResolverStandardImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.query.QueryLogging" + }, + "name": "org.hibernate.query.QueryLogging_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.query.QueryLogging" + }, + "name": "org.hibernate.query.QueryLogging_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.query.QueryLogging" + }, + "name": "org.hibernate.query.QueryLogging_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.query.hql.HqlLogging" + }, + "name": "org.hibernate.query.hql.HqlLogging_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.query.hql.HqlLogging" + }, + "name": "org.hibernate.query.hql.HqlLogging_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.query.hql.HqlLogging" + }, + "name": "org.hibernate.query.hql.HqlLogging_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.id.factory.internal.StandardIdentifierGeneratorFactory" + }, + "name": "org.hibernate.resource.beans.internal.ManagedBeanRegistryImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.internal.SessionFactoryOptionsBuilder" + }, + "name": "org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorBuilderImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.resource.transaction.internal.TransactionCoordinatorBuilderInitiator" + }, + "name": "org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorBuilderImpl", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.SessionFactoryImpl" + }, + "name": "org.hibernate.service.internal.SessionFactoryServiceRegistryFactoryImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.sql.ast.tree.SqlAstTreeLogger" + }, + "name": "org.hibernate.sql.ast.tree.SqlAstTreeLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.sql.ast.tree.SqlAstTreeLogger" + }, + "name": "org.hibernate.sql.ast.tree.SqlAstTreeLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.sql.ast.tree.SqlAstTreeLogger" + }, + "name": "org.hibernate.sql.ast.tree.SqlAstTreeLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.sql.exec.SqlExecLogger" + }, + "name": "org.hibernate.sql.exec.SqlExecLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.sql.exec.SqlExecLogger" + }, + "name": "org.hibernate.sql.exec.SqlExecLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.sql.exec.SqlExecLogger" + }, + "name": "org.hibernate.sql.exec.SqlExecLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.sql.results.LoadingLogger" + }, + "name": "org.hibernate.sql.results.LoadingLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.sql.results.LoadingLogger" + }, + "name": "org.hibernate.sql.results.LoadingLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.sql.results.LoadingLogger" + }, + "name": "org.hibernate.sql.results.LoadingLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.sql.results.ResultsLogger" + }, + "name": "org.hibernate.sql.results.ResultsLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.sql.results.ResultsLogger" + }, + "name": "org.hibernate.sql.results.ResultsLogger_$logger_en" + }, + { + "condition": { + "typeReachable": "org.hibernate.sql.results.ResultsLogger" + }, + "name": "org.hibernate.sql.results.ResultsLogger_$logger_en_US" + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.SessionFactoryImpl" + }, + "name": "org.hibernate.stat.internal.StatisticsImpl", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator" + }, + "name": "org.hibernate.tool.schema.internal.HibernateSchemaManagementTool", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.tool.schema.internal.SchemaCreatorImpl" + }, + "name": "org.hibernate.tool.schema.internal.script.SingleLineSqlScriptExtractor", + "queryAllPublicMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.type.descriptor.JdbcTypeNameMapper" + }, + "name": "org.hibernate.type.SqlTypes", + "allPublicFields": true + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "org.jboss.logmanager.LogManager" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.transaction.jta.platform.internal.StandardJtaPlatformResolver" + }, + "name": "org.objectweb.jonas_tm.Current" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.transaction.jta.platform.internal.StandardJtaPlatformResolver" + }, + "name": "org.objectweb.jotm.Current" + }, + { + "condition": { + "typeReachable": "org.hibernate.dialect.PostgreSQLIntervalSecondJdbcType" + }, + "name": "org.postgresql.util.PGInterval", + "methods": [ + { + "name": "", + "parameterTypes": [ + "int", + "int", + "int", + "int", + "int", + "double" + ] + }, + { + "name": "getDays", + "parameterTypes": [] + }, + { + "name": "getHours", + "parameterTypes": [] + }, + { + "name": "getMicroSeconds", + "parameterTypes": [] + }, + { + "name": "getMinutes", + "parameterTypes": [] + }, + { + "name": "getWholeSeconds", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.dialect.PostgreSQLPGObjectJdbcType" + }, + "name": "org.postgresql.util.PGobject", + "queryAllDeclaredMethods": true, + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.spi.SqlStatementLogger" + }, + "name": "org.slf4j.spi.LocationAwareLogger", + "methods": [ + { + "name": "log", + "parameterTypes": [ + "org.slf4j.Marker", + "java.lang.String", + "int", + "java.lang.String", + "java.lang.Object[]", + "java.lang.Throwable" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "name": "org.slf4j.spi.LocationAwareLogger", + "queryAllDeclaredMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.transaction.jta.platform.internal.StandardJtaPlatformResolver" + }, + "name": "org.wildfly.transaction.client.ContextTransactionManager" + }, + { + "condition": { + "typeReachable": "org.hibernate.annotations.common.reflection.java.JavaXClass" + }, + "name": "org_hibernate.hibernate_core.entity.Course", + "allDeclaredFields": true, + "queryAllDeclaredMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.internal.ClassLoaderAccessImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Course" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.model.source.internal.annotations.AnnotationMetadataSourceProcessorImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Course" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.InheritanceState" + }, + "name": "org_hibernate.hibernate_core.entity.Course", + "queryAllDeclaredMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.PropertyContainer" + }, + "name": "org_hibernate.hibernate_core.entity.Course", + "queryAllDeclaredMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.util.ReflectHelper" + }, + "name": "org_hibernate.hibernate_core.entity.Course", + "fields": [], + "methods": [ + { + "name": "", + "parameterTypes": [] + }, + { + "name": "getId", + "parameterTypes": [] + }, + { + "name": "setId", + "parameterTypes": [ + "java.lang.Long" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.loader.ast.internal.CollectionLoaderSingleKey" + }, + "name": "org_hibernate.hibernate_core.entity.Course", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.mapping.Property" + }, + "name": "org_hibernate.hibernate_core.entity.Course", + "queryAllDeclaredMethods": true, + "fields": [ + { + "name": "material" + }, + { + "name": "students" + }, + { + "name": "teacher" + }, + { + "name": "title" + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.metamodel.internal.EntityRepresentationStrategyPojoStandard" + }, + "name": "org_hibernate.hibernate_core.entity.Course", + "queryAllDeclaredMethods": true, + "fields": [ + { + "name": "id" + }, + { + "name": "material" + }, + { + "name": "students" + }, + { + "name": "teacher" + }, + { + "name": "title" + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.persister.entity.AbstractEntityPersister" + }, + "name": "org_hibernate.hibernate_core.entity.Course", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.internal.PropertyAccessFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Course", + "fields": [] + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.internal.PropertyAccessStrategyFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Course", + "fields": [] + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.spi.GetterFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Course" + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.spi.SetterFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Course" + }, + { + "condition": { + "typeReachable": "org.hibernate.query.sqm.internal.ConcreteSqmSelectQueryPlan" + }, + "name": "org_hibernate.hibernate_core.entity.Course", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.annotations.common.reflection.java.JavaXClass" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial", + "allDeclaredFields": true, + "queryAllDeclaredMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.internal.ClassLoaderAccessImpl" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.model.source.internal.annotations.AnnotationMetadataSourceProcessorImpl" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.InheritanceState" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial", + "queryAllDeclaredMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.PropertyContainer" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial", + "queryAllDeclaredMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.util.ReflectHelper" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial", + "fields": [], + "methods": [ + { + "name": "", + "parameterTypes": [] + }, + { + "name": "getId", + "parameterTypes": [] + }, + { + "name": "setId", + "parameterTypes": [ + "java.lang.Long" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.loader.ast.internal.CollectionLoaderSingleKey" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.loader.ast.internal.SingleUniqueKeyEntityLoaderStandard" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.mapping.Property" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial", + "queryAllDeclaredMethods": true, + "fields": [ + { + "name": "course" + }, + { + "name": "url" + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.metamodel.internal.EntityRepresentationStrategyPojoStandard" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial", + "queryAllDeclaredMethods": true, + "fields": [ + { + "name": "course" + }, + { + "name": "id" + }, + { + "name": "url" + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.persister.entity.AbstractEntityPersister" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.internal.PropertyAccessFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial", + "fields": [] + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.internal.PropertyAccessStrategyFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial", + "fields": [] + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.spi.GetterFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial" + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.spi.SetterFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial" + }, + { + "condition": { + "typeReachable": "org.hibernate.metamodel.internal.MetadataContext" + }, + "name": "org_hibernate.hibernate_core.entity.CourseMaterial_" + }, + { + "condition": { + "typeReachable": "org.hibernate.metamodel.internal.MetadataContext" + }, + "name": "org_hibernate.hibernate_core.entity.Course_" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.registry.classloading.spi.ClassLoaderService" + }, + "name": "org_hibernate.hibernate_core.entity.Gender" + }, + { + "condition": { + "typeReachable": "org.hibernate.annotations.common.reflection.java.JavaXClass" + }, + "name": "org_hibernate.hibernate_core.entity.Student", + "allDeclaredFields": true, + "queryAllDeclaredMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.internal.ClassLoaderAccessImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Student" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.model.source.internal.annotations.AnnotationMetadataSourceProcessorImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Student" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.InheritanceState" + }, + "name": "org_hibernate.hibernate_core.entity.Student", + "queryAllDeclaredMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.PropertyContainer" + }, + "name": "org_hibernate.hibernate_core.entity.Student", + "queryAllDeclaredMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.util.ReflectHelper" + }, + "name": "org_hibernate.hibernate_core.entity.Student", + "fields": [], + "methods": [ + { + "name": "", + "parameterTypes": [] + }, + { + "name": "getId", + "parameterTypes": [] + }, + { + "name": "setId", + "parameterTypes": [ + "java.lang.Long" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.loader.ast.internal.SingleIdLoadPlan" + }, + "name": "org_hibernate.hibernate_core.entity.Student", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.mapping.Property" + }, + "name": "org_hibernate.hibernate_core.entity.Student", + "queryAllDeclaredMethods": true, + "fields": [ + { + "name": "age" + }, + { + "name": "birthDate" + }, + { + "name": "firstName" + }, + { + "name": "gender" + }, + { + "name": "lastName" + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.metamodel.internal.EntityRepresentationStrategyPojoStandard" + }, + "name": "org_hibernate.hibernate_core.entity.Student", + "queryAllDeclaredMethods": true, + "fields": [ + { + "name": "age" + }, + { + "name": "birthDate" + }, + { + "name": "firstName" + }, + { + "name": "gender" + }, + { + "name": "id" + }, + { + "name": "lastName" + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.persister.entity.AbstractEntityPersister" + }, + "name": "org_hibernate.hibernate_core.entity.Student", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.internal.PropertyAccessFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Student", + "fields": [] + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.internal.PropertyAccessStrategyFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Student", + "fields": [] + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.spi.GetterFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Student" + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.spi.SetterFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Student" + }, + { + "condition": { + "typeReachable": "org.hibernate.query.sqm.internal.ConcreteSqmSelectQueryPlan" + }, + "name": "org_hibernate.hibernate_core.entity.Student", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.metamodel.internal.MetadataContext" + }, + "name": "org_hibernate.hibernate_core.entity.Student_" + }, + { + "condition": { + "typeReachable": "org.hibernate.annotations.common.reflection.java.JavaXClass" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher", + "allDeclaredFields": true, + "queryAllDeclaredMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.internal.ClassLoaderAccessImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.model.source.internal.annotations.AnnotationMetadataSourceProcessorImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher" + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.InheritanceState" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher", + "queryAllDeclaredMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.cfg.PropertyContainer" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher", + "queryAllDeclaredMethods": true + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.util.ReflectHelper" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher", + "fields": [], + "methods": [ + { + "name": "", + "parameterTypes": [] + }, + { + "name": "getId", + "parameterTypes": [] + }, + { + "name": "setId", + "parameterTypes": [ + "java.lang.Long" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.loader.ast.internal.SingleIdLoadPlan" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.loader.ast.internal.SingleUniqueKeyEntityLoaderStandard" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.mapping.Property" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher", + "queryAllDeclaredMethods": true, + "fields": [ + { + "name": "courses" + }, + { + "name": "firstName" + }, + { + "name": "lastName" + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.metamodel.internal.EntityRepresentationStrategyPojoStandard" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher", + "queryAllDeclaredMethods": true, + "fields": [ + { + "name": "courses" + }, + { + "name": "firstName" + }, + { + "name": "id" + }, + { + "name": "lastName" + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.persister.entity.AbstractEntityPersister" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.internal.PropertyAccessFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher", + "fields": [] + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.internal.PropertyAccessStrategyFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher", + "fields": [] + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.spi.GetterFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher" + }, + { + "condition": { + "typeReachable": "org.hibernate.property.access.spi.SetterFieldImpl" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher" + }, + { + "condition": { + "typeReachable": "org.hibernate.metamodel.internal.MetadataContext" + }, + "name": "org_hibernate.hibernate_core.entity.Teacher_" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.model.naming.NamingHelper" + }, + "name": "sun.security.provider.MD5", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.mapping.Constraint" + }, + "name": "sun.security.provider.MD5", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.id.uuid.LocalObjectUuidHelper" + }, + "name": "sun.security.provider.NativePRNG", + "methods": [ + { + "name": "", + "parameterTypes": [] + }, + { + "name": "", + "parameterTypes": [ + "java.security.SecureRandomParameters" + ] + } + ] + }, + { + "condition": { + "typeReachable": "org.hibernate.id.uuid.LocalObjectUuidHelper" + }, + "name": "sun.security.provider.SHA", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + } +] diff --git a/metadata/org.hibernate/hibernate-core/6.0.0.Final/resource-config.json b/metadata/org.hibernate/hibernate-core/6.0.0.Final/resource-config.json new file mode 100644 index 000000000..4b5aa30c8 --- /dev/null +++ b/metadata/org.hibernate/hibernate-core/6.0.0.Final/resource-config.json @@ -0,0 +1,92 @@ +{ + "resources": { + "includes": [ + { + "condition": { + "typeReachable": "org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl" + }, + "pattern": "\\QMETA-INF/persistence.xml\\E" + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "pattern": "\\QMETA-INF/services/ch.qos.logback.classic.spi.Configurator\\E" + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "pattern": "\\QMETA-INF/services/org.slf4j.spi.SLF4JServiceProvider\\E" + }, + { + "condition": { + "typeReachable": "org.hibernate.internal.util.ConfigHelper" + }, + "pattern": "\\Qhibernate.properties\\E" + }, + { + "condition": { + "typeReachable": "org.hibernate.jpa.HibernatePersistenceProvider" + }, + "pattern": "\\Qlogback.xml\\E" + }, + { + "condition": { + "typeReachable": "org.hibernate.engine.jdbc.connections.internal.DriverConnectionCreator" + }, + "pattern": "\\Qorg/h2/util/data.zip\\E" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.jaxb.internal.stax.LocalSchemaLocator" + }, + "pattern": "\\Qorg/hibernate/hibernate-configuration-3.0.dtd\\E" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.jaxb.internal.stax.LocalSchemaLocator" + }, + "pattern": "\\Qorg/hibernate/hibernate-mapping-3.0.dtd\\E" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.xsd.LocalXsdResolver" + }, + "pattern": "\\Qorg/hibernate/jpa/persistence_2_0.xsd\\E" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.model.process.internal.ScanningCoordinator" + }, + "pattern": "\\Qorg_hibernate/hibernate_core/entity/Course.class\\E" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.model.process.internal.ScanningCoordinator" + }, + "pattern": "\\Qorg_hibernate/hibernate_core/entity/CourseMaterial.class\\E" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.model.process.internal.ScanningCoordinator" + }, + "pattern": "\\Qorg_hibernate/hibernate_core/entity/Student.class\\E" + }, + { + "condition": { + "typeReachable": "org.hibernate.boot.model.process.internal.ScanningCoordinator" + }, + "pattern": "\\Qorg_hibernate/hibernate_core/entity/Teacher.class\\E" + } + ] + }, + "bundles": [ + { + "name": "com.sun.org.apache.xerces.internal.impl.xpath.regex.message", + "locales": [ + "und" + ] + } + ] +} diff --git a/metadata/org.hibernate/hibernate-core/index.json b/metadata/org.hibernate/hibernate-core/index.json index f3822ac84..7b4dc36f7 100644 --- a/metadata/org.hibernate/hibernate-core/index.json +++ b/metadata/org.hibernate/hibernate-core/index.json @@ -2,7 +2,14 @@ { "latest" : true, "module" : "org.hibernate:hibernate-core", - "metadata-version" : "5.6.14.Final", + "metadata-version" : "6.0.0.Final", + "tested-versions": [ + "6.0.0.Final" + ] + }, + { + "module" : "org.hibernate:hibernate-core", + "metadata-version": "5.6.14.Final", "tested-versions" : [ "5.6.14.Final", "5.6.15.Final" diff --git a/tests/src/index.json b/tests/src/index.json index 2ae39e18f..2f0bc18fd 100644 --- a/tests/src/index.json +++ b/tests/src/index.json @@ -586,6 +586,12 @@ "name" : "org.hibernate:hibernate-core", "versions" : [ "5.6.14.Final" ] } ] +}, { + "test-project-path" : "org.hibernate/hibernate-core/6.0.0.Final", + "libraries" : [ { + "name" : "org.hibernate:hibernate-core", + "versions" : [ "6.0.0.Final" ] + } ] }, { "test-project-path" : "org.hibernate/hibernate-spatial/6.5.0.Final", "libraries" : [ { diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/.gitignore b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/.gitignore new file mode 100644 index 000000000..cc166c577 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/.gitignore @@ -0,0 +1,6 @@ +gradlew.bat +gradlew +gradle/ +build/ +generated-metadata/ +.run/ diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/build.gradle b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/build.gradle new file mode 100644 index 000000000..22c02e4d2 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/build.gradle @@ -0,0 +1,63 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ + +plugins { + id "org.graalvm.internal.tck" +} + +String libraryVersion = tck.testedLibraryVersion.get() + +dependencies { + testImplementation "org.hibernate:hibernate-core:$libraryVersion" + testImplementation 'org.assertj:assertj-core:3.22.0' + testImplementation 'com.h2database:h2:2.1.214' + testImplementation 'javax.validation:validation-api:2.0.1.Final' + testImplementation 'ch.qos.logback:logback-classic:1.4.5' + // Added for Hibernate 6 (Jakarta EE 9) API + testImplementation 'jakarta.persistence:jakarta.persistence-api:3.0.0' + // Ensure Logger type in AdditionalMetadataTest is available + testImplementation 'org.jboss.logging:jboss-logging:3.4.3.Final' + // Needed by PostgreSQLDialect initialization (uses org.postgresql.util.PGobject) + testImplementation 'org.postgresql:postgresql:42.3.8' +} + +task updateGeneratedMetadata { + doLast { + final ant = new groovy.ant.AntBuilder() + final metadataDir = project.projectDir.toString() + "/generated-metadata" + + // replace typeReachable value for entries generated by AdditionalMetadataTest test class + ant.replace(file: metadataDir + "/reflect-config.json", + token: "org_hibernate.hibernate_core.AdditionalMetadataTest", + value: "org.hibernate.jpa.HibernatePersistenceProvider") + + // replace typeReachable value for entries generated by IdentifierGeneratorTest test class + ant.replace(file: metadataDir + "/reflect-config.json", + token: "org_hibernate.hibernate_core.IdentifierGeneratorTest", + value: "org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory") + } +} + +task deleteGeneratedMetadata(type: Delete) { + delete files(project.projectDir.toString() + "/generated-metadata") +} + +graalvmNative { + agent { + defaultMode = "conditional" + modes { + conditional { + userCodeFilterPath = "metadata-conditions-filter.json" + } + } + metadataCopy { + inputTaskNames.add("test") + outputDirectories.add("generated-metadata") + mergeWithExisting = true + } + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/generate-metadata.sh b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/generate-metadata.sh new file mode 100644 index 000000000..35c2a8a4a --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/generate-metadata.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +./gradlew deleteGeneratedMetadata +./gradlew test --tests "org_hibernate.hibernate_core.H2DialectHibernateTest" -Pagent metadataCopy +./gradlew test --tests "org_hibernate.hibernate_core.MariaDBDialectHibernateTest" -Pagent metadataCopy +./gradlew test --tests "org_hibernate.hibernate_core.MSSQLDialectHibernateTest" -Pagent metadataCopy +./gradlew test --tests "org_hibernate.hibernate_core.MySQLDialectHibernateTest" -Pagent metadataCopy +./gradlew test --tests "org_hibernate.hibernate_core.OracleDialectHibernateTest" -Pagent metadataCopy +./gradlew test --tests "org_hibernate.hibernate_core.PostgresDialectHibernateTest" -Pagent metadataCopy +./gradlew test --tests "org_hibernate.hibernate_core.HibernateDialectTest" -Pagent metadataCopy +./gradlew test --tests "org_hibernate.hibernate_core.AdditionalMetadataTest" -Pagent metadataCopy +./gradlew test --tests "org_hibernate.hibernate_core.IdentifierGeneratorTest" -Pagent metadataCopy +./gradlew test --tests "org_hibernate.hibernate_core.OptimizerTest" -Pagent metadataCopy +./gradlew updateGeneratedMetadata diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/gradle.properties b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/gradle.properties new file mode 100644 index 000000000..a6090dc29 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/gradle.properties @@ -0,0 +1,2 @@ +library.version = 6.0.0.Final +metadata.dir = org.hibernate/hibernate-core/6.0.0.Final/ diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/metadata-conditions-filter.json b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/metadata-conditions-filter.json new file mode 100644 index 000000000..e65704253 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/metadata-conditions-filter.json @@ -0,0 +1,7 @@ +{ + "rules": [ + {"includeClasses": "org.hibernate.**"}, + {"includeClasses": "org_hibernate.hibernate_core.AdditionalMetadataTest"}, + {"includeClasses": "org_hibernate.hibernate_core.IdentifierGeneratorTest"} + ] +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/settings.gradle b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/settings.gradle new file mode 100644 index 000000000..8f3f76fd1 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/settings.gradle @@ -0,0 +1,13 @@ +pluginManagement { + def tckPath = Objects.requireNonNullElse( + System.getenv("GVM_TCK_TCKDIR"), + "../../../../tck-build-logic" + ) + includeBuild(tckPath) +} + +plugins { + id "org.graalvm.internal.tck-settings" version "1.0.0-SNAPSHOT" +} + +rootProject.name = 'org.hibernate.hibernate-core_tests' diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/AbstractHibernateTest.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/AbstractHibernateTest.java new file mode 100644 index 000000000..42fe732eb --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/AbstractHibernateTest.java @@ -0,0 +1,199 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core; + +import org.junit.jupiter.api.AfterAll; +import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.TestInstance; +import org_hibernate.hibernate_core.entity.Course; +import org_hibernate.hibernate_core.entity.CourseMaterial; +import org_hibernate.hibernate_core.entity.Gender; +import org_hibernate.hibernate_core.entity.Student; +import org_hibernate.hibernate_core.entity.Teacher; + +import jakarta.persistence.EntityManager; +import jakarta.persistence.EntityManagerFactory; +import jakarta.persistence.Persistence; +import java.util.Arrays; +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import static org.assertj.core.api.Assertions.assertThat; + +@TestInstance(TestInstance.Lifecycle.PER_CLASS) +abstract class AbstractHibernateTest { + + private EntityManagerFactory entityManagerFactory; + private EntityManager entityManager; + + private Map studentIds = new HashMap<>(); + + private Map teacherIds = new HashMap<>(); + + private Map courseIds = new HashMap<>(); + + @BeforeAll + public void init() { + Map properties = new HashMap<>(); + properties.put("jakarta.persistence.jdbc.url", getJdbcUrl()); + properties.put("hibernate.dialect", getHibernateDialect()); + entityManagerFactory = Persistence.createEntityManagerFactory("StudentPU", properties); + entityManager = entityManagerFactory.createEntityManager(); + prepareTestData(); + } + + @AfterAll + public void close() { + entityManager.close(); + entityManagerFactory.close(); + } + + @AfterEach + public void cleanup() { + entityManager.clear(); + } + + protected abstract String getJdbcUrl(); + + protected abstract String getHibernateDialect(); + + @Test + public void testLoadStudent() { + Student student = entityManager.find(Student.class, studentIds.get("John Smith")); + assertThat(student).isNotNull(); + assertThat(student.getFirstName()).isEqualTo("John"); + assertThat(student.getLastName()).isEqualTo("Smith"); + assertThat(student.getGender()).isEqualTo(Gender.MALE); + assertThat(student.getAge()).isEqualTo(25); + } + + @Test + public void testLoadTeacher() { + Teacher teacher = entityManager.find(Teacher.class, teacherIds.get("Jennifer Brown")); + assertThat(teacher).isNotNull(); + assertThat(teacher.getFirstName()).isEqualTo("Jennifer"); + assertThat(teacher.getLastName()).isEqualTo("Brown"); + assertThat(teacher.getCourses()) + .hasSize(2) + .extracting(Course::getTitle) + .containsExactly("Statistics", "Math"); + } + + @Test + public void testLoadCourse() { + Course course = entityManager.find(Course.class, courseIds.get("Statistics")); + assertThat(course).isNotNull(); + assertThat(course.getTitle()).isEqualTo("Statistics"); + assertThat(course.getTeacher()) + .extracting(Teacher::getFirstName) + .isEqualTo("Jennifer"); + assertThat(course.getStudents()) + .hasSize(3) + .extracting(Student::getId) + .containsExactly(studentIds.get("John Smith"), studentIds.get("Robert Smith"), studentIds.get("Mary Smith")); + } + + @Test + public void testFindStudentsUsingHql() { + List studentsResult1 = entityManager.createQuery( + "from Student where lastName = :lastName order by firstName", + Student.class + ) + .setParameter("lastName", "Smith") + .getResultList(); + + assertThat(studentsResult1) + .hasSize(3) + .extracting(Student::getId) + .containsExactly(studentIds.get("John Smith"), studentIds.get("Mary Smith"), studentIds.get("Robert Smith")); + + List studentsResult2 = entityManager.createQuery( + "select s from Course as c inner join c.students as s where c.title = :courseTitle", + Student.class + ) + .setParameter("courseTitle", "Math") + .getResultList(); + + assertThat(studentsResult2) + .hasSize(4) + .extracting(Student::getId) + .containsExactly(studentIds.get("John Smith"), studentIds.get("Robert Smith"), studentIds.get("Mary Smith"), studentIds.get("Patricia Miller")); + } + + @Test + public void testFindCoursesUsingHql() { + List coursesResult = entityManager.createQuery( + "from Course where teacher.firstName = :teacherFirstName", + Course.class) + .setParameter("teacherFirstName", "Jennifer") + .getResultList(); + + assertThat(coursesResult) + .hasSize(2) + .extracting(Course::getId) + .containsExactly(courseIds.get("Statistics"), courseIds.get("Math")); + } + + private void prepareTestData() { + entityManager.getTransaction().begin(); + + Student student1 = createStudent("John", "Smith", Gender.MALE, 25); + Student student2 = createStudent("Robert", "Smith", Gender.MALE, 24); + Student student3 = createStudent("John", "Miller", Gender.MALE, 21); + Student student4 = createStudent("Mary", "Smith", Gender.FEMALE, 26); + Student student5 = createStudent("Patricia", "Miller", Gender.FEMALE, 21); + + Teacher teacher1 = createTeacher("Jennifer", "Brown"); + Teacher teacher2 = createTeacher("Richard", "Davis"); + + createCourse("Statistics", teacher1, Arrays.asList(student1, student2, student4)); + createCourse("Math", teacher1, Arrays.asList(student1, student2, student4, student5)); + createCourse("Design", teacher2, Arrays.asList(student3, student4, student5)); + + entityManager.getTransaction().commit(); + } + + private Student createStudent(String firstName, String lastName, Gender gender, int age) { + Student student = new Student(); + student.setFirstName(firstName); + student.setLastName(lastName); + student.setGender(gender); + student.setAge(age); + student.setBirthDate(new Date()); + entityManager.persist(student); + studentIds.put(firstName + " " + lastName, student.getId()); + return student; + } + + private Teacher createTeacher(String firstName, String lastName) { + Teacher teacher = new Teacher(); + teacher.setFirstName(firstName); + teacher.setLastName(lastName); + entityManager.persist(teacher); + teacherIds.put(firstName + " " + lastName, teacher.getId()); + return teacher; + } + + private Course createCourse(String title, Teacher teacher, List students) { + Course course = new Course(); + course.setTitle(title); + course.setTeacher(teacher); + course.setStudents(students); + entityManager.persist(course); + courseIds.put(title, course.getId()); + + CourseMaterial courseMaterial = new CourseMaterial(); + courseMaterial.setUrl(title + "Url"); + courseMaterial.setCourse(course); + entityManager.persist(courseMaterial); + return course; + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/AdditionalMetadataTest.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/AdditionalMetadataTest.java new file mode 100644 index 000000000..0f5504cb8 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/AdditionalMetadataTest.java @@ -0,0 +1,37 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core; + +import org.jboss.logging.Logger; +import org.junit.jupiter.api.Test; + +import java.lang.reflect.Constructor; + +import static org.assertj.core.api.Assertions.assertThat; + +class AdditionalMetadataTest { + + // Hibernate 6 removed the legacy HQL AST classes used previously. + // Keep this list empty to avoid referencing removed classes while still exercising the logic. + private static final Class[] queryParsingClasses = new Class[]{ + }; + + @Test + public void testQueryParsingDefaultConstructors() throws Exception { + for (Class c : queryParsingClasses) { + Constructor constructor = c.getConstructor(); + assertThat(constructor).isNotNull(); + } + } + + @Test + public void testLoggers() throws Exception { + Class c = Class.forName("org.hibernate.internal.log.UrlMessageBundle_$logger"); + Constructor constructor = c.getConstructor(Logger.class); + assertThat(constructor).isNotNull(); + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/H2DialectHibernateTest.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/H2DialectHibernateTest.java new file mode 100644 index 000000000..eb0a2f19f --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/H2DialectHibernateTest.java @@ -0,0 +1,20 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core; + +public class H2DialectHibernateTest extends AbstractHibernateTest { + + @Override + protected String getJdbcUrl() { + return "jdbc:h2:mem:test"; + } + + @Override + protected String getHibernateDialect() { + return "org.hibernate.dialect.H2Dialect"; + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/HibernateDialectTest.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/HibernateDialectTest.java new file mode 100644 index 000000000..5f68fea26 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/HibernateDialectTest.java @@ -0,0 +1,46 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core; + +import org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl; +import org.hibernate.boot.registry.selector.internal.StrategySelectorImpl; +import org.hibernate.dialect.Dialect; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.Arguments; +import org.junit.jupiter.params.provider.MethodSource; + +import java.util.Arrays; +import java.util.List; +import java.util.stream.Stream; + +import static org.assertj.core.api.Assertions.assertThat; + +public class HibernateDialectTest { + + @ParameterizedTest + @MethodSource("provideHibernateDialects") + void testHibernateDialects(String hibernateDialect) { + StrategySelectorImpl strategySelector = new StrategySelectorImpl(new ClassLoaderServiceImpl()); + Dialect dialect = strategySelector.resolveStrategy(Dialect.class, hibernateDialect); + assertThat(dialect).isNotNull(); + } + + private static Stream provideHibernateDialects() { + String dialectPackage = "org.hibernate.dialect."; + + List hibernateDialects = Arrays.asList( + "H2Dialect", + "MariaDBDialect", + "MySQLDialect", + "OracleDialect", + "PostgreSQLDialect", + "SQLServerDialect" + ); + + return hibernateDialects.stream().map(dialect -> Arguments.of(dialectPackage + dialect)); + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/IdentifierGeneratorTest.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/IdentifierGeneratorTest.java new file mode 100644 index 000000000..07e9c84e6 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/IdentifierGeneratorTest.java @@ -0,0 +1,36 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core; + +import org.junit.jupiter.api.Test; + +import java.lang.reflect.Constructor; + +import static org.assertj.core.api.Assertions.assertThat; + +public class IdentifierGeneratorTest { + + private static final Class[] identifierGenerators = new Class[]{ + org.hibernate.id.UUIDGenerator.class, + org.hibernate.id.GUIDGenerator.class, + org.hibernate.id.UUIDHexGenerator.class, + org.hibernate.id.Assigned.class, + org.hibernate.id.IdentityGenerator.class, + org.hibernate.id.SelectGenerator.class, + org.hibernate.id.enhanced.SequenceStyleGenerator.class, + org.hibernate.id.IncrementGenerator.class, + org.hibernate.id.ForeignGenerator.class + }; + + @Test + public void testIdentifierGenerators() throws Exception { + for (Class clazz : identifierGenerators) { + Constructor constructor = clazz.getConstructor(); + assertThat(constructor).isNotNull(); + } + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/MSSQLDialectHibernateTest.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/MSSQLDialectHibernateTest.java new file mode 100644 index 000000000..4b4ad23cf --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/MSSQLDialectHibernateTest.java @@ -0,0 +1,20 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core; + +public class MSSQLDialectHibernateTest extends AbstractHibernateTest { + + @Override + protected String getJdbcUrl() { + return "jdbc:h2:mem:test;MODE=MSSQLServer;DATABASE_TO_LOWER=TRUE"; + } + + @Override + protected String getHibernateDialect() { + return "org.hibernate.dialect.SQLServerDialect"; + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/MariaDBDialectHibernateTest.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/MariaDBDialectHibernateTest.java new file mode 100644 index 000000000..b6ad39464 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/MariaDBDialectHibernateTest.java @@ -0,0 +1,22 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core; + +public class MariaDBDialectHibernateTest extends AbstractHibernateTest { + + @Override + protected String getJdbcUrl() { + // use MYSQL mode instead of MariaDB which fails in h2 + // when parsing `engine=InnoDB` in create table statement + return "jdbc:h2:mem:test;MODE=MYSQL"; + } + + @Override + protected String getHibernateDialect() { + return "org.hibernate.dialect.MariaDBDialect"; + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/MySQLDialectHibernateTest.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/MySQLDialectHibernateTest.java new file mode 100644 index 000000000..1be682d4c --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/MySQLDialectHibernateTest.java @@ -0,0 +1,20 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core; + +public class MySQLDialectHibernateTest extends AbstractHibernateTest { + + @Override + protected String getJdbcUrl() { + return "jdbc:h2:mem:test;MODE=MYSQL"; + } + + @Override + protected String getHibernateDialect() { + return "org.hibernate.dialect.MySQLDialect"; + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/OptimizerTest.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/OptimizerTest.java new file mode 100644 index 000000000..58e2100df --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/OptimizerTest.java @@ -0,0 +1,29 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core; + +import org.hibernate.id.enhanced.Optimizer; +import org.hibernate.id.enhanced.OptimizerFactory; +import org.hibernate.id.enhanced.StandardOptimizerDescriptor; +import org.junit.jupiter.api.Test; + +import static org.assertj.core.api.Assertions.assertThat; + +public class OptimizerTest { + + @Test + public void testOptimizers() { + for (StandardOptimizerDescriptor optimizerDescriptor : StandardOptimizerDescriptor.values()) { + Optimizer optimizer = OptimizerFactory.buildOptimizer( + optimizerDescriptor.getExternalName(), + Long.class, + 50, + 1); + assertThat(optimizer).isNotNull(); + } + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/OracleDialectHibernateTest.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/OracleDialectHibernateTest.java new file mode 100644 index 000000000..5e7e0858c --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/OracleDialectHibernateTest.java @@ -0,0 +1,20 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core; + +public class OracleDialectHibernateTest extends AbstractHibernateTest { + + @Override + protected String getJdbcUrl() { + return "jdbc:h2:mem:test;MODE=Oracle;DEFAULT_NULL_ORDERING=HIGH"; + } + + @Override + protected String getHibernateDialect() { + return "org.hibernate.dialect.OracleDialect"; + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/PostgresDialectHibernateTest.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/PostgresDialectHibernateTest.java new file mode 100644 index 000000000..4d3de08ca --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/PostgresDialectHibernateTest.java @@ -0,0 +1,20 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core; + +public class PostgresDialectHibernateTest extends AbstractHibernateTest { + + @Override + protected String getJdbcUrl() { + return "jdbc:h2:mem:test;MODE=PostgreSQL;DATABASE_TO_LOWER=TRUE;DEFAULT_NULL_ORDERING=HIGH"; + } + + @Override + protected String getHibernateDialect() { + return "org.hibernate.dialect.PostgreSQLDialect"; + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/entity/Course.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/entity/Course.java new file mode 100644 index 000000000..096d5ca60 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/entity/Course.java @@ -0,0 +1,103 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core.entity; + +import jakarta.persistence.Entity; +import jakarta.persistence.GeneratedValue; +import jakarta.persistence.GenerationType; +import jakarta.persistence.Id; +import jakarta.persistence.JoinColumn; +import jakarta.persistence.JoinTable; +import jakarta.persistence.ManyToMany; +import jakarta.persistence.ManyToOne; +import jakarta.persistence.OneToOne; +import jakarta.persistence.Table; +import java.util.List; +import java.util.Objects; + +@Entity +@Table(name = "COURSE") +public class Course { + + @Id + @GeneratedValue(strategy = GenerationType.TABLE, generator = "course_gen") + private Long id; + + private String title; + + @ManyToOne + @JoinColumn(name = "TEACHER_ID", referencedColumnName = "ID") + private Teacher teacher; + + @OneToOne(mappedBy = "course") + private CourseMaterial material; + + @ManyToMany + @JoinTable( + name = "STUDENTS_COURSES", + joinColumns = @JoinColumn(name = "COURSE_ID", referencedColumnName = "ID"), + inverseJoinColumns = @JoinColumn(name = "STUDENT_ID", referencedColumnName = "ID") + ) + private List students; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public Teacher getTeacher() { + return teacher; + } + + public void setTeacher(Teacher teacher) { + this.teacher = teacher; + } + + public CourseMaterial getMaterial() { + return material; + } + + public void setMaterial(CourseMaterial material) { + this.material = material; + } + + public List getStudents() { + return students; + } + + public void setStudents(List students) { + this.students = students; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Course course = (Course) o; + return Objects.equals(getTitle(), course.getTitle()); + } + + @Override + public int hashCode() { + return Objects.hash(getTitle()); + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/entity/CourseMaterial.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/entity/CourseMaterial.java new file mode 100644 index 000000000..0bcedd664 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/entity/CourseMaterial.java @@ -0,0 +1,72 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core.entity; + +import jakarta.persistence.Entity; +import jakarta.persistence.GeneratedValue; +import jakarta.persistence.GenerationType; +import jakarta.persistence.Id; +import jakarta.persistence.JoinColumn; +import jakarta.persistence.OneToOne; +import jakarta.persistence.Table; +import java.util.Objects; + +@Entity +@Table(name = "COURSE_MATERIAL") +public class CourseMaterial { + + @Id + @GeneratedValue(strategy = GenerationType.TABLE, generator = "course_material_gen") + private Long id; + + private String url; + + @OneToOne(optional = false) + @JoinColumn(name = "COURSE_ID", referencedColumnName = "ID") + private Course course; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getUrl() { + return url; + } + + public void setUrl(String url) { + this.url = url; + } + + public Course getCourse() { + return course; + } + + public void setCourse(Course course) { + this.course = course; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CourseMaterial that = (CourseMaterial) o; + return Objects.equals(getUrl(), that.getUrl()); + } + + @Override + public int hashCode() { + return Objects.hash(getUrl()); + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/entity/Gender.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/entity/Gender.java new file mode 100644 index 000000000..f29fa94e5 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/entity/Gender.java @@ -0,0 +1,12 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core.entity; + +public enum Gender { + MALE, + FEMALE +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/entity/Student.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/entity/Student.java new file mode 100644 index 000000000..4d71b83bc --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/entity/Student.java @@ -0,0 +1,105 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core.entity; + +import jakarta.persistence.Entity; +import jakarta.persistence.EnumType; +import jakarta.persistence.Enumerated; +import jakarta.persistence.GeneratedValue; +import jakarta.persistence.GenerationType; +import jakarta.persistence.Id; +import jakarta.persistence.Table; +import jakarta.persistence.Temporal; +import jakarta.persistence.TemporalType; +import java.util.Date; +import java.util.Objects; + +@Entity +@Table(name = "STUDENT") +public class Student { + + @Id + @GeneratedValue(strategy = GenerationType.TABLE, generator = "student_gen") + private Long id; + + private String firstName; + + private String lastName; + + private Integer age; + + @Temporal(TemporalType.DATE) + private Date birthDate; + + @Enumerated(EnumType.STRING) + private Gender gender; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getFirstName() { + return firstName; + } + + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + public String getLastName() { + return lastName; + } + + public void setLastName(String lastName) { + this.lastName = lastName; + } + + public Integer getAge() { + return age; + } + + public void setAge(Integer age) { + this.age = age; + } + + public Date getBirthDate() { + return birthDate; + } + + public void setBirthDate(Date birthDate) { + this.birthDate = birthDate; + } + + public Gender getGender() { + return gender; + } + + public void setGender(Gender gender) { + this.gender = gender; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Student student = (Student) o; + return Objects.equals(getFirstName(), student.getFirstName()) && Objects.equals(getLastName(), student.getLastName()); + } + + @Override + public int hashCode() { + return Objects.hash(getFirstName(), getLastName()); + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/entity/Teacher.java b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/entity/Teacher.java new file mode 100644 index 000000000..90ea4c148 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/java/org_hibernate/hibernate_core/entity/Teacher.java @@ -0,0 +1,81 @@ +/* + * Copyright and related rights waived via CC0 + * + * You should have received a copy of the CC0 legalcode along with this + * work. If not, see . + */ +package org_hibernate.hibernate_core.entity; + +import jakarta.persistence.Entity; +import jakarta.persistence.GeneratedValue; +import jakarta.persistence.GenerationType; +import jakarta.persistence.Id; +import jakarta.persistence.OneToMany; +import jakarta.persistence.Table; +import java.util.List; +import java.util.Objects; + +@Entity +@Table(name = "TEACHER") +public class Teacher { + + @Id + @GeneratedValue(strategy = GenerationType.TABLE, generator = "teacher_gen") + private Long id; + + private String firstName; + + private String lastName; + + @OneToMany(mappedBy = "teacher") + private List courses; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getFirstName() { + return firstName; + } + + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + public String getLastName() { + return lastName; + } + + public void setLastName(String lastName) { + this.lastName = lastName; + } + + public List getCourses() { + return courses; + } + + public void setCourses(List courses) { + this.courses = courses; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Teacher teacher = (Teacher) o; + return Objects.equals(getFirstName(), teacher.getFirstName()) && Objects.equals(getLastName(), teacher.getLastName()); + } + + @Override + public int hashCode() { + return Objects.hash(getFirstName(), getLastName()); + } +} diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/resources/META-INF/native-image/dto-runtime-hints/reflect-config.json b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/resources/META-INF/native-image/dto-runtime-hints/reflect-config.json new file mode 100644 index 000000000..3a19702ed --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/resources/META-INF/native-image/dto-runtime-hints/reflect-config.json @@ -0,0 +1,117 @@ +[ + { + "name": "org_hibernate.hibernate_core.entity.Course", + "queryAllDeclaredMethods": true, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true, + "methods": [ + { + "name": "", + "parameterTypes": [] + }, + { + "name": "equals", + "parameterTypes": [ + "java.lang.Object" + ] + }, + { + "name": "getId", + "parameterTypes": [] + }, + { + "name": "setId", + "parameterTypes": [ + "java.lang.Long" + ] + } + ] + }, + { + "name": "org_hibernate.hibernate_core.entity.CourseMaterial", + "queryAllDeclaredMethods": true, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true, + "methods": [ + { + "name": "", + "parameterTypes": [] + }, + { + "name": "equals", + "parameterTypes": [ + "java.lang.Object" + ] + }, + { + "name": "getId", + "parameterTypes": [] + }, + { + "name": "setId", + "parameterTypes": [ + "java.lang.Long" + ] + } + ] + }, + { + "name": "org_hibernate.hibernate_core.entity.Gender" + }, + { + "name": "org_hibernate.hibernate_core.entity.Student", + "queryAllDeclaredMethods": true, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true, + "methods": [ + { + "name": "", + "parameterTypes": [] + }, + { + "name": "equals", + "parameterTypes": [ + "java.lang.Object" + ] + }, + { + "name": "getId", + "parameterTypes": [] + }, + { + "name": "setId", + "parameterTypes": [ + "java.lang.Long" + ] + } + ] + }, + { + "name": "org_hibernate.hibernate_core.entity.Teacher", + "queryAllDeclaredMethods": true, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true, + "methods": [ + { + "name": "", + "parameterTypes": [] + }, + { + "name": "equals", + "parameterTypes": [ + "java.lang.Object" + ] + }, + { + "name": "getId", + "parameterTypes": [] + }, + { + "name": "setId", + "parameterTypes": [ + "java.lang.Long" + ] + } + ] + } +] diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/resources/META-INF/native-image/dto-runtime-hints/resource-config.json b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/resources/META-INF/native-image/dto-runtime-hints/resource-config.json new file mode 100644 index 000000000..ab5e5a076 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/resources/META-INF/native-image/dto-runtime-hints/resource-config.json @@ -0,0 +1,14 @@ +{ + "resources": { + "includes": [ + { + "pattern": "\\Qlogback.xml\\E", + "condition": { + "typeReachable": "ch.qos.logback.core.util.Loader" + } + } + ] + }, + "bundles": [ + ] +} \ No newline at end of file diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/resources/META-INF/persistence.xml b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/resources/META-INF/persistence.xml new file mode 100644 index 000000000..ab24238c0 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/resources/META-INF/persistence.xml @@ -0,0 +1,19 @@ + + + org_hibernate.hibernate_core.entity.Student + org_hibernate.hibernate_core.entity.Teacher + org_hibernate.hibernate_core.entity.Course + org_hibernate.hibernate_core.entity.CourseMaterial + + + + + + + + + + diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/resources/hibernate.properties b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/resources/hibernate.properties new file mode 100644 index 000000000..35396da22 --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/resources/hibernate.properties @@ -0,0 +1 @@ +hibernate.bytecode.provider=none \ No newline at end of file diff --git a/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/resources/logback.xml b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/resources/logback.xml new file mode 100644 index 000000000..d5c309b9c --- /dev/null +++ b/tests/src/org.hibernate/hibernate-core/6.0.0.Final/src/test/resources/logback.xml @@ -0,0 +1,18 @@ + + + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + + + + + +