ocd = searchInJdbcConnectionDescriptor();
useConnectionLevelCache = true;
}
if(ocd == null)
{
throw new OJBRuntimeException("No object cache descriptor found for " + targetClass + ", using PBKey " + broker.getPBKey()
+ ". Please set a cache descriptor in jdbc-connection-descriptor or in class-descriptor");
}
else
{
// use a class-descriptor level cache