Object o = iQuery.getById( DatasetAnnotation.class, a.getId().longValue() ); assertNull( o );
    public void test_delete_annotation() throws Exception    {        String string = "delete_annotation"+System.currentTimeMillis();                Dataset d = new Dataset();        d.setName( string );                DatasetAnnotation a = new DatasetAnnotation();        a.setDataset( d );        a.setContent( string );                a = (DatasetAnnotation) iPojos.createDataObject( a, null );                iPojos.deleteDataObject( a, null );            }