Examples of normalizeIdentifierQuoting()


Examples of org.hibernate.cfg.ObjectNameNormalizer.normalizeIdentifierQuoting()

  protected String determineGeneratorTableName(Properties params, Dialect dialect) {
    String name = ConfigurationHelper.getString( TABLE_PARAM, params, DEF_TABLE );
    boolean isGivenNameUnqualified = name.indexOf( '.' ) < 0;
    if ( isGivenNameUnqualified ) {
      ObjectNameNormalizer normalizer = (ObjectNameNormalizer) params.get( PersistentIdentifierGenerator.IDENTIFIER_NORMALIZER );
      name = normalizer.normalizeIdentifierQuoting( name );

      String schemaName = normalizer.normalizeIdentifierQuoting( params.getProperty( PersistentIdentifierGenerator.SCHEMA ) );
      if ( schemaName != null ) {
        log.schemaOptionNotSupportedForTableGenerator( schemaName );
      }
View Full Code Here

Examples of org.hibernate.cfg.ObjectNameNormalizer.normalizeIdentifierQuoting()

    boolean isGivenNameUnqualified = name.indexOf( '.' ) < 0;
    if ( isGivenNameUnqualified ) {
      ObjectNameNormalizer normalizer = (ObjectNameNormalizer) params.get( PersistentIdentifierGenerator.IDENTIFIER_NORMALIZER );
      name = normalizer.normalizeIdentifierQuoting( name );

      String schemaName = normalizer.normalizeIdentifierQuoting( params.getProperty( PersistentIdentifierGenerator.SCHEMA ) );
      if ( schemaName != null ) {
        log.schemaOptionNotSupportedForTableGenerator( schemaName );
      }

      String catalogName = normalizer.normalizeIdentifierQuoting( params.getProperty( PersistentIdentifierGenerator.CATALOG ) );
View Full Code Here

Examples of org.hibernate.cfg.ObjectNameNormalizer.normalizeIdentifierQuoting()

      String schemaName = normalizer.normalizeIdentifierQuoting( params.getProperty( PersistentIdentifierGenerator.SCHEMA ) );
      if ( schemaName != null ) {
        log.schemaOptionNotSupportedForTableGenerator( schemaName );
      }

      String catalogName = normalizer.normalizeIdentifierQuoting( params.getProperty( PersistentIdentifierGenerator.CATALOG ) );
      if ( catalogName != null ) {
        log.catalogOptionNotSupportedForTableGenerator( catalogName );
      }
    }
    else {
View Full Code Here

Examples of org.hibernate.cfg.ObjectNameNormalizer.normalizeIdentifierQuoting()

   * @see #getSegmentColumnName()
   */
  protected String determineSegmentColumnName(Properties params, Dialect dialect) {
    ObjectNameNormalizer normalizer = (ObjectNameNormalizer) params.get( PersistentIdentifierGenerator.IDENTIFIER_NORMALIZER );
    String name = ConfigurationHelper.getString( SEGMENT_COLUMN_PARAM, params, DEF_SEGMENT_COLUMN );
    return dialect.quote( normalizer.normalizeIdentifierQuoting( name ) );
  }

  /**
   * Determine the name of the column in which we will store the generator persistent value.
   * <p>
 
View Full Code Here

Examples of org.hibernate.cfg.ObjectNameNormalizer.normalizeIdentifierQuoting()

   * @see #getValueColumnName()
   */
  protected String determineValueColumnName(Properties params, Dialect dialect) {
    ObjectNameNormalizer normalizer = (ObjectNameNormalizer) params.get( PersistentIdentifierGenerator.IDENTIFIER_NORMALIZER );
    String name = ConfigurationHelper.getString( VALUE_COLUMN_PARAM, params, DEF_VALUE_COLUMN );
    return dialect.quote( normalizer.normalizeIdentifierQuoting( name ) );
  }

  /**
   * Determine the segment value corresponding to this generator instance.
   * <p>
 
View Full Code Here

Examples of org.hibernate.cfg.ObjectNameNormalizer.normalizeIdentifierQuoting()

        ? params.getProperty( JPA_ENTITY_NAME ) + sequencePerEntitySuffix
        : SequenceStyleGenerator.DEF_SEQUENCE_NAME;
    final ObjectNameNormalizer normalizer = (ObjectNameNormalizer) params.get( PersistentIdentifierGenerator.IDENTIFIER_NORMALIZER );
    sequenceName = ConfigurationHelper.getString( SequenceStyleGenerator.SEQUENCE_PARAM, params, sequenceName );
    if ( sequenceName.indexOf( '.' ) < 0 ) {
      sequenceName = normalizer.normalizeIdentifierQuoting( sequenceName );

      final String schemaName = params.getProperty( PersistentIdentifierGenerator.SCHEMA );
      if ( schemaName != null ) {
        log.schemaOptionNotSupportedForSequenceGenerator( schemaName );
      }
View Full Code Here

Examples of org.hibernate.cfg.ObjectNameNormalizer.normalizeIdentifierQuoting()

  protected String determineGeneratorTableName(Properties params, Dialect dialect) {
    String name = ConfigurationHelper.getString( TABLE_PARAM, params, DEF_TABLE );
    boolean isGivenNameUnqualified = name.indexOf( '.' ) < 0;
    if ( isGivenNameUnqualified ) {
      ObjectNameNormalizer normalizer = (ObjectNameNormalizer) params.get( PersistentIdentifierGenerator.IDENTIFIER_NORMALIZER );
      name = normalizer.normalizeIdentifierQuoting( name );

      String schemaName = normalizer.normalizeIdentifierQuoting( params.getProperty( PersistentIdentifierGenerator.SCHEMA ) );
      if ( schemaName != null ) {
        log.schemaOptionNotSupportedForTableGenerator( schemaName );
      }
View Full Code Here

Examples of org.hibernate.cfg.ObjectNameNormalizer.normalizeIdentifierQuoting()

    boolean isGivenNameUnqualified = name.indexOf( '.' ) < 0;
    if ( isGivenNameUnqualified ) {
      ObjectNameNormalizer normalizer = (ObjectNameNormalizer) params.get( PersistentIdentifierGenerator.IDENTIFIER_NORMALIZER );
      name = normalizer.normalizeIdentifierQuoting( name );

      String schemaName = normalizer.normalizeIdentifierQuoting( params.getProperty( PersistentIdentifierGenerator.SCHEMA ) );
      if ( schemaName != null ) {
        log.schemaOptionNotSupportedForTableGenerator( schemaName );
      }

      String catalogName = normalizer.normalizeIdentifierQuoting( params.getProperty( PersistentIdentifierGenerator.CATALOG ) );
View Full Code Here

Examples of org.hibernate.cfg.ObjectNameNormalizer.normalizeIdentifierQuoting()

      String schemaName = normalizer.normalizeIdentifierQuoting( params.getProperty( PersistentIdentifierGenerator.SCHEMA ) );
      if ( schemaName != null ) {
        log.schemaOptionNotSupportedForTableGenerator( schemaName );
      }

      String catalogName = normalizer.normalizeIdentifierQuoting( params.getProperty( PersistentIdentifierGenerator.CATALOG ) );
      if ( catalogName != null ) {
        log.catalogOptionNotSupportedForTableGenerator( catalogName );
      }
    }
    else {
View Full Code Here

Examples of org.hibernate.cfg.ObjectNameNormalizer.normalizeIdentifierQuoting()

   * @see #getSegmentColumnName()
   */
  protected String determineSegmentColumnName(Properties params, Dialect dialect) {
    ObjectNameNormalizer normalizer = (ObjectNameNormalizer) params.get( PersistentIdentifierGenerator.IDENTIFIER_NORMALIZER );
    String name = ConfigurationHelper.getString( SEGMENT_COLUMN_PARAM, params, DEF_SEGMENT_COLUMN );
    return dialect.quote( normalizer.normalizeIdentifierQuoting( name ) );
  }

  /**
   * Determine the name of the column in which we will store the generator persistent value.
   * <p>
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.