/** * INTERNAL: * Acquires a special historical session for reading objects as of a past time. */ public org.eclipse.persistence.sessions.Session acquireHistoricalSession(org.eclipse.persistence.history.AsOfClause clause) throws ValidationException { throw ValidationException.cannotAcquireHistoricalSession(); }
/** * INTERNAL: * Acquires a special historical session for reading objects as of a past time. */ public org.eclipse.persistence.sessions.Session acquireHistoricalSession(org.eclipse.persistence.history.AsOfClause clause) throws ValidationException { throw ValidationException.cannotAcquireHistoricalSession(); }
/** * INTERNAL: * Acquires a special historical session for reading objects as of a past time. */ @Override public Session acquireHistoricalSession(AsOfClause clause) throws ValidationException { throw ValidationException.cannotAcquireHistoricalSession(); }
/** * INTERNAL: * Acquires a special historical session for reading objects as of a past time. */ public org.eclipse.persistence.sessions.Session acquireHistoricalSession(org.eclipse.persistence.history.AsOfClause clause) throws ValidationException { throw ValidationException.cannotAcquireHistoricalSession(); }
/** * INTERNAL: * Acquires a special historical session for reading objects as of a past time. */ public org.eclipse.persistence.sessions.Session acquireHistoricalSession(org.eclipse.persistence.history.AsOfClause clause) throws ValidationException { throw ValidationException.cannotAcquireHistoricalSession(); }
/** * INTERNAL: * Acquires a special historical session for reading objects as of a past time. */ public org.eclipse.persistence.sessions.Session acquireHistoricalSession(org.eclipse.persistence.history.AsOfClause clause) throws ValidationException { throw ValidationException.cannotAcquireHistoricalSession(); }
/** * INTERNAL: * Acquires a special historical session for reading objects as of a past time. */ public org.eclipse.persistence.sessions.Session acquireHistoricalSession(org.eclipse.persistence.history.AsOfClause clause) throws org.eclipse.persistence.exceptions.ValidationException { throw org.eclipse.persistence.exceptions.ValidationException.cannotAcquireHistoricalSession(); }
/** * INTERNAL: * Acquires a special historical session for reading objects as of a past time. */ public org.eclipse.persistence.sessions.Session acquireHistoricalSession(org.eclipse.persistence.history.AsOfClause clause) throws ValidationException { throw ValidationException.cannotAcquireHistoricalSession(); }
/** * INTERNAL: * Acquires a special historical session for reading objects as of a past time. */ @Override public org.eclipse.persistence.sessions.Session acquireHistoricalSession(org.eclipse.persistence.history.AsOfClause clause) throws ValidationException { throw ValidationException.cannotAcquireHistoricalSession(); }
/** * INTERNAL: * Acquires a special historical session for reading objects as of a past time. */ @Override public Session acquireHistoricalSession(AsOfClause clause) throws ValidationException { throw ValidationException.cannotAcquireHistoricalSession(); }
/** * INTERNAL: * Acquires a special historical session for reading objects as of a past time. */ public org.eclipse.persistence.sessions.Session acquireHistoricalSession(org.eclipse.persistence.history.AsOfClause clause) throws ValidationException { throw ValidationException.cannotAcquireHistoricalSession(); }
/** * INTERNAL: * Acquires a special historical session for reading objects as of a past time. */ public org.eclipse.persistence.sessions.Session acquireHistoricalSession(org.eclipse.persistence.history.AsOfClause clause) throws ValidationException { throw ValidationException.cannotAcquireHistoricalSession(); }
/** * INTERNAL: * Acquires a special historical session for reading objects as of a past time. */ public org.eclipse.persistence.sessions.Session acquireHistoricalSession(AsOfClause clause) throws ValidationException { if (isServerSessionBroker()) { throw ValidationException.cannotAcquireHistoricalSession(); } // ? logMessage("acquire_client_session_broker", (Object[])null); SessionBroker historicalBroker = copySessionBroker(); String sessionName; AbstractSession session; Iterator names = this.getSessionsByName().keySet().iterator(); while (names.hasNext()) { sessionName = (String)names.next(); session = getSessionForName(sessionName); historicalBroker.registerSession(sessionName, session.acquireHistoricalSession(clause)); } return historicalBroker; }
/** * INTERNAL: * Acquires a special historical session for reading objects as of a past time. */ public org.eclipse.persistence.sessions.Session acquireHistoricalSession(AsOfClause clause) throws ValidationException { if (isServerSessionBroker()) { throw ValidationException.cannotAcquireHistoricalSession(); } // ? logMessage("acquire_client_session_broker", (Object[])null); SessionBroker historicalBroker = copySessionBroker(); historicalBroker.parent = this; String sessionName; AbstractSession session; Iterator names = this.getSessionsByName().keySet().iterator(); while (names.hasNext()) { sessionName = (String)names.next(); session = getSessionForName(sessionName); historicalBroker.registerSession(sessionName, (AbstractSession)session.acquireHistoricalSession(clause)); } return historicalBroker; }
/** * INTERNAL: * Acquires a special historical session for reading objects as of a past time. */ public org.eclipse.persistence.sessions.Session acquireHistoricalSession(AsOfClause clause) throws ValidationException { if (isServerSessionBroker()) { throw ValidationException.cannotAcquireHistoricalSession(); } // ? logMessage("acquire_client_session_broker", (Object[])null); SessionBroker historicalBroker = copySessionBroker(); historicalBroker.parent = this; String sessionName; AbstractSession session; Iterator names = this.getSessionsByName().keySet().iterator(); while (names.hasNext()) { sessionName = (String)names.next(); session = getSessionForName(sessionName); historicalBroker.registerSession(sessionName, (AbstractSession)session.acquireHistoricalSession(clause)); } return historicalBroker; }
/** * INTERNAL: * Constructs a HistoricalSession given a valid AsOfClause. */ public org.eclipse.persistence.sessions.Session acquireHistoricalSession(AsOfClause clause) throws ValidationException { if ((clause == null) || (clause.getValue() == null)) { throw ValidationException.cannotAcquireHistoricalSession(); } if (!getProject().hasGenericHistorySupport() && !hasBroker() && ((getPlatform() == null) || !getPlatform().isOracle())) { throw ValidationException.historicalSessionOnlySupportedOnOracle(); } return new HistoricalSession(this, clause); }
/** * INTERNAL: * Constructs a HistoricalSession given a valid AsOfClause. */ public org.eclipse.persistence.sessions.Session acquireHistoricalSession(AsOfClause clause) throws ValidationException { if ((clause == null) || (clause.getValue() == null)) { throw ValidationException.cannotAcquireHistoricalSession(); } if (!getProject().hasGenericHistorySupport() && !hasBroker() && ((getPlatform() == null) || !getPlatform().isOracle())) { throw ValidationException.historicalSessionOnlySupportedOnOracle(); } return new HistoricalSession(this, clause); }
/** * INTERNAL: * Constructs a HistoricalSession given a valid AsOfClause. */ @Override public org.eclipse.persistence.sessions.Session acquireHistoricalSession(AsOfClause clause) throws ValidationException { if ((clause == null) || (clause.getValue() == null)) { throw ValidationException.cannotAcquireHistoricalSession(); } if (!getProject().hasGenericHistorySupport() && !hasBroker() && ((getPlatform() == null) || !getPlatform().isOracle())) { throw ValidationException.historicalSessionOnlySupportedOnOracle(); } return new HistoricalSession(this, clause); }