Search in sources :

Example 6 with HibernateMappingExporter

use of org.hibernate.tool.hbm2x.HibernateMappingExporter in project jbosstools-hibernate by jbosstools.

the class FacadeFactoryTest method testCreateHibernateMappingExporter.

@Test
public void testCreateHibernateMappingExporter() {
    HibernateMappingExporter hibernateMappingExporter = new HibernateMappingExporter();
    IHibernateMappingExporter facade = facadeFactory.createHibernateMappingExporter(hibernateMappingExporter);
    Assert.assertSame(hibernateMappingExporter, ((IFacade) facade).getTarget());
}
Also used : HibernateMappingExporter(org.hibernate.tool.hbm2x.HibernateMappingExporter) IHibernateMappingExporter(org.jboss.tools.hibernate.runtime.spi.IHibernateMappingExporter) IHibernateMappingExporter(org.jboss.tools.hibernate.runtime.spi.IHibernateMappingExporter) Test(org.junit.Test)

Example 7 with HibernateMappingExporter

use of org.hibernate.tool.hbm2x.HibernateMappingExporter in project jbosstools-hibernate by jbosstools.

the class FacadeFactoryTest method testCreateHibernateMappingExporter.

@Test
public void testCreateHibernateMappingExporter() {
    HibernateMappingExporter hibernateMappingExporter = new HibernateMappingExporter();
    IHibernateMappingExporter facade = facadeFactory.createHibernateMappingExporter(hibernateMappingExporter);
    Assert.assertSame(hibernateMappingExporter, ((IFacade) facade).getTarget());
}
Also used : HibernateMappingExporter(org.hibernate.tool.hbm2x.HibernateMappingExporter) IHibernateMappingExporter(org.jboss.tools.hibernate.runtime.spi.IHibernateMappingExporter) IHibernateMappingExporter(org.jboss.tools.hibernate.runtime.spi.IHibernateMappingExporter) Test(org.junit.Test)

Example 8 with HibernateMappingExporter

use of org.hibernate.tool.hbm2x.HibernateMappingExporter in project jbosstools-hibernate by jbosstools.

the class FacadeFactoryTest method testCreateHibernateMappingExporter.

@Test
public void testCreateHibernateMappingExporter() {
    HibernateMappingExporter hibernateMappingExporter = new HibernateMappingExporter();
    IHibernateMappingExporter facade = facadeFactory.createHibernateMappingExporter(hibernateMappingExporter);
    Assert.assertSame(hibernateMappingExporter, ((IFacade) facade).getTarget());
}
Also used : HibernateMappingExporter(org.hibernate.tool.hbm2x.HibernateMappingExporter) IHibernateMappingExporter(org.jboss.tools.hibernate.runtime.spi.IHibernateMappingExporter) IHibernateMappingExporter(org.jboss.tools.hibernate.runtime.spi.IHibernateMappingExporter) Test(org.junit.Test)

Aggregations

HibernateMappingExporter (org.hibernate.tool.hbm2x.HibernateMappingExporter)8 IHibernateMappingExporter (org.jboss.tools.hibernate.runtime.spi.IHibernateMappingExporter)8 Test (org.junit.Test)8