getMetadata().setNamedPLSQLStoredProcedureQueries(new ArrayList<NamedPLSQLStoredProcedureQueryMetadata>());
getMetadata().setSqlResultSetMappings(new ArrayList<SQLResultSetMappingMetadata>());
}
public CacheIndex addCacheIndex() {
CacheIndexImpl cacheIndex = new CacheIndexImpl();
getMetadata().getCacheIndexes().add(cacheIndex.getMetadata());
return cacheIndex;
}