@Test
@SuppressWarnings("unchecked")
public void testEntitiesInsertedInCurrentSessionAreFoundByNativeQuery() throws Exception {
OgmSession session = openSession();
Transaction transaction = session.beginTransaction();
String nativeQuery = "{ name : 'Her Voice' }";
Query query = session.createNativeQuery( nativeQuery )
.addEntity( OscarWildePoem.class );