Extent
The Extent instance has two possible uses:
Query
342343344345346347348349350351352
try { tx.begin(); Extent extent = pm.getExtent( BuildDefinition.class, true ); Query query = pm.newQuery( extent ); query.declareParameters( "int scheduleId" );
5354555657585960616263
try { tx.begin(); Extent extent = pm.getExtent( RepositoryPurgeConfiguration.class, true ); Query query = pm.newQuery( extent ); query.declareParameters( "int scheduleId" );
8384858687888990919293
try { tx.begin(); Extent extent = pm.getExtent( RepositoryPurgeConfiguration.class, true ); Query query = pm.newQuery( extent ); query.declareParameters( "int repositoryId" );
try { tx.begin(); Extent extent = pm.getExtent( DirectoryPurgeConfiguration.class, true ); Query query = pm.newQuery( extent ); query.declareParameters( "int scheduleId" );
try { tx.begin(); Extent extent = pm.getExtent( DirectoryPurgeConfiguration.class, true ); Query query = pm.newQuery( extent ); query.declareImports( "import java.lang.String" );
115116117118119120121122123124125
6970717273747576777879
// this must be done in the same transaction tx.begin(); // first removing linked jdk Extent extent = pm.getExtent( Profile.class, true ); Query query = pm.newQuery( extent ); query.declareImports( "import java.lang.String" );
172173174175176177178179180181182
try { tx.begin(); Extent extent = pm.getExtent( Installation.class, true ); Query query = pm.newQuery( extent ); query.declareImports( "import java.lang.String" );
124125126127128129130131132133134
try { tx.begin(); Extent extent = pm.getExtent( BuildResult.class, true ); Query query = pm.newQuery( extent ); query.declareParameters( "int projectId" );
160161162163164165166167168169170
try { tx.begin(); Extent extent = pm.getExtent( BuildResult.class, true ); Query query = pm.newQuery( extent ); query.declareParameters( "int projectId, int buildDefinitionId" );