try {
connection = factory.getDataSource().getConnection();
byte[] data = factory.getAdapter().doLoadData(connection, name + ":" + id);
Object result = null;
if (data != null) {
ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(data));
result = ois.readObject();
factory.getAdapter().doRemoveData(connection, name + ":" + id);
}
return result;
} catch (Exception e) {