JavaToMetaType.java :  » Database-ORM » ODAL » com » completex » objective » components » persistency » Java Open Source

Java Open Source » Database ORM » ODAL 
ODAL » com » completex » objective » components » persistency » JavaToMetaType.java
/**
 *  Objective Database Abstraction Layer (ODAL)
 *  Copyright (c) 2004, The ODAL Development Group
 *  All rights reserved.
 *  For definition of the ODAL Development Group please refer to LICENCE.txt file
 *
 *  Distributable under LGPL license.
 *  See terms of license at gnu.org.
 */
package com.completex.objective.components.persistency;

/**
 * Java-To-ColumnType converter
 *
 * @author Gennady Krizhevsky
 */
public interface JavaToMetaType {

    ColumnType dataType(String dataType, int columnSize, int decimalDigits, boolean required);

    String jdbcTypeToString(int dataType);

    ColumnType dataType(int jdbcType, int decimalDigits, int columnSize, boolean required);

    int jdbcTypeByDatabaseOne(String databaseType);

    ColumnType dataTypeByDatabaseOne(String databaseType, int decimalDigits, int columnSize, boolean required);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.