These don't *really* override anything so we can't mark them as such as JDK 1.5
will do le freak out.
This commit is contained in:
@@ -1034,8 +1034,8 @@ public class DepotMarshaller<T extends PersistentRecord>
|
||||
throws DatabaseException
|
||||
{
|
||||
return ctx.invoke(new Query.Trivial<TableMetaData>() {
|
||||
@Override public TableMetaData invoke (PersistenceContext ctx, Connection conn,
|
||||
DatabaseLiaison dl) throws SQLException {
|
||||
public TableMetaData invoke (PersistenceContext ctx, Connection conn,
|
||||
DatabaseLiaison dl) throws SQLException {
|
||||
return new TableMetaData(conn.getMetaData(), tableName);
|
||||
}
|
||||
public void updateStats (Stats stats) {
|
||||
|
||||
@@ -66,7 +66,7 @@ public class FindAllKeysQuery<T extends PersistentRecord> extends Query<List<Key
|
||||
return null; // TODO
|
||||
}
|
||||
|
||||
@Override // from Query
|
||||
// from Query
|
||||
public List<Key<T>> invoke (PersistenceContext ctx, Connection conn, DatabaseLiaison liaison)
|
||||
throws SQLException
|
||||
{
|
||||
@@ -87,7 +87,7 @@ public class FindAllKeysQuery<T extends PersistentRecord> extends Query<List<Key
|
||||
}
|
||||
}
|
||||
|
||||
@Override // from Query
|
||||
// from Query
|
||||
public void updateStats (Stats stats)
|
||||
{
|
||||
stats.noteQuery(0, 1, 0, 0); // one uncached query
|
||||
|
||||
@@ -85,7 +85,7 @@ public abstract class FindAllQuery<T extends PersistentRecord> extends Query<Lis
|
||||
return null; // TODO
|
||||
}
|
||||
|
||||
@Override // from Query
|
||||
// from Query
|
||||
public List<T> invoke (PersistenceContext ctx, Connection conn, DatabaseLiaison liaison)
|
||||
throws SQLException
|
||||
{
|
||||
@@ -153,7 +153,7 @@ public abstract class FindAllQuery<T extends PersistentRecord> extends Query<Lis
|
||||
return _fetchKeys.isEmpty() ? resolve(_keys, _entities) : null;
|
||||
}
|
||||
|
||||
@Override // from Query
|
||||
// from Query
|
||||
public List<T> invoke (PersistenceContext ctx, Connection conn, DatabaseLiaison liaison)
|
||||
throws SQLException
|
||||
{
|
||||
@@ -188,7 +188,7 @@ public abstract class FindAllQuery<T extends PersistentRecord> extends Query<Lis
|
||||
// not play nicely when records were evicted from the cache by primary key
|
||||
}
|
||||
|
||||
@Override // from Query
|
||||
// from Query
|
||||
public List<T> invoke (PersistenceContext ctx, Connection conn, DatabaseLiaison liaison)
|
||||
throws SQLException
|
||||
{
|
||||
@@ -213,7 +213,7 @@ public abstract class FindAllQuery<T extends PersistentRecord> extends Query<Lis
|
||||
}
|
||||
}
|
||||
|
||||
@Override // from Query
|
||||
// from Query
|
||||
public void updateStats (Stats stats)
|
||||
{
|
||||
stats.noteQuery(_cachedQueries, _uncachedQueries, _cachedRecords, _uncachedRecords);
|
||||
|
||||
@@ -69,7 +69,7 @@ public class FindOneQuery<T extends PersistentRecord> extends Query<T>
|
||||
return cvalue;
|
||||
}
|
||||
|
||||
@Override // from Query
|
||||
// from Query
|
||||
public T invoke (PersistenceContext ctx, Connection conn, DatabaseLiaison liaison)
|
||||
throws SQLException
|
||||
{
|
||||
@@ -109,7 +109,7 @@ public class FindOneQuery<T extends PersistentRecord> extends Query<T>
|
||||
}
|
||||
}
|
||||
|
||||
@Override // from Operation
|
||||
// from Operation
|
||||
public void updateStats (Stats stats)
|
||||
{
|
||||
stats.noteQuery(0, 0, _cachedRecords, 1-_cachedRecords);
|
||||
|
||||
Reference in New Issue
Block a user