private Map<Object, Object> get(DBTable table, int pk) {
Connection conn = getConnection();
DBCommand cmd = db.createCommand();
cmd.select(table.getColumns());
cmd.where(table.getPrimaryKey().getColumns()[0].is(pk)); //i know there is just one pk-column ;-)
DBReader reader = openReader(cmd, conn);
Map<Object, Object> dep = null;
if (reader.moveNext()) {
dep = new HashMap<Object, Object>();
for (DBColumn col : table.getColumns()) {