private List<ProtectionEntry> listAllDependingEntries(ProtectionEntry entry, ConnectionWrapper cw) throws SQLException
	{

		List<ProtectionEntry> res = dependingCache.get(entry);
		if (res==null)
		{
			res = new ArrayList<ProtectionEntry>();
			StringBuilder statement = new StringBuilder(100);
			statement.append("SELECT OWNER_TABLE, OWNER_ID FROM ");
			statement.append(Defaults.HAS_A_TABLENAME);
			statement.append(" WHERE PROPERTY_TABLE = ? AND PROPERTY_ID = ?");
			PreparedStatement ps = cw.prepareStatement(statement.toString());
			ps.setInt(1, entry.getPropertyTableNameId());
			ps.setLong(2, entry.getPropertyId());
			Tools.logFine(ps);
			try
			{
				ResultSet rs = ps.executeQuery();
				while (rs.next())
				{
					ProtectionEntry nuEntry = new ProtectionEntry(rs.getInt(1), rs.getLong(2));
					res.add(nuEntry);
				}
			}
			finally
			{
				ps.close();
			}
			dependingCache.put(entry, res);
		}
		return res;
	}