Commit Graph

884 Commits

Author SHA1 Message Date
Lukas Eder
79336d9074 Added some documentation to AbstractDataType's internals 2012-12-21 19:01:34 +01:00
Lukas Eder
003bc5d903 [#456] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
Removed some obsolete DataType API parts
2012-12-21 18:50:22 +01:00
Lukas Eder
6f001e1798 Moved some useful JDBC utility methods from FieldTypeHelper to the
public JDBCUtils class
2012-12-21 18:25:41 +01:00
Lukas Eder
83c197e859 Fixed probable bug 2012-12-21 18:20:18 +01:00
Lukas Eder
c363269a31 Refactored internal constant names 2012-12-21 14:42:40 +01:00
Lukas Eder
a8d6705f37 [#1979] Thread safety issue in org.jooq.impl.FieldList 2012-12-21 14:35:27 +01:00
Lukas Eder
5f8635908a Fixed wrong @Support(DB2) annotation for row value expression comparison
predicates and also relevant test case
2012-12-20 18:09:24 +01:00
Lukas Eder
43417d5874 [#1178] Allow for treating Condition as Field<Boolean> 2012-12-20 17:30:18 +01:00
Lukas Eder
102f6065f6 [#1097] Add org.jooq.Catalog, a type modelling an entity combining
several org.jooq.Schema
2012-12-20 16:51:13 +01:00
Lukas Eder
b7016bd581 [#1703] Add Executor.batchDelete(UpdatableRecord<?>...) to mass-delete a
set of UpdatableRecords
2012-12-20 16:29:06 +01:00
Lukas Eder
09b379103f [#2031] Change union(Select<R>) and similar methods to union(Select<?
extends R>)
2012-12-20 15:05:03 +01:00
Lukas Eder
3ac1764ea5 Re-arranged methods for later code generation through Xtend 2012-12-20 15:02:54 +01:00
Lukas Eder
d4da8c72b0 [#2028] Add Batch.size() to indicate the number of queries that will be
executed by a batch operation
2012-12-20 13:42:40 +01:00
Lukas Eder
fddd972465 [#2030] Add reusable wrapper types for JDBC Connection, Statement,
ResultSet, etc.
2012-12-20 13:31:40 +01:00
Lukas Eder
2f427a4520 [#1549] Externalise connection lifecycle through new ConnectionProvider 2012-12-20 13:06:51 +01:00
Lukas Eder
0977fccd6d [#2001] Named Params are treated as null literals on right sides of
comparisons
2012-12-17 20:49:42 +01:00
Lukas Eder
56d1dd1250 [#2021] Add UpdatableRecord.refresh(Field<?>...) to allow for refreshing
a subset of the Record's values
2012-12-15 16:00:38 +01:00
Lukas Eder
88bdc09a8c Removed some redundancy 2012-12-15 13:57:39 +01:00
Lukas Eder
4c5e9efb59 [#2020] Let org.jooq.ExecuteListener extend java.util.EventListener 2012-12-15 13:50:17 +01:00
Lukas Eder
b4178b5dc7 Don't inline constant 2012-12-14 16:02:20 +01:00
Lukas Eder
90e135d013 [#1924] Add support for CUBRID 9.0's ENUM data type 2012-12-14 15:41:37 +01:00
Lukas Eder
007755e46e formatting 2012-12-14 13:33:10 +01:00
Lukas Eder
7b295878e1 [#2011] Implement some micro-optimisations in DefaultRenderContext - 3.
Escaping of quoted literals
2012-12-14 13:25:23 +01:00
Lukas Eder
2268afa4ab [#2011] Implement some micro-optimisations in DefaultRenderContext - 2.
Regular expression usage for indentation
2012-12-14 13:10:04 +01:00
Lukas Eder
4fdf22e710 [#2000] Add Record.reset(), reset(Field<?>), reset(int), reset(String)
to restore original values in a record
2012-12-12 22:09:05 +01:00
Lukas Eder
2f63650bb7 [#1999] Add Record.changed(boolean) changed(boolean, Field<?>)
changed(boolean, int) changed(boolean, String) as setters for the
changed flag
2012-12-12 19:35:00 +01:00
Lukas Eder
e4ed930fd7 [#1995] Record.original() values aren't updated after a Record.store()
operation
2012-12-09 22:33:28 +01:00
Lukas Eder
9e9cdf5c8f [#1987] Allow for reading data from Iterables, arrays, Maps through
Record.from() - Added support for loading from arrays
2012-12-02 12:57:40 +01:00
Lukas Eder
b05ae01be9 [#1988] Add Record.fromArray() as the inverse operation of
Record.intoArray()
2012-12-02 12:53:22 +01:00
Lukas Eder
2aa2e69ea2 [#1991] Reflect changed flag in Result.toString() (and thus also
Record.toString())
2012-12-02 12:35:14 +01:00
Lukas Eder
8f2633f5d9 [#1990] Add <T> T Record.original(Field<T>), original(int),
original(String) to get a field's original value
2012-12-02 12:28:01 +01:00
Lukas Eder
c6e3b61aca [#1989] Add Record.changed(Field<?>), changed(int), changed(String) to
check whether a single field's value has changed
2012-12-02 12:16:55 +01:00
Lukas Eder
66e4716794 [#1987] Allow for reading data from Iterables, arrays, Maps through
Record.from() - Enhanced from() to read maps
2012-12-02 12:09:04 +01:00
Lukas Eder
dff2ca12a3 Removed unnecessary warning suppressions 2012-12-02 10:33:20 +01:00
Lukas Eder
962a0226c9 [#1982] Change RenderNameStyle.UPPER, LOWER, AS_IS to quote literals if
needed
2012-11-30 13:01:15 +01:00
Lukas Eder
e8b0133cdf [#1986] Add Record.fromMap() as the inverse operation of
Record.intoMap()
2012-11-30 12:01:09 +01:00
Lukas Eder
fb0127bc6f Added missing "final" keyword 2012-11-30 11:51:03 +01:00
Lukas Eder
a209da8676 [#1636] Add jooq-meta support for querying the JDBC DatabaseMetaData API
- Fixed DECIMAL data type handling
2012-11-30 11:34:03 +01:00
Lukas Eder
073f90648f [#1636] Add jooq-meta support for querying the JDBC DatabaseMetaData API 2012-11-30 11:25:26 +01:00
Lukas Eder
46f5d7c0e6 [#1983] Improve the Javadoc on Table.as() and Field.as() to hint at
case-sensitivity and RenderNameStyle
2012-11-28 19:57:06 +01:00
Lukas Eder
92d483b83e [#1984] Add ResultQuery.fetchOneInto() 2012-11-28 19:28:04 +01:00
Lukas Eder
3d9dd31058 [#1972] Move MySQLFactory.md5() to Factory and simulate it for Oracle -
Use DBMS_CRYPTO instead of DBMS_OBFUSCATION_TOOLKIT
2012-11-23 15:44:19 +01:00
Lukas Eder
7f45eb66f5 [#1976] Add FieldProvider.getIndex(String) 2012-11-23 13:37:04 +01:00
Lukas Eder
7aa56936f1 [#1972] Move MySQLFactory.md5() to Factory and simulate it for Oracle -
Enhanced Javadoc
2012-11-23 13:16:53 +01:00
Lukas Eder
c6468f6779 [#1972] Move MySQLFactory.md5() to Factory and simulate it for Oracle 2012-11-23 13:11:45 +01:00
Lukas Eder
d7aa549ab1 [#1968] Add org.jooq.Meta returned from Executor.meta() to return a
wrapped JDBC DatabaseMetaData object - Added some Javadocs
2012-11-23 12:57:07 +01:00
Lukas Eder
cde26c3af9 [#1097] Add org.jooq.Catalog, a type modelling an entity combining
several org.jooq.Schema
- Added CatalogImpl
- Added getCatalogs() to Meta
2012-11-23 12:54:57 +01:00
Lukas Eder
764338f03b [#1097] Add org.jooq.Catalog, a type modelling an entity combining
several org.jooq.Schema - Added parts of the API
2012-11-23 12:43:48 +01:00
Lukas Eder
02ccfc766d [#1968] Add org.jooq.Meta returned from Executor.meta() to return a
wrapped JDBC DatabaseMetaData object
2012-11-23 12:41:19 +01:00
Lukas Eder
e1ca385651 [#1975] Add Result.sort{Asc | Desc}(int) and (String) to order by field
index / name Edit
2012-11-23 12:20:15 +01:00