src/org/sonews/storage/impl/HSQLDB.java
changeset 120 bb1c8a7b774c
parent 45 7e24949b87b0
     1.1 --- a/src/org/sonews/storage/impl/HSQLDB.java	Sat Sep 10 18:18:05 2011 +0200
     1.2 +++ b/src/org/sonews/storage/impl/HSQLDB.java	Wed Dec 31 12:07:40 2014 +0100
     1.3 @@ -18,9 +18,8 @@
     1.4  package org.sonews.storage.impl;
     1.5  
     1.6  import java.sql.SQLException;
     1.7 -import org.sonews.storage.Channel;
     1.8 +import org.sonews.storage.Group;
     1.9  import org.sonews.storage.Storage;
    1.10 -import org.sonews.storage.StorageBackendException;
    1.11  
    1.12  /**
    1.13   * A specialized JDBCDatabase supporting HSQLDB.
    1.14 @@ -39,7 +38,7 @@
    1.15  	protected void prepareCountGroupsStatement() throws SQLException {
    1.16  		this.pstmtCountGroups = conn.prepareStatement(
    1.17  				"SELECT Count(group_id) FROM groups WHERE "
    1.18 -				+ "BITAND(flags, " + Channel.DELETED + ") = 0");
    1.19 +				+ "BITAND(flags, " + Group.DELETED + ") = 0");
    1.20  	}
    1.21  
    1.22  	@Override