input
stringlengths
10
828
output
stringlengths
5
107
public void update blob int column index java sql blob x throws sqlexception
updates the designated column with a code java
public void update blob string column name java sql blob x throws sqlexception
updates the designated column with a code java
public boolean supports alter table with add column throws sqlexception return false
retrieves whether this database supports code alter table code
public void update boolean int column index boolean x throws sqlexception
updates the designated column with a code boolean code value
public boolean supports alter table with drop column throws sqlexception return false
retrieves whether this database supports code alter table code
public void update boolean string column name boolean x throws sqlexception
updates the designated column with a code boolean code value
public boolean supports batch updates throws sqlexception return false
retrieves whether this database supports batch updates
public void update byte int column index byte x throws sqlexception
updates the designated column with a code byte code value
public boolean supports catalogs in data manipulation throws sqlexception return false
retrieves whether a catalog name can be used in a data manipulation statement
public void update byte string column name byte x throws sqlexception
updates the designated column with a code byte code value
public void update bytes int column index byte x throws sqlexception
updates the designated column with a code byte code array value
public void update bytes string column name byte x throws sqlexception
updates the designated column with a byte array value
public void update character stream int column index java io reader x int length throws sqlexception
updates the designated column with a character stream value
public void update character stream string column name java io reader reader int length throws sqlexception
updates the designated column with a character stream value
public void update clob string column name java sql clob x throws sqlexception
updates the designated column with a code java
public boolean supports column aliasing throws sqlexception return false
retrieves whether this database supports column aliasing
public void update clob int column index java sql clob x throws sqlexception
updates the designated column with a code java
public void update date int column index java sql date x throws sqlexception
updates the designated column with a code java
public boolean supports convert int from type int to type throws sqlexception return false
retrieves whether this database supports the code convert code
public void update date string column name java sql date x throws sqlexception
updates the designated column with a code java
public boolean supports core sqlgrammar throws sqlexception return false
retrieves whether this database supports the odbc core sql grammar
public void update double int column index double x throws sqlexception
updates the designated column with a code double code value
public boolean supports correlated subqueries throws sqlexception return false
retrieves whether this database supports correlated subqueries
public void update double string column name double x throws sqlexception
updates the designated column with a code double code value
public boolean supports data definition and data manipulation transactions throws sqlexception return false
retrieves whether this database supports both data definition and
public void update float string column name float x throws sqlexception
updates the designated column with a code float code value
public boolean supports data manipulation transactions only throws sqlexception return false
retrieves whether this database supports only data manipulation
public void update float int column index float x throws sqlexception
updates the designated column with a code float code value
public boolean supports different table correlation names throws sqlexception return false
retrieves whether when table correlation names are supported they
public void update int string column name int x throws sqlexception
updates the designated column with an code int code value
public boolean supports expressions in order by throws sqlexception return false
retrieves whether this database supports expressions in
public void update int int column index int x throws sqlexception
updates the designated column with an code int code value
public void update long int column index long x throws sqlexception
updates the designated column with a code long code value
public void update long string column name long x throws sqlexception
updates the designated column with a code long code value
public boolean supports get generated keys throws sqlexception return false
retrieves whether auto generated keys can be retrieved after
public void update null string column name throws sqlexception
updates the designated column with a code null code value
public boolean supports group by throws sqlexception return false
retrieves whether this database supports some form of
public void update null int column index throws sqlexception
gives a nullable column a null value
public boolean supports group by beyond select throws sqlexception return false
retrieves whether this database supports using columns not included in
public void update object string column name object x throws sqlexception
updates the designated column with an code object code value
public boolean supports group by unrelated throws sqlexception return false
retrieves whether this database supports using a column that is
public void update object int column index object x throws sqlexception
updates the designated column with an code object code value
public boolean supports integrity enhancement facility throws sqlexception return false
retrieves whether this database supports the sql integrity
public void update object int column index object x int scale throws sqlexception
updates the designated column with an code object code value
public void update object string column name object x int scale throws sqlexception
updates the designated column with an code object code value
public boolean supports limited outer joins throws sqlexception return false
retrieves whether this database provides limited support for outer
public boolean supports minimum sqlgrammar throws sqlexception return false
retrieves whether this database supports the odbc minimum sql grammar
public void update ref int column index java sql ref x throws sqlexception
updates the designated column with a code java
public void update ref string column name java sql ref x throws sqlexception
updates the designated column with a code java
public boolean supports mixed case identifiers throws sqlexception return false
retrieves whether this database treats mixed case unquoted sql identifiers as
public void update row throws sqlexception
updates the underlying database with the new contents of the
public boolean supports mixed case quoted identifiers throws sqlexception return false
retrieves whether this database treats mixed case quoted sql identifiers as
public void update short int column index short x throws sqlexception
updates the designated column with a code short code value
public boolean supports multiple open results throws sqlexception return false
retrieves whether it is possible to have multiple code result set code objects
public void update short string column name short x throws sqlexception
updates the designated column with a code short code value
public boolean supports multiple result sets throws sqlexception return true
retrieves whether this database supports getting multiple
public void update string int column index string x throws sqlexception
updates the designated column with a code string code value
public boolean supports multiple transactions throws sqlexception return false
retrieves whether this database allows having multiple
public void update string string column name string x throws sqlexception
updates the designated column with a code string code value
public boolean supports named parameters throws sqlexception return false
retrieves whether this database supports named parameters to callable
public void update time string column name java sql time x throws sqlexception
updates the designated column with a code java
public boolean supports non nullable columns throws sqlexception return false
retrieves whether columns in this database may be defined as non nullable
public void update time int column index java sql time x throws sqlexception
updates the designated column with a code java
public void update timestamp string column name java sql timestamp x throws sqlexception
updates the designated column with a code java
public void update timestamp int column index java sql timestamp x throws sqlexception
updates the designated column with a code java
public boolean supports outer joins throws sqlexception return false
retrieves whether this database supports some form of outer join
public boolean supports result set concurrency int type int concurrency throws sqlexception return false
retrieves whether this database supports the given concurrency type
public boolean supports result set holdability int holdability throws sqlexception return false
retrieves whether this database supports the given result set holdability
public boolean supports savepoints throws sqlexception return false
retrieves whether this database supports savepoints
public boolean supports select for update throws sqlexception return false
retrieves whether this database supports code select for update code
public boolean supports statement pooling throws sqlexception return false
retrieves weather this database supports statement pooling
public boolean supports stored procedures throws sqlexception return false
retrieves whether this database supports stored procedure calls
public boolean supports subqueries in comparisons throws sqlexception return false
retrieves whether this database supports subqueries in comparison
public boolean supports subqueries in exists throws sqlexception return false
retrieves whether this database supports subqueries in
public boolean supports subqueries in ins throws sqlexception return false
retrieves whether this database supports subqueries in
public boolean supports subqueries in quantifieds throws sqlexception return false
retrieves whether this database supports subqueries in quantified
public boolean supports table correlation names throws sqlexception return false
retrieves whether this database supports table correlation names
public boolean supports transaction isolation level int level throws sqlexception return false
retrieves whether this database supports the given transaction isolation level
public boolean supports transactions throws sqlexception return false
retrieves whether this database supports transactions
public boolean supports union throws sqlexception return false
retrieves whether this database supports sql code union code
public boolean supports union all throws sqlexception return false
retrieves whether this database supports sql code union all code
public boolean updates are detected int type throws sqlexception return false
retrieves whether or not a visible row update can be detected by
private void show file output dialog output path fc get selected file get absolute path output text set text output path
sets the output path and displays it in the output text text area
protected image icon create image icon string path string description java net url img url get class get resource path if img url null return new image icon img url description else system err println couldn t find file path return null
returns an image icon or null if the path was invalid
private void create file open chooser string extension create a file chooser fc new jfile chooser fc set multi selection enabled false file filter file filter new extension file filter extension to upper case files extension fc set file filter file filter
creates a file open chooser and uses the extension provided as a filter
public list get list final string sql final class clazz try final result set handler bean new bean list handler clazz return list runner query conn sql null bean catch final sqlexception e if global settings log active new log engine log message e get stack trace to string global settings log path error throw new runtime exception e
takes a list based on the result of specified sql template execution
public string get about return about version
show info about box sql framework
public int update final string sql try return runner update conn sql catch final sqlexception e if global settings log active new log engine log message e get stack trace to string global settings log path error throw new runtime exception e
execute the specified template sql and returns the number of affected rows
public object call stored procedure final string name procedure final boolean expect result set try callable statement csmt conn prepare call name procedure boolean is result set csmt execute if expect result set is result set return csmt get result set return csmt get update count catch final sqlexception ex if global settings log active new log engine log message ex get stack trace to string global settings log path error throw new runtime exception ex
execute the specified procedure and returns the number of affected rows
protected boolean equals string x string y return comparator null x equals y comparator compare x y 0
compares the two objects using the comparator provided with the constructor if any
protected integer get last value return thresh get thresh last key
returns the value for the greatest key in the map
protected void on anot b int ai int bi if pending null pending new difference ai ai bi 1 else pending set deleted ai
invoked for elements in code a code and not in code b code
protected void on bnot a int ai int bi if pending null pending new difference ai 1 bi bi else pending set added bi
invoked for elements in code b code and not in code a code
protected void on match int ai int bi if pending null no current pending else diffs add pending pending null
invoked for elements matching in code a code and code b code
public boolean equals object obj if obj instanceof difference difference other difference obj return del start other del start del end other del end add start other add start add end other add end else return false
compares this object to the other for equality
public int get added end return add end
the point at which the addition ends if any
public int get added start return add start
the point at which the addition starts if any
public int get deleted end return del end
the point at which the deletion ends if any
public int get deleted start return del start
the point at which the deletion starts if any
public void set added int line add start math min line add start add end math max line add end
sets the point as added