Tabnine Logo
SessionImplementor.instantiate
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: hibernate/hibernate-orm

@Override
public Object instantiate(String entityName, Serializable id) throws HibernateException {
  return delegate.instantiate( entityName, id );
}
origin: hibernate/hibernate-orm

@Override
public Object instantiate(EntityPersister persister, Serializable id) throws HibernateException {
  return delegate.instantiate( persister, id );
}
origin: org.jboss.seam/jboss-seam

public Object instantiate(String paramString, Serializable paramSerializable) throws HibernateException
{
 return ((SessionImplementor) delegate).instantiate(paramString, paramSerializable);
}
origin: riotfamily/riot

public Object instantiate(String entityName, Serializable id)
    throws HibernateException {
  return session.instantiate(entityName, id);
}
origin: org.hibernate.orm/hibernate-core

@Override
public Object instantiate(String entityName, Object id) throws HibernateException {
  return delegate.instantiate( entityName, id );
}
origin: org.hibernate.orm/hibernate-core

@Override
public Object instantiate(EntityTypeDescriptor entityDescriptor, Object id) throws HibernateException {
  return delegate.instantiate( entityDescriptor, id );
}
origin: org.hibernate.orm/hibernate-core

/**
 * @deprecated (since 6.0) Use {@link #instantiate(EntityTypeDescriptor, Object)}
 */
@Deprecated
default Object instantiate(EntityTypeDescriptor entityDescriptor, Serializable id) throws HibernateException {
  return instantiate( entityDescriptor, (Object) id );
}
origin: com.atlassian.hibernate/hibernate.adapter

@Override
public Object instantiate(final EntityPersister persister, final Serializable id) throws HibernateException {
  return getSessionImplementor().instantiate(persister, id);
}
origin: com.atlassian.hibernate/hibernate.adapter

@Override
public Object instantiate(final String entityName, final Serializable id) throws HibernateException {
  return getSessionImplementor().instantiate(entityName, id);
}
origin: org.hibernate/com.springsource.org.hibernate

object = session.instantiate( instanceClass, key.getIdentifier() );
origin: org.hibernate/com.springsource.org.hibernate.core

object = session.instantiate( instanceClass, key.getIdentifier() );
org.hibernate.engine.spiSessionImplementorinstantiate

Javadoc

Instantiate the entity class, initializing with the given identifier

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

  • Reactive rest calls using spring rest template
  • setContentView (Activity)
  • getApplicationContext (Context)
  • findViewById (Activity)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Collectors (java.util.stream)
  • JComboBox (javax.swing)
  • JFrame (javax.swing)
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now