* @throws Exception if the test fails
*/
public void testUpdateClobs() throws Exception
{
ClobTypePeer.doDelete(new Criteria());
ClobType clobType = fillAndSaveClobType(
new ClobType(),
40000,
"1234567890abcdefghijklmnopqrstuvwxyz");
clobType = ClobTypePeer.doSelectSingleRecord(new Criteria());
fillAndSaveClobType(
clobType,
50000,
"0987654321abcdefghijklmnopqrstuvwxyz");
// read the ClobTypes from the database
// and check the values against the original values
List<ClobType> clobTypeList = ClobTypePeer.doSelect(new Criteria());
assertEquals(1, clobTypeList.size());
ClobType readClobType = clobTypeList.get(0);
assertEquals(clobType.getClobValue(), readClobType.getClobValue());
}