Lukas Eder
d756297151
[ #2044 ] Add various TableRecord.fetchParent(...), fetchChild(...) and
...
fetchChildren(...) methods to follow foreign key relationships
2012-12-22 20:39:49 +01:00
Lukas Eder
f958e32075
[ #2007 ] Bad type coercion on the right hand side of a comparison
...
predicate, when the left hand side is Field<Object>
2012-12-22 09:47:01 +01:00
Lukas Eder
8b6e4f2a27
Added Javadoc to internal method
2012-12-22 09:46:27 +01:00
Lukas Eder
8ccad9947a
Improved DefaultDataType.toString()
2012-12-22 09:25:48 +01:00
Lukas Eder
fa7edefc65
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
...
Added convenience method DataType.precision(int precision, int scale)
2012-12-22 08:39:06 +01:00
Lukas Eder
d7587ee4d7
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes
...
- Adapted DataType.equals() and hashCode() to consider precision,
scale, and length
- Consider precision, scale, and length when casting fields/values to a
custom DataType
2012-12-21 23:32:25 +01:00
Lukas Eder
1161afbad1
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
...
Added support for precision, scale, and length information in
org.jooq.Meta
2012-12-21 22:40:18 +01:00
Lukas Eder
70a0ab3f44
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes
...
- Let code generator generate precision, scale, and length information
- Let MetaDataFieldProvider read precision, scale, and length
information from JDBC meta data
2012-12-21 22:35:26 +01:00
Lukas Eder
3d63aa82a0
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
...
Added the precision/scale/length API
2012-12-21 21:58:10 +01:00
Lukas Eder
e9a2308105
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
...
Changed constructor signatures
2012-12-21 21:42:52 +01:00
Lukas Eder
9b9f105417
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
...
Removed SQLDataType from the DataType type hierarchy
2012-12-21 21:36:39 +01:00
Lukas Eder
899c76280e
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
...
Removed generic type parameter <T> from [SQLDialect]DataType
2012-12-21 21:20:47 +01:00
Lukas Eder
a50307089d
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes
...
- Removed deprecated method from [SQLDialect]DataType
- Regenerated various schemata
2012-12-21 21:09:57 +01:00
Lukas Eder
623ee20bb6
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes
...
- Renamed AbstractDataType to DefaultDataType, made it non-abstract
- Removed [SQLDialect]DataType from DefaultDataType's type hierarchy
2012-12-21 20:54:14 +01:00
Lukas Eder
e3de50d152
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
...
Merged FieldTypeHelper into Utils
2012-12-21 20:22:02 +01:00
Lukas Eder
b7035db761
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
...
Made FieldTypeHelper package-private
2012-12-21 19:53:09 +01:00
Lukas Eder
a007ba599d
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
...
Removed unneeded DataType.getType(int, int)
2012-12-21 19:51:31 +01:00
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