Package net.sf.hajdbc.cache.simple

Examples of net.sf.hajdbc.cache.simple.SimpleDatabaseMetaDataProvider


   
    try
    {
      connection.setAutoCommit(true);
 
      DatabaseProperties properties = new LazyDatabaseProperties(new SimpleDatabaseMetaDataProvider(connection.getMetaData()), dialect);

      String enumType = properties.findType(0, Types.TINYINT, Types.SMALLINT, Types.INTEGER);
      String stringType = properties.findType(Database.ID_MAX_SIZE, Types.VARCHAR);
      String binaryType = properties.findType(this.cluster.getTransactionIdentifierFactory().size(), Types.BINARY);
      String varBinaryType = properties.findType(0, Types.VARBINARY);
View Full Code Here


   
    try
    {
      connection.setAutoCommit(true);
 
      DatabaseProperties properties = new LazyDatabaseProperties(new SimpleDatabaseMetaDataProvider(connection.getMetaData()), dialect);

      String enumType = properties.findType(0, Types.TINYINT, Types.SMALLINT, Types.INTEGER);
      String stringType = properties.findType(Database.ID_MAX_SIZE, Types.VARCHAR);
      String binaryType = properties.findType(this.cluster.getTransactionIdentifierFactory().size(), Types.BINARY);
      String varBinaryType = properties.findType(0, Types.VARBINARY);
View Full Code Here

   
    try
    {
      connection.setAutoCommit(true);
 
      DatabaseProperties properties = new LazyDatabaseProperties(new SimpleDatabaseMetaDataProvider(connection.getMetaData()), dialect);

      String enumType = properties.findType(0, Types.TINYINT, Types.SMALLINT, Types.INTEGER);
      String stringType = properties.findType(Database.ID_MAX_SIZE, Types.VARCHAR);
      String binaryType = properties.findType(this.cluster.getTransactionIdentifierFactory().size(), Types.BINARY);
      String varBinaryType = properties.findType(0, Types.VARBINARY);
View Full Code Here

TOP

Related Classes of net.sf.hajdbc.cache.simple.SimpleDatabaseMetaDataProvider

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.