Commit Graph

1874 Commits

Author SHA1 Message Date
Lukas Eder
a0cd2916e2 [#2025] Correctly handle multiple foreign keys defined on the same
column
2012-12-22 17:56:17 +01:00
Lukas Eder
1ec5cd4ced [#2041] Generate foreign key name into records' fetch methods' Javadoc 2012-12-22 17:29:52 +01:00
Lukas Eder
c6d0e065de [#2006] Interoperability issue with timestampDiff(t1, t2).le(new
DayToSecond(0, 0, 1)). SQL Server cannot bind interval data types -
Added failing test case for a future fix
2012-12-22 10:03:47 +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
374bb9cc7b Created new DataTypeTest unit test. Moved some tests there 2012-12-22 09:09:38 +01:00
Lukas Eder
b82775ec18 Pull up some protected things to a new AbstractTest 2012-12-22 09:07:35 +01:00
Lukas Eder
b34d343fef Moved unit test data into proper package 2012-12-22 09:05:21 +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
8daa2803a9 Regenerated Postgres schema 2012-12-21 23:29:31 +01:00
Lukas Eder
aceb43dbd6 Regenerated HSQLDB schema 2012-12-21 22:55:23 +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
fa26d287bf [#456] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
Regenerated H2 and Oracle schemata
2012-12-21 22:35:46 +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
520a92e4da Prevent duplicate interface names in generated code 2012-12-21 21:08:25 +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
2f8dbd5c53 Fixed regression due to [#2001] (changed null handling in
equal/eq/notEqual/ne)
2012-12-21 19:26:42 +01:00
Lukas Eder
097bcbe772 Fixed some launch targets 2012-12-21 19:11:00 +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
1f9fb2bbc9 [#456] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
Add hint to the manual about data types having been changed
2012-12-21 18:34:33 +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
2c51e655d6 Fixed warnings 2012-12-21 12:26:34 +01:00
Lukas Eder
bc04474956 Regenerated DB2 schema 2012-12-20 18:22:45 +01:00
Lukas Eder
007c35529a DB2 has its ways... Go figure. Out of temporary table space because of
3-4 bind variables in a UNION
2012-12-20 18:15:59 +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
1bbbf02937 Regenerated DB2 schema 2012-12-20 17:57:15 +01:00
Lukas Eder
47d94d7656 Derby schema regeneration 2012-12-20 17:53:24 +01:00
Lukas Eder
bc96789cf4 Added another compile-time type-check 2012-12-20 17:51:27 +01:00
Lukas Eder
55ff6f577f Deleted obsolete test scenario 2012-12-20 17:49:14 +01:00
Lukas Eder
6c17f5c6e1 Fixed bad test 2012-12-20 17:43:34 +01:00
Lukas Eder
2b28cbd64c HSQLDB schema regeneration 2012-12-20 17:34:30 +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
3fe9e89293 Fixed Postgres error handling after reinstall 2012-12-20 15:42:14 +01:00
Lukas Eder
c2c5f82b1a [#1689] Generate <E> E into(E) and <E> R from(E) methods to generated
records - Regenerated schema
2012-12-20 15:41:57 +01:00