public boolean write_state (Uid objUid, String tName, OutputObjectState state, int s, String tableName) throws ObjectStoreException
{
boolean result = false;
int imageSize = (int) state.length();
if (imageSize > _maxStateSize)
throw new ObjectStoreException("Object state is too large - maximum size allowed: " + _maxStateSize);
byte[] b = state.buffer();
if (imageSize > 0 && storeValid())
{
int pool = getPool();
try