ByteArrayOutputStream bout= new ByteArrayOutputStream();
ObjectOutputStream oout=new ObjectOutputStream(bout);
oout.writeObject(object);
oout.close();
value=bout.toByteArray();
<BUG>statementPropertyWrite=m_pool.getPreparedStatement(C_SYSTEMPROPERTIES_WRITE_KEY);
statementPropertyWrite.setString(1,name);
statementPropertyWrite.setBytes(2,value);
statementPropertyWrite.executeUpdate();
m_pool.putPreparedStatement(C_SYSTEMPROPERTIES_WRITE_KEY,statementPropertyWrite);
} catch (SQLException e){
m_pool.putPreparedStatement(C_SYSTEMPROPERTIES_WRITE_KEY,statementPropertyWrite);
throw new CmsException("["+this.getClass().getName()+"]"+e.getMessage(),CmsException.C_SQL_ERROR, e);</BUG>
} catch (IOException e){

ByteArrayOutputStream bout= new ByteArrayOutputStream();
ObjectOutputStream oout=new ObjectOutputStream(bout);
oout.writeObject(object);
oout.close();
value=bout.toByteArray();
statement=m_pool.getPreparedStatement(C_SYSTEMPROPERTIES_WRITE_KEY);
statement.setString(1,name);
statement.setBytes(2,value);
statement.executeUpdate();
m_pool.putPreparedStatement(C_SYSTEMPROPERTIES_WRITE_KEY,statement);
