Codota Logo
SessionImplementor.isEventSource
Code IndexAdd Codota to your IDE (free)

How to use
isEventSource
method
in
org.hibernate.engine.spi.SessionImplementor

Best Java code snippets using org.hibernate.engine.spi.SessionImplementor.isEventSource (Showing top 13 results out of 315)

  • Common ways to obtain SessionImplementor
private void myMethod () {
SessionImplementor s =
  • Codota IconEntityManager entityManager;entityManager.unwrap(SessionImplementor.class)
  • Codota IconFlushEntityEvent flushEntityEvent;flushEntityEvent.getSession()
  • Codota IconLazyInitializer lazyInitializer;lazyInitializer.getSession()
  • Smart code suggestions by Codota
}
origin: hibernate/hibernate-orm

@Override
public boolean isEventSource() {
  return delegate.isEventSource();
}
origin: org.jboss.seam/jboss-seam

public boolean isEventSource()
{
 return ((SessionImplementor) delegate).isEventSource();
}
origin: org.hibernate.orm/hibernate-core

@Override
public boolean isEventSource() {
  return delegate.isEventSource();
}
origin: riotfamily/riot

public boolean isEventSource() {
  return session.isEventSource();
}
origin: com.atlassian.hibernate/hibernate.adapter

@Override
public boolean isEventSource() {
  return getSessionImplementor().isEventSource();
}
origin: org.hibernate/com.springsource.org.hibernate.core

protected void coordinateSharedCacheCleanup(SessionImplementor session) {
  BulkOperationCleanupAction action = new BulkOperationCleanupAction( session, getAffectedQueryables() );
  if ( session.isEventSource() ) {
    ( ( EventSource ) session ).getActionQueue().addAction( action );
  }
  else {
    action.getAfterTransactionCompletionProcess().doAfterTransactionCompletion( true, session );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

protected void coordinateSharedCacheCleanup(SessionImplementor session) {
  BulkOperationCleanupAction action = new BulkOperationCleanupAction( session, getAffectedQueryables() );
  if ( session.isEventSource() ) {
    ( ( EventSource ) session ).getActionQueue().addAction( action );
  }
  else {
    action.getAfterTransactionCompletionProcess().doAfterTransactionCompletion( true, session );
  }
}
origin: org.hibernate/com.springsource.org.hibernate.core

protected void coordinateSharedCacheCleanup(SessionImplementor session) {
  BulkOperationCleanupAction action = new BulkOperationCleanupAction( session, getCustomQuery().getQuerySpaces() );
  if ( session.isEventSource() ) {
    ( ( EventSource ) session ).getActionQueue().addAction( action );
  }
  else {
    action.getAfterTransactionCompletionProcess().doAfterTransactionCompletion( true, session );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

protected void coordinateSharedCacheCleanup(SessionImplementor session) {
  BulkOperationCleanupAction action = new BulkOperationCleanupAction( session, getCustomQuery().getQuerySpaces() );
  if ( session.isEventSource() ) {
    ( ( EventSource ) session ).getActionQueue().addAction( action );
  }
  else {
    action.getAfterTransactionCompletionProcess().doAfterTransactionCompletion( true, session );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

if ( session.isEventSource() ) {
  pre = new PreLoadEvent( (EventSource) session );
  post = new PostLoadEvent( (EventSource) session );
origin: org.hibernate/com.springsource.org.hibernate.core

if ( session.isEventSource() ) {
  pre = new PreLoadEvent( (EventSource) session );
  post = new PostLoadEvent( (EventSource) session );
origin: org.hibernate/com.springsource.org.hibernate

if ( session.isEventSource() ) {
  preLoadEvent.setEntity( entity ).setState( hydratedState ).setId( id ).setPersister( persister );
  );
if ( session.isEventSource() ) {
  postLoadEvent.setEntity( entity ).setId( id ).setPersister( persister );
origin: org.hibernate/com.springsource.org.hibernate.core

if ( session.isEventSource() ) {
  preLoadEvent.setEntity( entity ).setState( hydratedState ).setId( id ).setPersister( persister );
  );
if ( session.isEventSource() ) {
  postLoadEvent.setEntity( entity ).setId( id ).setPersister( persister );
org.hibernate.engine.spiSessionImplementorisEventSource

Popular methods of SessionImplementor

  • getFactory
    Get the creating SessionFactoryImplementor
  • getTransactionCoordinator
  • connection
  • getPersistenceContext
    Get the persistence context for this session
  • getLoadQueryInfluencers
    Get the load query influencers associated with this session.
  • isTransactionInProgress
    Does this Session have an active Hibernate transaction or is there a JTA transaction in progress?
  • getEntityPersister
    Get the EntityPersister for any instance
  • getJdbcCoordinator
  • isClosed
    Determine whether the session is closed. Provided separately from #isOpen() as this method does not
  • flush
  • getTenantIdentifier
    Match te method on org.hibernate.Session and org.hibernate.StatelessSession
  • generateEntityKey
  • getTenantIdentifier,
  • generateEntityKey,
  • getContextEntityIdentifier,
  • isOpen,
  • bestGuessEntityName,
  • getFlushMode,
  • getSessionFactory,
  • guessEntityName,
  • immediateLoad,
  • initializeCollection

Popular in Java

  • Reading from database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • onCreateOptionsMenu (Activity)
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JOptionPane (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now