Tabnine Logo
Mappings.addResultSetMapping
Code IndexAdd Tabnine to your IDE (free)

How to use
addResultSetMapping
method
in
org.hibernate.cfg.Mappings

Best Java code snippets using org.hibernate.cfg.Mappings.addResultSetMapping (Showing top 7 results out of 315)

origin: org.hibernate/com.springsource.org.hibernate.core

  public void doSecondPass(Map persistentClasses) throws MappingException {
    ResultSetMappingDefinition definition = buildResultSetMappingDefinition( element, path, mappings);
    mappings.addResultSetMapping( definition );
  }
}
origin: jboss.jboss-embeddable-ejb3/hibernate-all

  public void doSecondPass(Map persistentClasses) throws MappingException {
    ResultSetMappingDefinition definition = buildResultSetMappingDefinition( element, path, mappings);
    mappings.addResultSetMapping( definition );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

  public void doSecondPass(Map persistentClasses) throws MappingException {
    ResultSetMappingDefinition definition = buildResultSetMappingDefinition( element, path, mappings);
    mappings.addResultSetMapping( definition );
  }
}
origin: jboss.jboss-embeddable-ejb3/hibernate-all

@Override
public void addResultSetMapping(ResultSetMappingDefinition definition) {
  if ( ! defaultSqlResulSetMappingNames.contains( definition.getName() ) )
    super.addResultSetMapping( definition );
}
origin: jboss.jboss-embeddable-ejb3/hibernate-all

public void addDefaultResultSetMapping(ResultSetMappingDefinition definition) {
  final String name = definition.getName();
  if ( ! defaultSqlResulSetMappingNames.contains( name )
      && super.getResultSetMapping( name ) != null ) {
    resultSetMappings.remove( name );
  }
  super.addResultSetMapping(definition);
  defaultSqlResulSetMappingNames.add( name );
}
origin: org.hibernate/com.springsource.org.hibernate

mappings.addResultSetMapping( definition );
origin: org.hibernate/com.springsource.org.hibernate.core

mappings.addResultSetMapping( definition );
org.hibernate.cfgMappingsaddResultSetMapping

Javadoc

Adds the metadata for a named SQL result set mapping to this repository.

Popular methods of Mappings

  • addClass
    Add entity mapping metadata.
  • addImport
    Adds an import (HQL entity rename) to the repository.
  • addTable
    Adds table metadata to this repository returning the created metadata instance.
  • getCatalogName
    Returns the currently bound default catalog name.
  • getClass
    Retrieves the entity mapping metadata for the given entity name.
  • getSchemaName
    Returns the currently bound default schema name.
  • addCollection
    Add collection mapping metadata to this repository.
  • addSecondPass
    Adds a second pass.
  • addTableBinding
    Adds a table binding to this repository.
  • getDefaultAccess
    Get the current default property access style.
  • isAutoImport
    Determine whether auto importing of entity names is currently enabled.
  • addDenormalizedTable
    Adds a 'denormalized table' to this repository.
  • isAutoImport,
  • addDenormalizedTable,
  • addFilterDefinition,
  • addTypeDef,
  • addUniquePropertyReference,
  • getObjectNameNormalizer,
  • setAutoImport,
  • addColumnBinding,
  • addPropertyReference,
  • addQuery

Popular in Java

  • Reactive rest calls using spring rest template
  • compareTo (BigDecimal)
  • putExtra (Intent)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • String (java.lang)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Path (java.nio.file)
  • JFrame (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top Vim 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