jp.go.nict.langrid.wrapper.common.db.dao
クラス QueryUtil

java.lang.Object
  上位を拡張 jp.go.nict.langrid.wrapper.common.db.dao.QueryUtil

public class QueryUtil
extends Object


コンストラクタの概要
QueryUtil()
           
 
メソッドの概要
static int executeUpdate(Connection connection, String query)
           
static Pair<String,String> makeOperationAndMatchingValue(String value, MatchingMethod method, DbDictionary dictionary)
           
static PreparedStatement prepareStatement(Connection connection, String queryFormat, Object... args)
           
static void setShowSqlEnabled(boolean enabled)
           
static String toColumnAssignes(Language... languages)
           
static String toColumnDefinitions(Language[] languages)
           
static String toColumnNames(Language... languages)
           
static String toColumnSelects(String tableNameAlias, Language... languages)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

QueryUtil

public QueryUtil()
メソッドの詳細

executeUpdate

public static int executeUpdate(Connection connection,
                                String query)
                         throws SQLException
例外:
SQLException

prepareStatement

public static PreparedStatement prepareStatement(Connection connection,
                                                 String queryFormat,
                                                 Object... args)
                                          throws SQLException
例外:
SQLException

toColumnNames

public static String toColumnNames(Language... languages)

toColumnSelects

public static String toColumnSelects(String tableNameAlias,
                                     Language... languages)

toColumnDefinitions

public static String toColumnDefinitions(Language[] languages)

toColumnAssignes

public static String toColumnAssignes(Language... languages)

makeOperationAndMatchingValue

public static Pair<String,String> makeOperationAndMatchingValue(String value,
                                                                MatchingMethod method,
                                                                DbDictionary dictionary)

setShowSqlEnabled

public static void setShowSqlEnabled(boolean enabled)