Search in sources :

Example 11 with AbstractEntityMetamodelFacade

use of org.jboss.tools.hibernate.runtime.common.AbstractEntityMetamodelFacade in project jbosstools-hibernate by jbosstools.

the class EntityMetamodelFacadeTest method beforeEach.

@BeforeEach
public void beforeEach() throws Exception {
    entityMetamodel = createFooBarModel();
    entityMetamodelFacade = new AbstractEntityMetamodelFacade(FACADE_FACTORY, entityMetamodel) {
    };
}
Also used : AbstractEntityMetamodelFacade(org.jboss.tools.hibernate.runtime.common.AbstractEntityMetamodelFacade) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 12 with AbstractEntityMetamodelFacade

use of org.jboss.tools.hibernate.runtime.common.AbstractEntityMetamodelFacade in project jbosstools-hibernate by jbosstools.

the class EntityMetamodelFacadeTest method beforeEach.

@BeforeEach
public void beforeEach() throws Exception {
    entityMetamodel = createFooBarModel();
    entityMetamodelFacade = new AbstractEntityMetamodelFacade(FACADE_FACTORY, entityMetamodel) {
    };
}
Also used : AbstractEntityMetamodelFacade(org.jboss.tools.hibernate.runtime.common.AbstractEntityMetamodelFacade) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 13 with AbstractEntityMetamodelFacade

use of org.jboss.tools.hibernate.runtime.common.AbstractEntityMetamodelFacade in project jbosstools-hibernate by jbosstools.

the class EntityMetamodelFacadeTest method beforeEach.

@BeforeEach
public void beforeEach() throws Exception {
    entityMetamodel = createFooBarModel();
    entityMetamodelFacade = new AbstractEntityMetamodelFacade(FACADE_FACTORY, entityMetamodel) {
    };
}
Also used : AbstractEntityMetamodelFacade(org.jboss.tools.hibernate.runtime.common.AbstractEntityMetamodelFacade) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

AbstractEntityMetamodelFacade (org.jboss.tools.hibernate.runtime.common.AbstractEntityMetamodelFacade)13 BeforeEach (org.junit.jupiter.api.BeforeEach)9 ArrayList (java.util.ArrayList)4 StandardServiceRegistryBuilder (org.hibernate.boot.registry.StandardServiceRegistryBuilder)4 MetadataImplementor (org.hibernate.boot.spi.MetadataImplementor)4 Configuration (org.hibernate.cfg.Configuration)4 SessionFactoryImplementor (org.hibernate.engine.spi.SessionFactoryImplementor)4 Column (org.hibernate.mapping.Column)4 RootClass (org.hibernate.mapping.RootClass)4 SimpleValue (org.hibernate.mapping.SimpleValue)4 Table (org.hibernate.mapping.Table)4 ServiceRegistry (org.hibernate.service.ServiceRegistry)4 EntityMetamodel (org.hibernate.tuple.entity.EntityMetamodel)4 EntityTuplizer (org.hibernate.tuple.entity.EntityTuplizer)4 IEntityMetamodel (org.jboss.tools.hibernate.runtime.spi.IEntityMetamodel)4 Before (org.junit.Before)4