diff -r 7e24949b87b0 -r 08c214a5c52d src/org/sonews/storage/impl/HSQLDB.java --- a/src/org/sonews/storage/impl/HSQLDB.java Sat Sep 10 18:18:05 2011 +0200 +++ b/src/org/sonews/storage/impl/HSQLDB.java Mon Sep 12 20:24:40 2011 +0200 @@ -18,9 +18,8 @@ package org.sonews.storage.impl; import java.sql.SQLException; -import org.sonews.storage.Channel; +import org.sonews.storage.Group; import org.sonews.storage.Storage; -import org.sonews.storage.StorageBackendException; /** * A specialized JDBCDatabase supporting HSQLDB. @@ -39,7 +38,7 @@ protected void prepareCountGroupsStatement() throws SQLException { this.pstmtCountGroups = conn.prepareStatement( "SELECT Count(group_id) FROM groups WHERE " - + "BITAND(flags, " + Channel.DELETED + ") = 0"); + + "BITAND(flags, " + Group.DELETED + ") = 0"); } @Override