Tabnine Logo
CollectionAliases.getSuffixedIdentifierAlias
Code IndexAdd Tabnine to your IDE (free)

How to use
getSuffixedIdentifierAlias
method
in
org.hibernate.loader.CollectionAliases

Best Java code snippets using org.hibernate.loader.CollectionAliases.getSuffixedIdentifierAlias (Showing top 5 results out of 315)

origin: hibernate/hibernate-orm

@Override
public Object readFrom(
    ResultSet rs,
    CollectionPersister persister,
    CollectionAliases descriptor,
    Object owner) throws HibernateException, SQLException {
  final Object element = persister.readElement( rs, owner, descriptor.getSuffixedElementAliases(), getSession() );
  final Object old = identifiers.put(
    values.size(),
    persister.readIdentifier( rs, descriptor.getSuffixedIdentifierAlias(), getSession() )
  );
  if ( old == null ) {
    //maintain correct duplication if loaded in a cartesian product
    values.add( element );
  }
  return element;
}
origin: hibernate/hibernate

public Object readFrom(
  ResultSet rs,
  CollectionPersister persister,
  CollectionAliases descriptor,
  Object owner)
  throws HibernateException, SQLException {
  Object element = persister.readElement( rs, owner, descriptor.getSuffixedElementAliases(), getSession() );
  Object old = identifiers.put(
    new Integer( values.size() ),
    persister.readIdentifier( rs, descriptor.getSuffixedIdentifierAlias(), getSession() )
  );
  if ( old==null ) values.add(element); //maintain correct duplication if loaded in a cartesian product
  return element;
}
origin: jboss.jboss-embeddable-ejb3/hibernate-all

public Object readFrom(
  ResultSet rs,
  CollectionPersister persister,
  CollectionAliases descriptor,
  Object owner)
  throws HibernateException, SQLException {
  Object element = persister.readElement( rs, owner, descriptor.getSuffixedElementAliases(), getSession() );
  Object old = identifiers.put(
    new Integer( values.size() ),
    persister.readIdentifier( rs, descriptor.getSuffixedIdentifierAlias(), getSession() )
  );
  if ( old==null ) values.add(element); //maintain correct duplication if loaded in a cartesian product
  return element;
}
origin: org.hibernate/com.springsource.org.hibernate

public Object readFrom(
  ResultSet rs,
  CollectionPersister persister,
  CollectionAliases descriptor,
  Object owner)
  throws HibernateException, SQLException {
  Object element = persister.readElement( rs, owner, descriptor.getSuffixedElementAliases(), getSession() );
  Object old = identifiers.put(
    values.size(),
    persister.readIdentifier( rs, descriptor.getSuffixedIdentifierAlias(), getSession() )
  );
  if ( old==null ) values.add(element); //maintain correct duplication if loaded in a cartesian product
  return element;
}
origin: org.hibernate/com.springsource.org.hibernate.core

public Object readFrom(
  ResultSet rs,
  CollectionPersister persister,
  CollectionAliases descriptor,
  Object owner)
  throws HibernateException, SQLException {
  Object element = persister.readElement( rs, owner, descriptor.getSuffixedElementAliases(), getSession() );
  Object old = identifiers.put(
    values.size(),
    persister.readIdentifier( rs, descriptor.getSuffixedIdentifierAlias(), getSession() )
  );
  if ( old==null ) values.add(element); //maintain correct duplication if loaded in a cartesian product
  return element;
}
org.hibernate.loaderCollectionAliasesgetSuffixedIdentifierAlias

Javadoc

Returns the suffixed result-set column-aliases for the column defining the collection's identifier (if any).

Popular methods of CollectionAliases

  • getSuffixedElementAliases
    Returns the suffixed result-set column-aliases for the columns making up the collection's elements.
  • getSuffixedIndexAliases
    Returns the suffixed result-set column-aliases for the collumns making up the collection's index (ma
  • getSuffixedKeyAliases
    Returns the suffixed result-set column-aliases for columns making up the key for this collection (i.
  • getSuffix
    Returns the suffix used to unique the column aliases for this particular alias set.

Popular in Java

  • Reading from database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • getSharedPreferences (Context)
  • runOnUiThread (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • 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
  • Best plugins for Eclipse
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