attsetSent = new PreparedSentence(s,
"SELECT ID, NAME FROM ATTRIBUTESET WHERE ID = ?",
SerializerWriteString.INSTANCE,
new SerializerRead() { public Object readValues(DataRead dr) throws BasicException {
return new AttributeSetInfo(dr.getString(1), dr.getString(2));
}});
attsetinstExistsSent = new PreparedSentence(s,
"SELECT ID FROM ATTRIBUTESETINSTANCE WHERE ATTRIBUTESET_ID = ? AND DESCRIPTION = ?",
new SerializerWriteBasic(Datas.STRING, Datas.STRING),
SerializerReadString.INSTANCE);