JDBQuery.closeStatement(listStatement);
String temp = "";
JDBQuery query = new JDBQuery(Common.selectedHostID, Common.sessionID);
query.clear();
temp = "select * from {schema}SYS_LANGUAGE";
query.addText(JUtility.substSchemaName(schemaName, temp));
if (textFieldText.getText().equals("") == false)
{
query.addParamtoSQL("text like ", "%" + textFieldText.getText() + "%");
}
if (textFieldResourceKey.getText().equals("") == false)
{
query.addParamtoSQL("resource_key like ", "%" + textFieldResourceKey.getText() + "%");
}
if (textFieldMnemonic.getText().equals("") == false)
{
query.addParamtoSQL("mnemonic = ", textFieldMnemonic.getText());
}
query.addParamtoSQL("language_id = ", ((String) comboBoxLanguageID.getSelectedItem()).toString());
query.appendSort("resource_key,language_id", "asc");
query.bindParams();
listStatement = query.getPreparedStatement();
}