@Test
@InSequence(3)
public void testManyToMany() throws Exception {
EntityTest test = lookup("EntityTest", EntityTest.class);
test.manyToManyCreate();
Flight f1 = test.findFlightById(new Long(1));
assertTrue("Name read from Hibernate is Airline 1", f1.getCompany().getName().equals("Airline 1"));
Flight f2 = test.findFlightById(new Long(2));