org.seasar.extension.jdbc.impl
クラス PropertyTypeUtil
java.lang.Object
org.seasar.extension.jdbc.impl.PropertyTypeUtil
- public class PropertyTypeUtil
- extends Object
PropertyType
用のユーティリティクラスです。
- 作成者:
- higa
フィールドの概要 |
protected static boolean |
preserveUnderscore
カラム名に含まれるアンダースコアを維持してプロパティ名とする場合はtrue です。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
preserveUnderscore
protected static boolean preserveUnderscore
- カラム名に含まれるアンダースコアを維持してプロパティ名とする場合は
true
です。
PropertyTypeUtil
protected PropertyTypeUtil()
- インスタンスを構築します。
setPreserveUnderscore
public static void setPreserveUnderscore(boolean preserve)
- カラム名に含まれるアンダースコアを維持してプロパティ名とする場合は
true
を設定します。
- パラメータ:
preserve
- カラム名に含まれるアンダースコアを維持してプロパティ名とする場合はtrue
createPropertyTypes
public static PropertyType[] createPropertyTypes(ResultSetMetaData rsmd)
throws SQLException
PropertyType
の配列を作成します。
- パラメータ:
rsmd
- 結果セットメタデータ
- 戻り値:
PropertyType
の配列
- 例外:
SQLException
- SQL例外が発生した場合
Copyright ? 2004-2008 The Seasar Foundation. All Rights Reserved.