Package net.sf.hajdbc

Examples of net.sf.hajdbc.IdentifierNormalizer


  }

  @Override
  public ForeignKeyConstraint createForeignKeyConstraint(String name, final QualifiedName table, final QualifiedName foreignTable, final int deleteRule, final int updateRule, final int deferrability)
  {
    IdentifierNormalizer normalizer = this.factory.getIdentifierNormalizer();
    return new StandardForeignKeyConstraint(normalizer.normalize(name), table, new IdentifierList(normalizer), foreignTable, new IdentifierList(normalizer), deleteRule, updateRule, deferrability);
  }
View Full Code Here


 
  public EagerTableProperties(QualifiedName table, DatabaseMetaData metaData, Dialect dialect, QualifiedNameFactory factory) throws SQLException
  {
    super(table);
   
    IdentifierNormalizer normalizer = factory.getIdentifierNormalizer();
    this.columnMap = dialect.getColumns(metaData, table, dialect.createColumnPropertiesFactory(normalizer));
    UniqueConstraintFactory uniqueConstraintFactory = dialect.createUniqueConstraintFactory(normalizer);
    this.primaryKey = dialect.getPrimaryKey(metaData, table, uniqueConstraintFactory);
    this.uniqueConstraints = dialect.getUniqueConstraints(metaData, table, this.primaryKey, uniqueConstraintFactory);
    this.foreignKeyConstraints = dialect.getForeignKeyConstraints(metaData, table, dialect.createForeignKeyConstraintFactory(factory));
View Full Code Here

  {
    super(table);
   
    this.metaDataProvider = metaDataProvider;
    this.dialect = dialect;
    IdentifierNormalizer normalizer = nameFactory.getIdentifierNormalizer();
    this.uniqueConstraintFactory = dialect.createUniqueConstraintFactory(normalizer);
    this.foreignKeyConstraintFactory = dialect.createForeignKeyConstraintFactory(nameFactory);
    this.columnPropertiesFactory = dialect.createColumnPropertiesFactory(normalizer);
  }
View Full Code Here

TOP

Related Classes of net.sf.hajdbc.IdentifierNormalizer

Copyright © 2018 www.massapicom. 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.