/** * This method is used to initialize the identity maps in the session. */ public synchronized void initializeAllIdentityMaps() { getSession().getIdentityMapAccessor().initializeAllIdentityMaps(); }
/** * This method is used to initialize the identity maps in the session. */ public synchronized void initializeAllIdentityMaps() { getSession().getIdentityMapAccessor().initializeAllIdentityMaps(); }
/** * INTERNAL: * Was PUBLIC: customer will be redirected to {@link org.eclipse.persistence.sessions.Session}. * Reset the entire object cache. * This method blows away both this session's and its parents caches, including the server cache or any other cache. * This throws away any objects that have been read in. * Extreme caution should be used before doing this because object identity will no longer * be maintained for any objects currently read in. This should only be called * if the application knows that it no longer has references to object held in the cache. */ public void initializeAllIdentityMaps() { ((ClientSession)session).getParent().getIdentityMapAccessor().initializeAllIdentityMaps(); }
/** * This method is used to initialize the identity maps in the session. */ public synchronized void initializeAllIdentityMaps() { getSession().getIdentityMapAccessor().initializeAllIdentityMaps(); }
/** * INTERNAL: * Was PUBLIC: customer will be redirected to {@link org.eclipse.persistence.sessions.Session}. * Reset the entire object cache. * This method blows away both this session's and its parents caches, including the server cache or any other cache. * This throws away any objects that have been read in. * Extreme caution should be used before doing this because object identity will no longer * be maintained for any objects currently read in. This should only be called * if the application knows that it no longer has references to object held in the cache. */ public void initializeAllIdentityMaps() { ((ClientSession)session).getParent().getIdentityMapAccessor().initializeAllIdentityMaps(); }
/** * INTERNAL: * Was PUBLIC: customer will be redirected to {@link org.eclipse.persistence.sessions.Session}. * Reset the entire object cache. * This method blows away both this session's and its parents caches, including the server cache or any other cache. * This throws away any objects that have been read in. * Extreme caution should be used before doing this because object identity will no longer * be maintained for any objects currently read in. This should only be called * if the application knows that it no longer has references to object held in the cache. */ public void initializeAllIdentityMaps() { ((ClientSession)session).getParent().getIdentityMapAccessor().initializeAllIdentityMaps(); }
/** * ADVANCED: * Resets the entire Object cache, and the Query cache. * <p> NOTE: Be careful using this method. This method blows away both this session's and its parent's caches. * This includes the server cache or any other cache. This throws away any Objects that have been read in. * Extreme caution should be used before doing this because Object identity will no longer * be maintained for any Objects currently read in. This should only be called * if the application knows that it no longer has references to Objects held in the cache. */ public void clear() { getEntityManagerFactory().verifyOpen(); getAccessor().initializeAllIdentityMaps(); }
/** * INTERNAL: * Reset the entire object cache, * ** be careful using this. * This method blows away both this session's and its parents caches, * this includes the server cache or any other cache. * This throws away any objects that have been read in. * Extreme caution should be used before doing this because object identity will no longer * be maintained for any objects currently read in. This should only be called * if the application knows that it no longer has references to object held in the cache. */ @Override public void initializeAllIdentityMaps() { super.initializeAllIdentityMaps(); ((UnitOfWorkImpl)this.session).getParent().getIdentityMapAccessor().initializeAllIdentityMaps(); }
/** * INTERNAL: * Reset the entire object cache, * ** be careful using this. * This method blows away both this session's and its parents caches, * this includes the server cache or any other cache. * This throws away any objects that have been read in. * Extreme caution should be used before doing this because object identity will no longer * be maintained for any objects currently read in. This should only be called * if the application knows that it no longer has references to object held in the cache. */ @Override public void initializeAllIdentityMaps() { super.initializeAllIdentityMaps(); ((UnitOfWorkImpl)this.session).getParent().getIdentityMapAccessor().initializeAllIdentityMaps(); }
/** * Initalize all the server side identity maps. */ public Transporter initializeIdentityMapsOnServerSession() { Transporter transporter = new Transporter(); try { getSession().getIdentityMapAccessor().initializeAllIdentityMaps(); } catch (RuntimeException exception) { transporter.setException(exception); } return transporter; }
/** * Initalize all the server side identity maps. */ public Transporter initializeIdentityMapsOnServerSession() { Transporter transporter = new Transporter(); try { getSession().getIdentityMapAccessor().initializeAllIdentityMaps(); } catch (RuntimeException exception) { transporter.setException(exception); } return transporter; }
/** * Initalize all the server side identity maps. */ public Transporter initializeIdentityMapsOnServerSession() { Transporter transporter = new Transporter(); try { getSession().getIdentityMapAccessor().initializeAllIdentityMaps(); } catch (RuntimeException exception) { transporter.setException(exception); } return transporter; }
/** * INTERNAL: * Reset the entire object cache, * ** be careful using this. * This method blows away both this session's and its parents caches, * this includes the server cache or any other cache. * This throws away any objects that have been read in. * Extreme caution should be used before doing this because object identity will no longer * be maintained for any objects currently read in. This should only be called * if the application knows that it no longer has references to object held in the cache. */ public void initializeAllIdentityMaps() { super.initializeAllIdentityMaps(); ((UnitOfWorkImpl)getSession()).getParent().getIdentityMapAccessor().initializeAllIdentityMaps(); } }