/** * ADVANCED: * This function is not supported for naming service other than JNDI or TransportManager.JNDI_NAMING_SERVICE. */ @Override public void setNamingServiceType(int serviceType) { if (serviceType != TransportManager.JNDI_NAMING_SERVICE) { throw ValidationException.operationNotSupported("setNamingServiceType"); } }
/** * Used to signal that this mapping references a protected/isolated entity and requires * special merge/object building behaviour. */ public void setIsCacheable(boolean cacheable) { if (!cacheable) { throw ValidationException.operationNotSupported("setIsCacheable"); } }
/** * Mapped records are not supported */ public MappedRecord createMappedRecord(String recordName) { throw ValidationException.operationNotSupported("createMappedRecord"); } }
/** * INTERNAL: * Creates a CollectionChangeEvent for the container */ public CollectionChangeEvent createChangeEvent(Object collectionOwner, String propertyName, Object collectionChanged, Object elementChanged, int changeType, Integer index, boolean isChangeApplied){ throw ValidationException.operationNotSupported("createChangeEvent"); }
/** * ADVANCED: * This function is not supported for naming service other than JNDI or TransportManager.JNDI_NAMING_SERVICE. */ @Override public void setNamingServiceType(int serviceType) { if (serviceType != TransportManager.JNDI_NAMING_SERVICE) { throw ValidationException.operationNotSupported("setNamingServiceType"); } }
/** * ADVANCED: * This funcation is not supported for naming service other than JNDI or TransportManager.JNDI_NAMING_SERVICE. */ public void setNamingServiceType(int serviceType) { if (serviceType != TransportManager.JNDI_NAMING_SERVICE) { throw ValidationException.operationNotSupported("setNamingServiceType"); } }
/** * Result sets are not supported. */ public ResultSetInfo getResultSetInfo() { throw ValidationException.operationNotSupported("getResultSetInfo"); } }
/** * Result sets are not supported. */ public ResultSetInfo getResultSetInfo() { throw ValidationException.operationNotSupported("getResultSetInfo"); }
/** * Result sets are not supported. */ public ResultSetInfo getResultSetInfo() { throw ValidationException.operationNotSupported("getResultSetInfo"); } }
/** * Result sets are not supported. */ public ResultSetInfo getResultSetInfo() { throw ValidationException.operationNotSupported("getResultSetInfo"); }
/** * INTERNAL: * Creates a CollectionChangeEvent for the container */ public CollectionChangeEvent createChangeEvent(Object collectionOwner, String propertyName, Object collectionChanged, Object elementChanged, int changeType, Integer index, boolean isChangeApplied){ throw ValidationException.operationNotSupported("createChangeEvent"); }
/** * Result sets are not supported. */ public ResultSetInfo getResultSetInfo() { throw ValidationException.operationNotSupported("getResultSetInfo"); } }
@Override public Object instantiateForUnitOfWorkValueHolder(UnitOfWorkValueHolder unitOfWorkValueHolder) { throw ValidationException.operationNotSupported("instantiateForUnitOfWorkValueHolder"); }
/** * INTERNAL: * No transactions should be used inside a HistoricalSession. */ public void commitTransaction() throws DatabaseException, ConcurrencyException { throw ValidationException.operationNotSupported(Helper.getShortClassName(getClass()) + ".commitTransaction"); }
/** * INTERNAL: * A UnitOfWork can not be acquired from a Historical Session. */ public UnitOfWorkImpl acquireUnitOfWork() { throw ValidationException.operationNotSupported(Helper.getShortClassName(getClass()) + ".acquireUnitOfWork"); }
/** * INTERNAL: * A UnitOfWork can not be acquired from a Historical Session. */ public UnitOfWorkImpl acquireUnitOfWork() { throw ValidationException.operationNotSupported(Helper.getShortClassName(getClass()) + ".acquireUnitOfWork"); }
/** * INTERNAL: * A UnitOfWork can not be acquired from a Historical Session. */ public UnitOfWorkImpl acquireUnitOfWork() { throw ValidationException.operationNotSupported(Helper.getShortClassName(getClass()) + ".acquireUnitOfWork"); }
/** * INTERNAL: * No transactions should be used inside a HistoricalSession. */ public void rollbackTransaction() throws DatabaseException, ConcurrencyException { throw ValidationException.operationNotSupported(Helper.getShortClassName(getClass()) + ".rollbackTransaction"); }
/** * INTERNAL: * No transactions should be used inside a HistoricalSession. */ public void beginTransaction() throws DatabaseException, ConcurrencyException { throw ValidationException.operationNotSupported(Helper.getShortClassName(getClass()) + ".beginTransaction"); }
/** * INTERNAL: * No transactions should be used inside a HistoricalSession. */ public void commitTransaction() throws DatabaseException, ConcurrencyException { throw ValidationException.operationNotSupported(Helper.getShortClassName(getClass()) + ".commitTransaction"); }