public T retrieve(Serializable key) throws ObjectStoreException
{
Object[] row = (Object[]) this.query(this.getSelectQuery(), this.arrayHandler, key);
if (row == null)
{
throw new ObjectDoesNotExistException(CoreMessages.objectNotFound(key));
}
else
{
return (T) row[1];
}