org.seasar.extension.jdbc.util
クラス DatabaseMetaDataUtil
java.lang.Object
org.seasar.extension.jdbc.util.DatabaseMetaDataUtil
- public final class DatabaseMetaDataUtil
- extends Object
- 作成者:
- higa, manhole
メソッドの概要 |
static String |
convertIdentifier(DatabaseMetaData dbMetaData,
String identifier)
|
static org.seasar.framework.util.CaseInsensitiveMap |
getColumnCaseInsensitiveMap(DatabaseMetaData dbMetaData,
String tableName)
|
static Map |
getColumnMap(DatabaseMetaData dbMetaData,
String tableName)
|
static org.seasar.framework.util.CaseInsensitiveMap |
getColumnMap(DatabaseMetaData dbMetaData,
String schema,
String tableName)
|
static String[] |
getColumns(DatabaseMetaData dbMetaData,
String tableName)
|
static String |
getDatabaseProductName(DatabaseMetaData dbMetaData)
|
static String[] |
getPrimaryKeys(DatabaseMetaData dbMetaData,
String tableName)
|
static Set |
getPrimaryKeySet(DatabaseMetaData dbMetaData,
String tableName)
|
static Set |
getPrimaryKeySet(DatabaseMetaData dbMetaData,
String schema,
String tableName)
|
static String |
getUserName(DatabaseMetaData dbMetaData)
|
static boolean |
storesLowerCaseIdentifiers(DatabaseMetaData dbMetaData)
|
static boolean |
storesUpperCaseIdentifiers(DatabaseMetaData dbMetaData)
|
static boolean |
supportsGetGeneratedKeys(DatabaseMetaData dbMetaData)
|
static boolean |
supportsMixedCaseIdentifiers(DatabaseMetaData dbMetaData)
|
static boolean |
supportsSchemasInTableDefinitions(DatabaseMetaData dbMetaData)
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getPrimaryKeys
public static String[] getPrimaryKeys(DatabaseMetaData dbMetaData,
String tableName)
getPrimaryKeySet
public static Set getPrimaryKeySet(DatabaseMetaData dbMetaData,
String tableName)
getPrimaryKeySet
public static Set getPrimaryKeySet(DatabaseMetaData dbMetaData,
String schema,
String tableName)
getUserName
public static String getUserName(DatabaseMetaData dbMetaData)
getColumns
public static String[] getColumns(DatabaseMetaData dbMetaData,
String tableName)
getColumnMap
public static Map getColumnMap(DatabaseMetaData dbMetaData,
String tableName)
getColumnCaseInsensitiveMap
public static org.seasar.framework.util.CaseInsensitiveMap getColumnCaseInsensitiveMap(DatabaseMetaData dbMetaData,
String tableName)
getColumnMap
public static org.seasar.framework.util.CaseInsensitiveMap getColumnMap(DatabaseMetaData dbMetaData,
String schema,
String tableName)
convertIdentifier
public static String convertIdentifier(DatabaseMetaData dbMetaData,
String identifier)
supportsMixedCaseIdentifiers
public static boolean supportsMixedCaseIdentifiers(DatabaseMetaData dbMetaData)
storesUpperCaseIdentifiers
public static boolean storesUpperCaseIdentifiers(DatabaseMetaData dbMetaData)
storesLowerCaseIdentifiers
public static boolean storesLowerCaseIdentifiers(DatabaseMetaData dbMetaData)
supportsSchemasInTableDefinitions
public static boolean supportsSchemasInTableDefinitions(DatabaseMetaData dbMetaData)
supportsGetGeneratedKeys
public static boolean supportsGetGeneratedKeys(DatabaseMetaData dbMetaData)
getDatabaseProductName
public static String getDatabaseProductName(DatabaseMetaData dbMetaData)
Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.