Lukas Eder
afea623b09
[ #1870 ] Deprecate org.jooq.NamedTypeProviderQueryPart
2012-10-19 19:14:45 +02:00
Lukas Eder
1fecedc621
[ #1527 ] Support for converting String to java.net.URL, java.net.URI, and
...
java.io.File
2012-10-19 18:45:48 +02:00
Lukas Eder
3eb55f8295
[ #1839 ] Deprecate the various Result.getValuesAs[Type] and
...
Record.getValueAs[Type] methods
2012-10-19 17:57:51 +02:00
Lukas Eder
8cff3669fa
[ #1840 ] Deprecate org.jooq.Store
2012-10-19 17:24:26 +02:00
Lukas Eder
dfb0ae8717
[ #1855 ] Add Query.cancel() to support for interrupting statements
...
prematurely
2012-10-19 16:38:55 +02:00
Lukas Eder
675adc205f
[ #385 ] Allow for keeping open statements in a Query
2012-10-19 15:31:30 +02:00
Lukas Eder
eb0cfe4a68
[ #1857 ] NPE in org.jooq.impl.TableImpl and org.jooq.SchemaMapping caused
...
by not threadsafe code in SchemaMapping.
2012-10-12 14:56:29 +02:00
Lukas Eder
86a5fca6ee
Merge pull request #1858 from dankosedin/master
...
Fix for ticket 1857
2012-10-12 05:30:13 -07:00
Lukas Eder
2ee9b459bb
[ #1472 ] Move org.jooq.tools.debug API from jOOQ Console to core - After
...
experimenting with such APIs, Christopher Deckers and I came to the
conclusion that the debugger API is too specialised to be put into the
core. This ticket will be reverted
2012-10-12 14:09:27 +02:00
Lukas Eder
cdccbceb61
[ #1710 ] Add <E> Map<Record, List<E>> ResultQuery.fetchGroups(Field<?>[],
...
Class<E>) - Aligned API with other fetchGroups() methods
2012-10-12 14:03:15 +02:00
Ivan Dugic
85488a5cee
[1710] Add <E> Map<List<?>, List<E>> ResultQuery.fetchGroups(Field<?>[],
...
Class<E>)
2012-10-08 19:51:23 +02:00
Lukas Eder
0526ac1bc6
[ #1854 ] Add ResultQuery.maxRows(int) to limit the number of actually
...
fetched records
[#1856 ] Add Query.queryTimeout(int) to support for JDBC's
Statement.setQueryTimeout()
2012-10-07 12:36:53 +02:00
Denis Bondarenko
661eff4df5
Fixed possible NPE on deserialization
2012-10-03 11:54:47 +03:00
Denis Bondarenko
b862fd8d44
fix for ticket 1857
2012-10-02 13:24:59 +03:00
Lukas Eder
69187ee0ed
[ #1756 ] Add RecordMapper<E>, similar to RecordHandler<R>, mapping
...
records to custom types
2012-09-28 18:36:13 +02:00
Lukas Eder
8712b86f78
[ #1850 ] Record.equals() returns true as soon as both records hold a
...
"null" value for a given field
2012-09-28 17:50:29 +02:00
Lukas Eder
d82d95ef78
[ #1848 ] Add Record.changed() to indicate whether a Record contains
...
"dirty" values
2012-09-28 17:41:09 +02:00
Lukas Eder
9f2a848b07
[ #1849 ] Add Record.original() to obtain the originally fetched values
...
from a Record
2012-09-28 17:16:40 +02:00
Lukas Eder
e976d79243
[ #1472 ] Move org.jooq.tools.debug API from jOOQ Console to core
...
- Added Debugger.executor(), to re-enable jOOQ Console Editor
functionality
- Renamed DebuggerFactory to DebuggerAPI (may be improved)
- Reverted Settings flags to activate the Debugger Server
- Added explicit API in DebuggerAPI to start / stop the Debugger Server
- Added DebuggerAPI.debug property for global activation / deactivation
of debugging
2012-09-28 15:57:36 +02:00
Lukas Eder
a15c83fc25
[ #1844 ] Add Table<Record> Table.join(TableLike<?>, JoinType) to allow
...
for dynamic joining
2012-09-26 22:38:44 +02:00
Lukas Eder
20d9d02cdc
[ #1472 ] Move org.jooq.tools.debug API from jOOQ Console to core - Added
...
QueryExecutor.schemata(), .tables(Schema), .fields(Table) in order to
query for meta data
2012-09-24 23:33:49 +02:00
Lukas Eder
94225e8d5f
[ #1842 ] Add Condition Field.compare(Comparator, Field<T>) to allow for
...
dynamic comparisons
2012-09-24 22:06:08 +02:00
Lukas Eder
8f53755f94
[ #1841 ] Add SortField Field.sort(SortOrder) to allow for dynamic sorting
2012-09-24 21:51:07 +02:00
Lukas Eder
f9f351762c
[ #1709 ] Add Map<Record, Result<R>> ResultQuery.fetchGroups(Field<?>[])
...
- Changed result Map key from List<?> to Record
- Fixed some debugger-related issues
2012-09-23 12:24:07 +02:00
Lukas Eder
0bf633fc26
[ #1472 ] Move org.jooq.tools.debug API from jOOQ Console to core - Minor
...
improvements
2012-09-22 16:26:15 +02:00
Lukas Eder
b1ff568f41
[ #1837 ] Add support for @java.beans.ConstructorProperties when
...
fetching into immutable POJOs
2012-09-22 13:44:48 +02:00
Lukas Eder
55e4aaed8d
Changed generic type parameter <T> into <E> where reflection is involved
2012-09-22 12:33:11 +02:00
Lukas Eder
05bbb371c7
Wrap execute() call in try {} finally {}
2012-09-22 11:50:55 +02:00
Lukas Eder
dda85af4b4
[ #1472 ] Move org.jooq.tools.debug API from jOOQ Console to core -
...
Restored match count feature
2012-09-19 16:37:28 +02:00
Lukas Eder
142594e67d
[ #1472 ] Move org.jooq.tools.debug API from jOOQ Console to core -
...
Added instead processor
2012-09-19 16:02:43 +02:00
Lukas Eder
eaf50d8b57
[ #1829 ] Factory.execute(String) may cause errors when plain SQL
...
returns results
2012-09-19 16:02:06 +02:00
Lukas Eder
30121c3da2
Merge branch 'master' of https://github.com/jOOQ/jOOQ.git
2012-09-18 22:46:48 +02:00
Ivan Dugic
45e6356e4e
[ #1810 Add <T, E> Map<T, E> ResultQuery.fetchMap(Field<T>, Class<E>) and
...
Result.intoMap(Field<T>, Class<E>)]
2012-09-18 22:28:03 +02:00
Lukas Eder
3f048d2692
[ #1472 ] Move org.jooq.tools.debug API from jOOQ Console to core - added
...
column count to ResultLog along with row count. Both are performance
relevant.
2012-09-16 23:43:05 +02:00
Lukas Eder
337b158648
[ #1472 ] Move org.jooq.tools.debug API from jOOQ Console to core - Added
...
QueryOrigin property to QueryLog
2012-09-16 23:37:41 +02:00
Lukas Eder
6cd084e77f
[ #1830 ] Allow for passing null or empty arrays to intoMap(Field[]) and
...
intoGroups(Field[])
2012-09-16 22:46:42 +02:00
Lukas Eder
907b0d45cf
Removed unnecessary throws clauses
2012-09-16 22:41:24 +02:00
Lukas Eder
c6a238e9b9
[ #1472 ] Move org.jooq.tools.debug API from jOOQ Console to core
2012-09-16 22:39:08 +02:00
Lukas Eder
d9bf1c5703
[ #1472 ] Move org.jooq.tools.debug API from jOOQ Console to core
2012-09-16 18:10:06 +02:00
Lukas Eder
362bae68e0
[ #1828 ] Reduce log level for Factory deserialisation to TRACE
2012-09-14 11:50:14 +02:00
Lukas Eder
5b40017df6
[ #1819 ] MappingException in Record.into(Class), when POJO setters
...
have applicable names but non-applicable argument types
2012-09-14 10:33:46 +02:00
Lukas Eder
83f5bf8388
[ #1820 ] Cannot fetch into non-public POJO classes. Their members /
...
getters / setters should be made accessible
2012-09-14 09:27:39 +02:00
Lukas Eder
1ae5227d9d
[ #1472 ] Add a Settings.executeDebugging property, and move server-side
...
Console logic to core - Added runtime setting
2012-09-13 18:44:45 +02:00
Lukas Eder
dcdceadfb1
Merge pull request #1815 from idugic/master
...
#1709 update
2012-09-11 12:58:22 -07:00
Ivan Dugic
cd05526a97
[ #1709 ] Add Map<List<?>, Result<R>> ResultQuery.fetchGroups(Field<?>...)
...
Update
2012-09-11 21:49:28 +02:00
Lukas Eder
a31e00dad1
Fixed warning
2012-09-11 20:49:59 +02:00
Ivan Dugic
e127a11432
[ #1709 ] Add Map<List<?>, Result<R>> ResultQuery.fetchGroups(Field<?>...)
2012-09-10 22:25:49 +02:00
Lukas Eder
921056dba0
[ #1708 ] Add <T, E> Map<T, List<E>> ResultQuery.fetchGroupsInto(Field<T>,
...
Class<E>)
- Renamed "fetchIntoGroups" to "fetchGroups"
- Replaced usage of LinkedList by ArrayList
2012-09-09 09:54:58 +02:00
Ivan Dugic
d8aac367f5
[ #1708 ] Add <T, E> Map<T, List<E>> ResultQuery.fetchGroupsInto(Field<T>,
...
Class<E>)
2012-09-07 21:54:01 +02:00
Lukas Eder
eeaa60bee8
[ #600 ] Add support for Oracle / SQL Standard linear regression functions
2012-09-07 16:30:45 +02:00
Lukas Eder
7f3e0fb63d
[ #1808 ] Optimise various ResultQuery.fetch(int),
...
ResultQuery.fetch(String) methods. They don't need to fetch all fields,
only the required ones - Added a comment
2012-09-07 12:38:08 +02:00
Lukas Eder
25996db3f7
[ #1719 ] Make logic from ResultQuery.fetchArray() available in
...
Result.intoArray()
2012-09-07 12:09:09 +02:00
Lukas Eder
1b7ee88984
[ #1807 ] Result.intoArray() declares "throws MappingException", which
...
isn't true
2012-09-07 11:35:11 +02:00
Lukas Eder
85cb1067f8
[ #1802 ] Result.into(Table) doesn't work correctly, if the same field
...
name appears twice in Result - Improve Record.into(Table) Javadoc
2012-09-07 11:02:19 +02:00
Lukas Eder
54e33892c0
[ #1802 ] Result.into(Table) doesn't work correctly, if the same field
...
name appears twice in Result
2012-09-07 10:52:47 +02:00
Lukas Eder
edd616a3a7
[ #1806 ] Let Record.toString() wrap the record in a temporary Result and
...
call Result.toString() instead
2012-09-07 09:33:25 +02:00
Lukas Eder
1c9511e329
Added some Javadoc to AbstractDelegatingSelect
2012-09-06 22:55:52 +02:00
Lukas Eder
d20fe113a0
[ #1800 ] Deprecate AliasProvider
2012-09-05 20:43:57 +02:00
Lukas Eder
a32cc252ef
[ #1797 ] SQL syntax errors when plain SQL contains comments with question
...
marks and SQL is executed as StatementType.STATIC_STATEMENT
2012-09-05 20:35:55 +02:00
Lukas Eder
0b0a260620
[ #1792 ] Factory.fieldByName() and tableByName() do not correctly escape
...
quotes
2012-09-05 19:04:31 +02:00
Lukas Eder
e7dbb66881
[ #1674 ] Export data types with Result.formatXML() and
...
Result.formatJSON() exports - Documented changes in manual and Javadoc
2012-09-05 18:16:20 +02:00
Lukas Eder
c02ab72d7b
[ #1674 ] Export data types with Result.formatXML() and
...
Result.formatJSON() exports - Fixed formatXML() namespace
2012-09-04 23:46:12 +02:00
Lukas Eder
310c62fbaf
Merge branch 'master' of https://github.com/idugic/jOOQ into idugic-master
2012-09-04 23:32:57 +02:00
Ivan Dugic
3007782fc8
Removed jOOQ prefix from test cases and launch configuration.
2012-09-04 22:14:40 +02:00
Ivan Dugic
9242a5c510
[ #1674 ] Export data types with Result.formatXML() and
...
Result.formatJSON() exports
2012-09-04 21:25:03 +02:00
Lukas Eder
3eb857e196
[ #1058 ] Add <T1, T2, .. TN> Factory.row(T1, T2, .. TN) and
...
Factory.row(Field<T1>, Field<T2> ... Field<TN>) to allow for creating
tuples / rows - Renamed "TUPLE" into "ROW" to follow the SQL standard
2012-09-04 20:39:15 +02:00
Lukas Eder
79f36b69df
[ #1679 ] Add Factory.table(String, QueryPart...)
2012-09-02 17:41:28 +02:00
Lukas Eder
5f65aa4e8c
Add Tuple.getFields()
2012-09-02 16:23:12 +02:00
Lukas Eder
15f0b8b813
[ #1764 ] Add missing @Support({ ... FIREBIRD ... }) annotations
2012-09-02 15:30:58 +02:00
Lukas Eder
d9c8a91a83
[ #1786 ] Fix SEQUENCE support for Firebird
2012-09-02 14:46:33 +02:00
Lukas Eder
6562d3dae4
[ #1484 ] Let XJC-generated artefacts implement Cloneable - Added an
...
additional test case
2012-09-02 14:27:57 +02:00
Lukas Eder
b42fc21322
[ #1484 ] Let XJC-generated artefacts implement Cloneable
2012-09-02 12:13:06 +02:00
Lukas Eder
a6b69a6edf
[ #1245 ] - Improve formatting for DECIMAL data types in Result.format() -
...
Improved test case, removed trimming of trailing zeroes
2012-09-02 09:40:23 +02:00
Lukas Eder
d1c81e84b5
Merge pull request #1785 from idugic/master
...
#1245
2012-09-01 12:16:43 -07:00
Ivan Dugic
57ea195109
[ #1245 ] Improve formatting for DECIMAL data types in Result.format().
...
Nicely align the decimal point and reserve space on both sides
Who would say some jUnit test will fail? Cool.
2012-09-01 19:55:08 +02:00
Ivan Dugic
d1142d2a62
[ #1245 ] - Improve formatting for DECIMAL data types in Result.format().
...
Nicely align the decimal point and reserve space on both sides
2012-09-01 18:51:12 +02:00
Lukas Eder
172d2e80fa
[ #1728 ] Add support for the MySQL COUNT(DISTINCT expr, expr...)
...
aggregate function syntax
2012-09-01 17:58:18 +02:00
Lukas Eder
86121ae906
[ #1058 ] Add <T1, T2, .. TN> Factory.tuple(T1, T2, .. TN) and
...
Factory.tuple(Field<T1>, Field<T2> ... Field<TN>) to allow for creating
tuples - Pull up in(Select<?>) and notIn(Select<?>) methods
2012-09-01 17:37:32 +02:00
Lukas Eder
7b698497ec
[ #1784 ] Enhance the BETWEEN predicate, introducing the AND keyword
2012-09-01 17:02:21 +02:00
Lukas Eder
eb9264e00d
Fixed some warnings
2012-09-01 12:14:22 +02:00
Lukas Eder
7ba5bb1beb
[ #1782 ] Move JAXB bindings out of XSD, in order to support more advanced
...
bindings
2012-09-01 11:43:45 +02:00
Lukas Eder
4f5593d8b4
[ #1774 ] QueryPart.toString() does not load default settings from
...
classpath
2012-09-01 10:39:30 +02:00
Lukas Eder
2a235ff569
Store SchemaMapping to local variable
2012-09-01 10:20:33 +02:00
Lukas Eder
27ac37a751
[ #1077 ] Add support for the SQL standard OVERLAPS predicate
2012-08-30 22:51:20 +02:00
Lukas Eder
86d3792960
[ #1583 ] Add support for tuple expressions in UPDATE statements: UPDATE
...
.. SET (A, B, C) = (SELECT X, Y, Z) - Added Tuple marker interface
2012-08-30 20:43:48 +02:00
Lukas Eder
334cd69b19
[ #1762 ] Add package-info.java to add Javadoc documentation to all
...
packages
2012-08-30 20:34:21 +02:00
Lukas Eder
81d68ad165
[ #1766 ] Simulate tuple comparisons where they are not supported
2012-08-30 19:50:42 +02:00
Lukas Eder
fd168139c3
[ #1771 ] Negated combined conditions render unnecessary parentheses
2012-08-30 19:17:02 +02:00
Lukas Eder
490478cd38
[ #1768 ] NullPointerException when DAO.fetchOne() returns no record
2012-08-30 18:39:19 +02:00
Lukas Eder
69a23ecb0d
[ #1058 ] Add <T1, T2, .. TN> Factory.tuple(T1, T2, .. TN) and
...
Factory.tuple(Field<T1>, Field<T2> ... Field<TN>) to allow for creating
tuples
2012-08-29 22:26:19 +02:00
Lukas Eder
546672ca94
[ #1763 ] Remove useless internal NamedQueryPartList
2012-08-29 19:02:08 +02:00
Lukas Eder
ebef56c7d8
[ #1744 ] Add support for the CUBRID DECR() function
2012-08-28 20:00:34 +02:00
Lukas Eder
bea0a4917b
[ #1751 ] Result.intoResultSet() generates wrong ResultSetMetaData
...
if runtime schema mapping is applied
2012-08-28 19:58:46 +02:00
Lukas Eder
7d569a9e54
Release 2.6.0-SNAPSHOT
2012-08-28 19:45:25 +02:00
Lukas Eder
c8d3b0789b
Fixed BETWEEN SYMMETRIC for Sybase ASE
2012-08-26 09:45:28 +02:00
Lukas Eder
c8a212cc5e
Release 2.5.0
2012-08-25 22:47:03 +02:00
Lukas Eder
b38d698ae9
[ #1741 ] Deprecate org.jooq.MasterDataType
2012-08-25 17:37:13 +02:00
Lukas Eder
8b605c86b5
[ #1736 ] Deprecate TableRecord.{store|refresh|delete}Using() methods as
...
being part of jOOQ's internal API
2012-08-25 15:05:46 +02:00
Lukas Eder
d22941a1f6
Fixed warnings
2012-08-25 15:03:07 +02:00
Lukas Eder
8659323f1b
Made IsDistinctFrom package-private!
2012-08-25 12:16:30 +02:00
Lukas Eder
f2ff0c77e2
[ #430 ] Add support for the Firebird database - Changed connection URL to
...
fix binding of null values
2012-08-25 11:35:44 +02:00
Lukas Eder
85d9f8ffc5
[ #430 ] Add support for the Firebird database - Fixed handling of
...
BigDecimal data types
2012-08-24 11:43:24 +02:00
Lukas Eder
88de2f62da
[ #430 ] Add support for the Firebird database - Fixed binding of NULL
...
values to PreparedStatements
2012-08-24 11:17:54 +02:00
Lukas Eder
3c8be0ed30
[ #430 ] Add support for the Firebird database - Fixed data types
2012-08-24 08:43:24 +02:00
Lukas Eder
7abc0907f0
Firebird will not be experimental, but "beta"
2012-08-24 01:13:51 +02:00
Lukas Eder
a243b86fc2
[ #430 ] Add support for the Firebird database - initial code generation
...
contribution
2012-08-24 01:10:27 +02:00
Lukas Eder
cfd5ad417e
[ #430 ] Add support for the Firebird database - Added initial code
...
generation contribution
2012-08-24 01:05:42 +02:00
Lukas Eder
e346394ac7
[ #1730 ] Compilation errors in SQLite generated code when flag
...
<instanceFields/> is set to true
2012-08-23 20:01:19 +02:00
Lukas Eder
c8d2b997dc
[ #1727 ] Cast VARCHAR bind values to their actual string length in
...
Firebird
2012-08-23 19:27:24 +02:00
Lukas Eder
b708cc15e4
[ #1727 ] Cast VARCHAR bind values to their actual string length
2012-08-22 18:59:22 +02:00
Lukas Eder
a8a1b0190b
Fixed "IS DISTINCT FROM" for Sybase SQL Anywhere
2012-08-22 18:56:44 +02:00
Lukas Eder
9e96de36ce
Fixed "SYMMETRIC" for Sybase SQL Anywhere
2012-08-22 18:55:51 +02:00
Lukas Eder
c814d30853
[ #430 ] Add support for the Firebird database - Fixed BOOLEAN literals
2012-08-19 18:59:43 +02:00
Lukas Eder
50f99b3bd8
[ #430 ] Add support for the Firebird database - Fixed LIKE_REGEX() test
...
case
2012-08-19 18:47:03 +02:00
Lukas Eder
2afd325029
[ #430 ] Add support for the Firebird database - Fixed ASCII()
2012-08-19 18:25:58 +02:00
Lukas Eder
a59f83b6d3
[ #430 ] Add support for the Firebird database - Fixed REPEAT()
2012-08-19 18:24:31 +02:00
Lukas Eder
5f0d165869
[ #430 ] Add support for the Firebird database - Fixed RPAD() and LPAD()
2012-08-19 18:23:42 +02:00
Lukas Eder
bb3df952f2
[ #430 ] Add support for the Firebird database - Fixed REPLACE()
2012-08-19 18:23:28 +02:00
Lukas Eder
102e1f6bf9
[ #430 ] Add support for the Firebird database - Improved GREATEST() and
...
LEAST() implementations
2012-08-19 18:21:17 +02:00
Lukas Eder
426ec1fed9
[ #430 ] Add support for the Firebird database - Fixed DATE TIME
...
arithmetic
2012-08-19 18:05:36 +02:00
Lukas Eder
dfb0bfda4c
[ #430 ] Add support for the Firebird database - Fixed INSERT .. RETURNING
2012-08-19 17:39:40 +02:00
Lukas Eder
04ab71c821
[ #430 ] Add support for the Firebird database - Implement LIMIT using
...
ROWS .. TO, instead of FIRST .. SKIP
2012-08-19 14:47:03 +02:00
Lukas Eder
97be121d08
[ #430 ] Add support for the Firebird database - Fixed multi-record INSERT
2012-08-19 14:34:24 +02:00
Lukas Eder
e5e453464b
[ #430 ] Add support for the Firebird database - Fixed UNION and UNION ALL
2012-08-19 14:22:08 +02:00
Lukas Eder
3b2c7a7a45
[ #430 ] Add support for the Firebird database - Fixed BETWEEN SYMMETRIC
2012-08-19 14:12:26 +02:00
Lukas Eder
b32a18e6a0
[ #430 ] Add support for the Firebird database - Fixed GREATEST(), LEAST()
2012-08-19 14:05:34 +02:00
Lukas Eder
d2d7c5e79f
[ #430 ] Add support for the Firebird database - Fixed EULER number,
...
DEGREES() and RADIANS() functions
2012-08-19 14:03:12 +02:00
Lukas Eder
069261057a
[ #430 ] Add support for the Firebird database - Fixed LTRIM() and RTRIM()
2012-08-19 13:51:03 +02:00
Lukas Eder
b490fb7df7
[ #430 ] Add support for the Firebird database - Fixed empty GROUP BY()
...
clauses
2012-08-19 13:33:44 +02:00
Lukas Eder
c457958bb4
[ #430 ] Add support for the Firebird database - Fixed more data types
2012-08-19 13:30:13 +02:00
Lukas Eder
ec6be8c5b2
[ #430 ] Add support for the Firebird database - Fixed large IN predicates
2012-08-19 13:23:21 +02:00
Lukas Eder
9c16349663
[ #430 ] Add support for the Firebird database - Fixed SUBSTRING()
2012-08-19 13:21:30 +02:00
Lukas Eder
4ff3c98bcc
[ #430 ] Add support for the Firebird database - Fixed LIMIT
2012-08-19 12:59:24 +02:00
Lukas Eder
16576dbe27
[ #430 ] Add support for the Firebird database - Fixed bind value casting
2012-08-19 12:45:08 +02:00
Lukas Eder
a40f111195
[ #1723 ] Add Factory.fetchLazy(ResultSet)
2012-08-19 12:28:47 +02:00
Lukas Eder
825d89d876
Added Javadoc remark about Iterable vs. Iterator
2012-08-18 19:07:08 +02:00
Lukas Eder
dcc3d0c33e
[ #430 ] Add support for the Firebird database - Fixed support annotation
2012-08-18 17:34:55 +02:00
Lukas Eder
3ba7ef5a9c
[ #1722 ] ResultQuery.fetchArray(int) and .fetchArray(String) should
...
return a typed array, even if this cannot be checked by the compiler
2012-08-18 17:34:11 +02:00
Lukas Eder
0ace81628e
[ #430 ] Add support for the Firebird database - Fixed bitwise operations
2012-08-17 19:20:52 +02:00
Lukas Eder
1fa3a6e951
[ #430 ] Add support for the Firebird database - Fixed CURRENT_DATE,
...
CURRENT_TIME, CURRENT_TIMESTAMP
2012-08-17 19:01:01 +02:00
Lukas Eder
2956e11d6c
[ #430 ] Add support for the Firebird database - fixed TRUNCATE statement
2012-08-17 18:50:15 +02:00
Lukas Eder
ad41d00e92
[ #430 ] Add support for the Firebird database - Fixed CURRENT_USER()
2012-08-17 18:48:01 +02:00
Lukas Eder
5ecc70035a
[ #430 ] Add support for the Firebird database - Fixed DUAL table
2012-08-17 18:46:52 +02:00
Lukas Eder
83981bf9dd
[ #430 ] Add support for the Firebird database - Partially fixed data
...
types
2012-08-17 18:43:25 +02:00
Lukas Eder
9d0c022f33
[ #430 ] Add support for the Firebird database
2012-08-17 18:32:12 +02:00
Lukas Eder
53e234af71
[ #1692 ] Replace Factory.executeInsert(), Factory.executeUpdate() and
...
similar methods with more succinct variants - Added missing parts for
executeDelete()
2012-08-17 14:51:30 +02:00
Lukas Eder
511757685e
[ #1721 ] Add <K, V> Map<K, List<V>> ResultQuery.fetchGroups(Field<K>,
...
Field<V>) and Result.intoGroups(Field<K>, Field<V>)
2012-08-17 12:04:38 +02:00
Lukas Eder
8c07e10014
[ #1707 ] Add <K> Map<K, Result<R>> ResultQuery.fetchGroups(Field<K>) and
...
Result.intoGroups(Field<K>)
2012-08-17 11:50:32 +02:00
Lukas Eder
1bf31a484d
[ #1716 ] Make all logic from ResultQuery.fetchXXX() available in
...
Result.XXX() - Added fetchMap() methods
2012-08-17 11:21:50 +02:00
Lukas Eder
818edad796
[ #1718 ] Document usage of InvalidResultException on the
...
ResultQuery.fetchXXX() Javadocs
2012-08-17 10:53:47 +02:00
Lukas Eder
ed947217d7
[ #1714 ] Add Result.sortAsc, .sortDesc(Comparator<? super R>)
2012-08-15 19:22:33 +02:00
Lukas Eder
d5bf83cfe8
[ #1712 ] Add <T extends Comparable<? super T>> Result.sortAsc,
...
.sortDesc(Field<T>)
[#1713 ] Add <T> Result.sortAsc, .sortDesc(Field<T>, Comparator<? super
T>)
2012-08-15 19:14:44 +02:00
Lukas Eder
b6e9e06f20
[ #1704 ] Document the behaviour of Factory.newRecord(Table<?>, Object),
...
and Record.from(Object) with respect to UpdatableRecord.store()
2012-08-12 11:37:00 +02:00
Lukas Eder
d14483b03e
[ #1701 ] Add Condition Factory.not(Condition) as a synonym for
...
Condition.not()
2012-08-11 14:46:32 +02:00
Lukas Eder
3c9ae4da6e
[ #1698 ] Add support for the SQL standard BETWEEN SYMMETRIC predicate
2012-08-11 13:33:27 +02:00
Lukas Eder
b91c2e2399
Improved Javadoc on DISTINCT predicate
2012-08-11 12:45:01 +02:00
Lukas Eder
3097d00cf0
[ #1696 ] Add short versions of comparison predicate methods, such as eq,
...
ne, gt, ge, lt, le
2012-08-11 12:15:36 +02:00
Lukas Eder
5584093ea5
Reorganised Field API according to predicate manual sections
2012-08-11 12:05:30 +02:00
Lukas Eder
9bd17b5c86
Moved rand() function from "other" to the "mathematical functions"
...
section
2012-08-10 21:03:14 +02:00
Lukas Eder
6f37bafae7
Fixed javac issues related to generics
2012-08-10 16:24:25 +02:00
Lukas Eder
b48db4a690
[ #1693 ] Cannot bind UDT values from other schemata to stored procedures
2012-08-10 16:16:58 +02:00
Lukas Eder
956de59769
Added remark to Factory Javadocs, concerning static imports
2012-08-10 14:09:55 +02:00
Lukas Eder
fb7f143edc
[ #1684 ] Add <attachRecords/> Setting to indicate that fetched records
...
shouldn't be automatically "attached"
2012-08-10 13:46:33 +02:00
Lukas Eder
ed397248dd
[ #1692 ] Replace Factory.executeInsert(), Factory.executeUpdate() and
...
similar methods with more succinct variants
2012-08-10 13:15:20 +02:00
Lukas Eder
a9b61b1a2f
[ #1688 ] Add <E> E Record.into(E) as a complement to <E> E
...
Record.into(Class<E>)
2012-08-10 12:37:01 +02:00
Lukas Eder
4d648a63cd
[ #1687 ] Let Cursor.fetchInto(Table<Z>) return Result<Z> instead of
...
List<Z>
2012-08-09 18:47:36 +02:00
Lukas Eder
d8b640e5d5
[ #1684 ] Add Setting to indicate that fetched records shouldn't be
...
automatically "attached" - Added Javadoc
2012-08-09 18:45:58 +02:00
Lukas Eder
6234f86b3d
[ #1685 ] Improve Javadoc of Attachable.attach(). Document how "detaching"
...
works
2012-08-09 17:57:54 +02:00
Lukas Eder
38286cb5df
[ #1681 ] Simulate empty GROUP BY () clause in Sybase ASE and Ingres,
...
joining a dummy table and grouping by a constant field
2012-08-05 23:29:43 +02:00
Lukas Eder
e5bbfbe4bf
[ #1665 ] Add support for the empty GROUP BY () clause
2012-08-05 23:23:49 +02:00
Lukas Eder
c0be23d7c5
[ #1665 ] Add support for the empty GROUP BY () clause
2012-08-05 23:00:06 +02:00
Lukas Eder
5ccad19d67
Added some additional Javadoc links
2012-08-05 15:52:43 +02:00
Lukas Eder
5defcedf59
[ #1680 ] Overload all plain SQL DSL methods to also accept QueryPart
...
arguments
2012-08-05 15:51:07 +02:00
Lukas Eder
f4a3e2a4c8
[ #457 ] Add support for Oracle user-defined AGGREGATE functions
2012-08-05 11:14:21 +02:00
Lukas Eder
1bbc721106
[ #1673 ] Result.formatXML() and Result.intoXML() do not render namespaces
...
correctly
2012-08-04 17:18:48 +02:00
Lukas Eder
09776ae418
[ #1675 ] Add support for the SQL standard IS [NOT] DISTINCT FROM
...
predicate
2012-08-04 17:11:51 +02:00
Lukas Eder
17ebbf9ff3
[ #1660 ] Factory.renderContext().castMode(CastMode.NEVER).render(query)
...
doesn't work. CastMode is not applied
2012-08-04 13:44:22 +02:00
Lukas Eder
eacb78dc51
[ #816 ] Add support for Oracle Text functions
2012-08-04 13:34:39 +02:00
Lukas Eder
18deada0b9
[ #1667 ] Bad variable binding when NULLS FIRST, NULLS LAST is simulated
...
in SQL Server and other databases
2012-08-04 12:01:10 +02:00
Lukas Eder
23874fa18d
Better signature
2012-08-01 13:46:02 +02:00
Lukas Eder
e146168d29
[ #1645 ] Add support for Oracle's PARTITION BY clause in OUTER JOINs
2012-08-01 13:33:09 +02:00
Lukas Eder
52e995ed83
[ #1650 ] jOOR fix #16 : Can't call Reflect.create(A, B, null)
2012-07-31 23:40:44 +02:00
Lukas Eder
ddb5ee2f91
[ #1220 ] Use a code coverage tool to detect code potentially uncovered by
...
integation tests - Removed some dead code
2012-07-31 21:46:41 +02:00
Lukas Eder
34a153f556
[ #722 ] Remove casting of bind values to appropriate type in Ingres
2012-07-31 19:56:41 +02:00
Lukas Eder
b2df43d6e5
Added final keyword
2012-07-31 18:26:01 +02:00
Lukas Eder
33c4736d39
Let QueryPart extends Serializable, redundantly
2012-07-27 20:27:53 +02:00
Lukas Eder
50838fed0a
[ #1639 ] Deprecate org.jooq.Adapter
2012-07-27 20:26:54 +02:00
Lukas Eder
616056c40e
[ #1544 ] Remove Attachable interface from QueryPart hierarchy -
...
deprecated some methods
2012-07-27 20:14:46 +02:00
Lukas Eder
9bf4f75cbf
[ #1544 ] Remove Attachable interface from QueryPart hierarchy - removed
...
obsolete AttachableImpl
2012-07-27 20:11:13 +02:00
Lukas Eder
8a4c6cf07d
[ #1544 ] Remove Attachable interface from QueryPart hierarchy -
...
deprecated some methods
2012-07-27 19:57:20 +02:00
Lukas Eder
3b40b8b862
[ #1544 ] Remove Attachable interface from QueryPart hierarchy
2012-07-27 19:52:21 +02:00
Lukas Eder
b5a3c2221e
[ #1544 ] Remove Attachable interface from QueryPart hierarchy - Removed
...
unused methods
2012-07-27 19:16:57 +02:00
Lukas Eder
0a7a7843ed
[ #1544 ] Remove Attachable interface from QueryPart hierarchy
2012-07-27 19:13:49 +02:00
Lukas Eder
a4b94aec79
Made methods final
2012-07-27 19:05:21 +02:00
Lukas Eder
c2fb28f04c
[ #1638 ] Deprecate ArrayRecord.createArray()
2012-07-27 18:48:44 +02:00
Lukas Eder
edcdb41adc
[ #1544 ] Remove Attachable interface from QueryPart hierarchy
2012-07-27 18:43:39 +02:00
Lukas Eder
a9c2e61c66
[ #1633 ] Improve the performance of CursorImpl.CursorIterator by setting
...
Record values by index rather than by field - fixed regression
2012-07-27 18:16:37 +02:00
Lukas Eder
21b3defc6c
[ #1634 ] Improve the performance of Factory.newRecord() by avoiding
...
accessing record values by Field rather than by index - fixed regression
2012-07-27 18:03:11 +02:00
Lukas Eder
0c4e9f00e4
[ #1627 ] Handle NULL in CSV imports/exports
2012-07-27 17:03:26 +02:00
Lukas Eder
ad58152f7b
Javadoc warnings fixed
2012-07-27 15:54:17 +02:00
Lukas Eder
777d55682e
[ #1589 ] Enable Eclipse Javadoc comment processing in project
...
configuration
2012-07-27 15:49:17 +02:00
Lukas Eder
58f57c9f1a
[ #1635 ] Improve the performance of Factory.fetch(ResultSet) by caching
...
data type normalisation regex in FieldTypeHelper
2012-07-27 14:46:23 +02:00
Lukas Eder
79c29febc0
[ #1634 ] Improve the performance of Factory.newRecord() by avoiding
...
accessing record values by Field rather than by index
2012-07-27 14:00:43 +02:00
Lukas Eder
e2b6b8dc9a
[ #1633 ] Improve the performance of CursorImpl.CursorIterator by setting
...
Record values by index rather than by field
2012-07-27 13:52:50 +02:00
Lukas Eder
9caed2164b
[ #1632 ] Improve the performance of various DefaultRenderContext methods,
...
by locally caching Settings values locally
2012-07-27 13:33:15 +02:00
Lukas Eder
f3f93dfa29
[ #1596 ] Add support for optimistic locking using generated information
...
about "timestamp" or "version" columns
2012-07-27 12:35:24 +02:00
Lukas Eder
38d98a4ce7
Fixed bad namespace
2012-07-22 18:18:38 +02:00
Lukas Eder
a737b76efb
[ #1547 ] Support "optimistic locking" in UpdatableRecord.store() and
...
delete()
-
Implemented optimistic locking using a Settings property, rather than an
additional API method
2012-07-22 17:19:30 +02:00
Lukas Eder
539e8b2438
Suppress new Eclipse compiler warning
2012-07-22 17:08:44 +02:00
Lukas Eder
b60b575069
[ #727 ] Simulate RPAD and LPAD in SQLite - Some improvements to support
...
padding by more than one character
2012-07-22 13:01:42 +02:00
Lukas Eder
55dd62d8cf
[ #727 ] Simulate RPAD and LPAD in SQLite
2012-07-19 22:17:16 +02:00
Lukas Eder
cc9d960ae1
[ #1595 ] Simulate REPEAT() in SQLite
2012-07-19 22:15:29 +02:00
Lukas Eder
12e6e295c6
[ #727 ] Simulate RPAD and LPAD in SQLite
2012-07-19 21:49:28 +02:00
Lukas Eder
723bff2419
[ #1582 ] Add support for Oracle's ORDER SIBLINGS BY clause, in
...
combination with CONNECT BY
2012-07-19 20:25:47 +02:00
Lukas Eder
202065f013
[ #1586 ] Add missing constructors taking DataSource to dialect-specific
...
factories
2012-07-19 19:34:28 +02:00
Lukas Eder
b001a7c73e
Updated Eclipse compiler settings to add Eclipse Juno features
2012-07-19 19:19:45 +02:00
Lukas Eder
05a055b2b1
[ #1580 ] Deprecate org.jooq.SchemaProvider
2012-07-15 17:22:05 +02:00
Lukas Eder
d66955743a
[ #1579 ] Deprecate org.jooq.Type
2012-07-15 17:12:02 +02:00
Lukas Eder
11b00a20e9
Fixed some warnings
2012-07-15 17:10:11 +02:00
Lukas Eder
033f4f346f
[ #1553 ] Add some Javadoc to document the difference between using a
...
Factory with a Connection or with a DataSource - Added additional
Javadoc to transaction handling delegate methods in FactoryOperations
2012-07-15 16:00:09 +02:00
Lukas Eder
33aa730bfd
[ #1572 ] Use Thread.currentThread().getContextClassLoader() to load
...
ExecuteListener classes as a workaround for experienced class
loading problems when using OSGi
2012-07-15 15:44:55 +02:00
Lukas Eder
15c5df4036
Removed unnecessary throws clause
2012-07-15 15:12:44 +02:00
Lukas Eder
3f85fb95cd
[ #1547 ] Support "optimistic locking" in UpdatableRecord.storeLocked()
...
- Added UpdatableRecord.deleteLocked()
2012-07-15 15:08:12 +02:00
Lukas Eder
add0476024
[ #1547 ] Support "optimistic locking" in UpdatableRecord.store()
2012-07-14 16:14:10 +02:00
Lukas Eder
1c42b05ad6
[ #1570 ] Add Factory.condition(String, QueryPart...) similar to
...
Factory.field(String, QueryPart...)
2012-07-14 13:43:44 +02:00
Lukas Eder
adf3848278
[ #620 ] Add support for the SQL:2008 standard LIKE_REGEX operator
2012-07-14 13:34:20 +02:00
Lukas Eder
b071472073
[ #1566 ] CONNECT BY related functions are not rendered using the
...
Settings.getRenderKeywordStyle() property - Fixed two functions, added
test cases for connectByIsLeaf() and connectByIsCycle()
2012-07-14 10:22:34 +02:00
Lukas Eder
4b0b015925
[ #1565 ] Add Factory.connectByRoot(Field<?>) to support the Oracle
...
CONNECT_BY_ROOT pseudo column
2012-07-13 18:54:14 +02:00
Lukas Eder
28b06d7301
Release 2.5.0-SNAPSHOT
2012-07-11 22:24:09 +02:00
Lukas Eder
c95aa4cb7b
[ #1552 ] Generate fetchBy[ColumnName] methods in generated DAO classes
2012-07-11 22:17:52 +02:00
Lukas Eder
5e6d79dea0
[ #1553 ] Add some Javadoc to document the difference between using a
...
Factory with a Connection or with a DataSource
2012-07-11 21:32:39 +02:00
Lukas Eder
b23b21c82e
[ #1544 ] Remove AttachableInternal.getAttachables() - Throw an
...
UnsupportedOperationException in AbstractQueryPart.getDialect()
2012-07-11 21:07:40 +02:00
Lukas Eder
6a254af74a
Release 2.4.0
2012-07-08 17:22:34 +02:00
Lukas Eder
55f6c2c53b
[ #1542 ] Simulate the H2 MERGE syntax in other dialects supporting the
...
SQL standard MERGE statement - GitHub Issue #18
2012-07-06 22:18:08 +02:00
Lukas Eder
dfdbc9536c
[ #1541 ] Add support for the H2 MERGE syntax - GitHub Issue #18
2012-07-06 21:02:11 +02:00
Lukas Eder
633d1a43a9
[ #1537 ] Factory.batchStore() renders bad SQL for Postgres. The RETURNING
...
clause is not allowed in batch INSERTs
2012-07-06 19:18:08 +02:00
Lukas Eder
83bf96a04f
Configuration.java contains "import org.hamcrest.Factory" - GitHub Issue
...
#26
2012-07-06 16:01:21 +02:00
Lukas Eder
caae7fd953
[ #1536 ] Add documentation to the FOR UPDATE OF clause, indicating that
...
DB2 may have stricter requirements regarding updatability of fields
2012-07-06 15:21:47 +02:00
Lukas Eder
7728053c65
[ #1141 ] Add Result.intoResultSet() to wrap a Result in a JDBC ResultSet
2012-07-06 14:09:22 +02:00
Lukas Eder
f89c193529
Added section comment anchors: XXX
2012-07-06 14:07:49 +02:00
Lukas Eder
1700d832b7
[ #1522 ] fetch().into(Table) doesn't initialise records correctly, such
...
that subsequent calls to store() will execute an INSERT, rather than an
UPDATE
2012-07-06 13:27:25 +02:00
Lukas Eder
535a28f9fd
[ #1529 ] Factory.batchStore() logs all single statements to DEBUG output.
...
Find a more accurate log output
2012-07-06 11:52:18 +02:00
Lukas Eder
f4cd5d4528
[ #1532 ] Clarify the lifecycle of Configuration.data in the Javadoc
2012-07-05 19:01:17 +02:00
Lukas Eder
73db018cec
[ #1521 ] Expose Connection methods, such as commit(), rollback() and
...
similar transaction-related methods in Factory - added some DEBUG
logging
2012-07-02 22:21:50 +02:00
Lukas Eder
9eea63db80
[ #1253 ] Avoid JDBC escape syntax for date/time literals - Fixed Unit
...
tests
2012-07-02 21:14:30 +02:00
Lukas Eder
6f5ac2bb9b
[ #1141 ] Add Result.intoResultSet() to wrap a Result in a JDBC ResultSet
2012-07-01 16:32:20 +02:00
Lukas Eder
006ec665aa
[ #1524 ] Simulate ROW_NUMBER() OVER() in HSQLDB using ROWNUM()
2012-07-01 11:01:17 +02:00
Lukas Eder
577ddd4a60
[ #1523 ] Support ROW_NUMBER() OVER() for the latest version of Derby and
...
H2, which support it
2012-07-01 10:49:38 +02:00
Lukas Eder
71588514ff
[ #1253 ] Avoid JDBC escape syntax for date/time literals - fix for Sybase
...
ASE
2012-07-01 10:34:27 +02:00
Lukas Eder
2ba8e8acaa
[ #1498 ] jOOQ does not compile using JDK 7 / JDBC 4.1. GitHub Issue #24 -
...
Moved JDBC 4.1 artefacts to a public org.jooq.tools.jdbc package, for
reuse in jOOQ Console and other modules
2012-07-01 10:16:43 +02:00
Lukas Eder
72715a1c7c
[ #1253 ] Avoid JDBC escape syntax for date/time literals
2012-06-30 12:21:07 +02:00
Lukas Eder
206ec3cde4
Fixed bad refactoring change
2012-06-30 10:13:57 +02:00
Lukas Eder
8d277816c5
[ #1521 ] Expose Connection methods, such as commit(), rollback() and
...
similar transaction-related methods in Factory
2012-06-30 10:06:17 +02:00
Lukas Eder
f969ebd565
[ #1515 ] Splitting of large NOT IN conditions is wrong. The parts should
...
be connected with AND, not with OR
2012-06-29 19:58:20 +02:00
Lukas Eder
71bd87f33d
[ #1498 ] jOOQ does not compile using JDK 7 / JDBC 4.1. GitHub Issue #24
2012-06-29 16:45:55 +02:00
Lukas Eder
a128acc898
Merge pull request #25 from jjYBdx4IL/master
...
please pull this
2012-06-29 07:26:22 -07:00
Lukas Eder
11258bd9b6
[ #1505 ] Bad exception message when ON DUPLICATE KEY IGNORE cannot be
...
simulated
2012-06-29 15:03:26 +02:00
Lukas Eder
cd1e228444
[ #1504 ] Document behaviour of fetch() and fetchOne() in case jOOQ cannot
...
fetch actual records
2012-06-29 14:56:49 +02:00
Lukas Eder
cad539b372
[ #1501 ] Add support for conversion of String to java.sql.{Date, Time,
...
Timestamp}. GitHub issue #22
2012-06-28 13:15:53 +02:00
Lukas Eder
24c0f9f0d0
Merge pull request #22 from zefixlluja/master
...
Conversion from String to java.sql.Date
2012-06-28 03:59:35 -07:00
Lukas Eder
7ec3639419
[ #1493 ] Bad syntax for SELECT /*+hint*/ DISTINCT ... in Oracle
2012-06-28 11:51:15 +02:00
Mark
ae51b0f652
fix compiler errors related to not implemented abstract methods -- added methods throwing UnsupportedMethodExceptions instead
2012-06-27 13:08:27 +02:00
Jochen Munz
d54808cf56
Conversion from String to java.sql.Date
...
* Conversion is attempted if from=String and to=java.sql.Date
* Date format is expected to be in YYYY-MM-DD
* Throws exception if date is invalid
2012-06-21 10:03:07 +02:00
Lukas Eder
31a87578f5
[ #1483 ] Inefficient cloning of default settings using JAXB unmarshalling
...
leads to non-negligible overall overhead. Use serialisation instead
(short of a useful XJC clone plugin)
2012-06-03 15:47:08 +02:00
Lukas Eder
430c75f0c2
[ #1470 ] Support interface types in ResultQuery.fetchInto(Class),
...
Result.into(Class), and Record.into(Class) methods, returning a proxy
2012-06-01 19:32:50 +02:00
Lukas Eder
129488582a
[ #1471 ] Upgrade internal jOOR dependency to jOOR 0.9.4
2012-06-01 19:00:00 +02:00
Lukas Eder
7e01cbaffa
Slight performance improvement
2012-05-28 11:58:33 +02:00
Lukas Eder
f16f4d8f2d
[ #1461 ] Exception when rendering of {fn datetimeadd(...)} for HSQLDB and
...
Derby
2012-05-28 11:45:34 +02:00
Lukas Eder
f65f05e8d5
[ #1460 ] Table.getReferencesTo(Table) doesn't work correctly for aliased
...
tables - Canonical implementation
2012-05-28 11:24:38 +02:00
Lukas Eder
61a796c9a6
[ #1404 ] Document the lifecycle of an ExecuteListener in the Javadoc
2012-05-25 14:01:28 +02:00
Lukas Eder
0d5850bc53
Replaced internal references to the deprecated Factory.literal() by
...
Factory.inline()
2012-05-25 10:14:18 +02:00
Lukas Eder
5c6638bd5c
[ #1020 ] Improve Oracle's LIMIT .. OFFSET clause simulation. GitHub Issue
...
#16 - Fixed generated syntax error and bad variable binding
2012-05-25 10:02:14 +02:00
Lukas Eder
38592d92c8
Merge pull request #16 from stanislas/oracle-limit-offset
...
alternative oracle limit implementation.
2012-05-24 23:57:20 -07:00
Lukas Eder
e1d83c3dfd
[ #1448 ] Handle String to Enum conversion (when Java Enums are stored as
...
Strings in the database) - GitHub issue #15
2012-05-24 18:09:42 +02:00
Victor Pirat
01c1beaa55
Handle String to Enum conversion (when Java Enums are stored as Strings in the database).
2012-05-24 09:41:29 +02:00
Lukas Eder
aefd24c007
[ #1438 ] Add Result<Record> Factory.fetchFromCSV(String)
2012-05-22 21:31:24 +02:00
Lukas Eder
e37c5e56e2
[ #1446 ] Converting arbitrary strings to Number / Date should return
...
null, instead of throwing an exception
2012-05-22 21:27:45 +02:00
Lukas Eder
81d44b7b2a
[ #1441 ] Performance issue with AbstractDataType.convert(Object). Avoid
...
conversions when they're obviously unneeded
2012-05-22 19:54:16 +02:00
peter
ea85e102af
add parent pom.xml to project
2012-05-22 00:16:28 +02:00
Lukas Eder
dca8c44162
[ #1432 ] Removed redundant SQLClause, merged
...
functionality into SQLField
2012-05-20 23:19:59 +02:00
Lukas Eder
6e3e800b68
[ #1432 ] Add Factory.fetch(String, QueryPart...) and
...
Factory.execute(String, QueryPart...) and similar methods to support
arbitrary QueryParts in plain SQL
[#1437 ] Error in Javadoc of FactoryOperations.fetchOne(). This method
may return null
2012-05-20 23:16:33 +02:00
Lukas Eder
6b5c293d0c
[ #1431 ] Add org.jooq.Name Factory.name(String) to contruct QueryParts
...
that are escaped according to Settings.getRenderNameStyle()
2012-05-20 21:51:09 +02:00
Lukas Eder
e1d1cb6765
Improved Javadoc on some field() and fieldByName() methods
2012-05-20 17:27:32 +02:00
Lukas Eder
b912e4f596
Fixed Javadoc
2012-05-19 14:21:28 +02:00
Lukas Eder
e7ccbad907
Created release maven profile to remove gpg signing from regular builds
2012-05-19 14:19:21 +02:00
Lukas Eder
6f59f99632
Fixed Javadoc
2012-05-19 14:09:06 +02:00
Lukas Eder
b074cea5e8
[ #1280 ] Generate DAO classes and interfaces for POJOs - some fixes
...
[#1428 ] Add DataType.convert(Object...) and
DataType.convert(Collection<?>) for convenience
2012-05-19 11:58:39 +02:00
Lukas Eder
2254444dad
[ #1429 ] Change Convert.convert(List, XXX) to accept Collection instead
...
of List
2012-05-19 11:30:23 +02:00
Lukas Eder
aade4d7026
[ #1280 ] Generate DAO classes and interfaces for POJOs
...
[#1427 ] Add Factory.batchStore(Collection<? extends UpdatableRecord<?>>)
for convenience
2012-05-18 18:37:18 +02:00
Lukas Eder
6b095aac37
[ #1424 ] Add Factory(DataSource) and similar constructors - fixed
...
regression
2012-05-16 00:25:00 +02:00
Lukas Eder
fee7cbc344
Fixed some deprecation warnings
2012-05-15 23:12:33 +02:00
Lukas Eder
0940d0f45c
Improved Javadoc on fieldByName()
2012-05-15 21:38:15 +02:00
Lukas Eder
b46db7c8c5
[ #1423 ] Add Field.likeIgnoreCase() to support Postgres' ILIKE operator
2012-05-13 21:09:26 +02:00
Lukas Eder
6eb56640df
[ #1411 ] Add support for Postgres "any" data type (with quotes!). This
...
seems to map well to java.lang.Object
2012-05-11 11:15:28 +02:00
Lukas Eder
1fac2d30ec
[ #1408 ] Relax bounds of <R> in Factory.truncate() to Record, instead of
...
TableRecord
2012-05-11 11:09:15 +02:00
Lukas Eder
767574f4c2
Release 2.4.0-SNAPSHOT
2012-05-11 11:07:25 +02:00
Lukas Eder
843b82cccf
Release 2.3.1
2012-05-11 10:04:13 +02:00
Lukas Eder
c1ae59160b
[ #1334 ] Fix inaccurate simulation of TRUNC(number, decimals) for Derby
2012-05-11 09:51:19 +02:00
Lukas Eder
e53a757cb4
[ #1403 ] Documentation bug: ctx.statement() can be replaced in
...
executeStart(). This is not documented
2012-05-10 22:12:35 +02:00
Lukas Eder
aeb8765d1e
Release 2.3.1-SNAPSHOT
2012-05-09 22:45:54 +02:00
Lukas Eder
fd9457a720
Release 2.3.0 - Fixed NPE in new function
2012-05-06 20:19:41 +02:00
Lukas Eder
c1a7bd0bee
Release 2.3.0
2012-05-06 18:23:11 +02:00
Lukas Eder
ad8d4a159c
[ #989 ] INSERT and UPDATE statements always render non-qualified, escaped
...
field names. This may cause trouble when using plain SQL fields
[#1390 ] Add RenderContext.qualify() to indicate whether QueryParts
should render qualified versions of themselves or not
2012-05-01 23:31:16 +02:00
Lukas Eder
63d038b6c6
[ #1109 ] Standalone TABLE or VARRAY types are not correctly initialised
...
before referencing tables load them
2012-05-01 22:41:19 +02:00
Lukas Eder
d40772a8d9
[ #470 ] Add support for the Oracle TRUNC function for datetime arithmetic
2012-05-01 22:40:49 +02:00
Lukas Eder
b71d7b47b9
[ #470 ] Add support for the Oracle TRUNC function for datetime arithmetic
2012-05-01 22:14:10 +02:00
Lukas Eder
97e8fbc9f0
[ #910 ] Add ExecuteListener extension to allow for overriding exception
...
translator to handle vendor-specific error codes
2012-05-01 14:39:40 +02:00
Lukas Eder
0145a12b1c
[ #1295 ] Add support for MySQL's INSERT IGNORE clause
2012-05-01 10:10:34 +02:00
Lukas Eder
9c435f3ff8
[ #1296 ] Simulate the FOR UPDATE clause for SQL Server, CUBRID, using
...
JDBC's ResultSet.CONCUR_UPDATABLE
2012-04-30 23:56:30 +02:00
Lukas Eder
8c6381ff1f
[ #1352 ] Allow for creating syntax-error and SQL-injection safe
...
qualifiers for org.jooq.Field and org.jooq.Table
2012-04-29 14:11:26 +02:00
Lukas Eder
ee14afc58e
[ #1379 ] Upgrade internal jOOU dependency to jOOU 0.9.1
2012-04-29 13:16:17 +02:00
Lukas Eder
7150b098bc
[ #1378 ] Upgrade internal jOOR dependency to jOOR 0.9.3
2012-04-29 12:33:18 +02:00
Lukas Eder
d09b715976
Added "EXPERIMENTAL" disclaimer to FactoryProxy
2012-04-29 12:09:09 +02:00
Lukas Eder
db2b2ac946
[ #1376 ] Oracle UDTs in REF CURSORs are not deserialised correctly from
...
procedure OUT parameters
[#1377 ] Oracle UDTs are not deserialised correctly when the same UDT
name is present in multiple schemata
2012-04-29 11:26:57 +02:00
Lukas Eder
bb12708eb9
[ #1371 ] Missing conversion when using unsafe Field<?> types in BATCH
...
statements
2012-04-28 13:22:07 +02:00
Lukas Eder
f842a60b73
[ #1361 ] Add Factory.batchStore(TableRecord<?>...), to allow for batch
...
UPDATE/INSERTs of many records
[#1366 ] Let org.jooq.Batch extend Serializable
[#1367 ] Make configured ExecuteListeners default constructors accessible
[#1368 ] Promote AbstractQuery.isExecutable() to the public API
2012-04-27 16:20:44 +02:00
Lukas Eder
d5176c891c
[ #1336 ] Let Record.into(Class<?>) and similar methods accept "immutable"
...
classes, i.e. setter-less classes that take several constructor
arguments
2012-04-27 12:59:53 +02:00
Lukas Eder
2a5cb2046d
Clarified Javadocs
2012-04-27 12:13:27 +02:00
Stanislas
cea35b0539
alternative oracle limit implementation.
2012-04-26 19:25:24 +02:00
Lukas Eder
66f6e248e7
[ #1344 ] Micro-optimisation: Initialise Result ArrayLists to their
...
expected size, if that size is known.
2012-04-25 22:53:33 +02:00
Lukas Eder
8e4f04ba2e
[ #1340 ] Use Constructor.setAccessible(true), if no default constructor
...
is available on the target type of Record.into(Class<?>)
2012-04-25 21:55:24 +02:00
Lukas Eder
946cf34e0c
[ #1349 ] Add support for the CUBRID Click-Counter INCR()
2012-04-25 21:35:11 +02:00
Lukas Eder
59200ce6b0
[ #1342 ] Improve Javadoc on Factory.function(). Document arguments
2012-04-25 21:20:27 +02:00
Lukas Eder
0cdbbb9a11
Applied Sergey's patch to support Settings from FactoryProxy
2012-04-25 19:27:03 +02:00
Lukas Eder
1df7156550
[ #1343 ] Regression in insertInto(...).values(...). Cannot pass Field<?>
...
to values()
2012-04-22 12:24:47 +02:00
Lukas Eder
6bc74d2577
[ #597 ] Add support for Oracle KEEP (DENSE_RANK FIRST...) aggregate
...
function clause
2012-04-22 11:41:44 +02:00
Lukas Eder
cc61275add
Upgraded Eclipse and Plugins
2012-04-22 10:51:58 +02:00
Lukas Eder
ada41ad5ae
Upgraded Eclipse and Plugins
2012-04-22 10:21:42 +02:00
Lukas Eder
392c419551
[ #1333 ] Add support for the Oracle TRUNC function, for numeric arithmetic
2012-04-20 13:40:42 +00:00
Lukas Eder
e60bed838a
[ #1323 ] Add support for byte[] in Postgres UDTs - Added support for Octal values
2012-04-20 13:33:42 +00:00
Lukas Eder
1796cac423
[ #1333 ] Add support for the Oracle TRUNC function, for numeric arithmetic
2012-04-20 13:16:37 +00:00
Lukas Eder
aac93ee93a
[ #1322 ] Add Factory.dateAdd() and timestampAdd() for convenience
2012-04-20 10:36:41 +00:00
Lukas Eder
18e05cea75
[ #1324 ] Code generation error in Oracle 10g when generating stored procedures
2012-04-20 09:35:15 +00:00
Lukas Eder
76247926be
[ #1283 ] The LIKE escape character needs escaping, too, in contains(), startsWith(), endsWith()
...
[#1328 ] Add Field<String> inline(char), inline(Character), inline(CharSequence) for convenience
2012-04-20 09:07:32 +00:00
Lukas Eder
6fcf0f9b30
[ #1320 ] Document the possibility of accessing Connection.getWarnings() when errors are ignored in the Loader API
2012-04-20 08:31:11 +00:00
Lukas Eder
711c7d011d
[ #1326 ] Error when deserialising BLOBs from Oracle UDTs
2012-04-20 08:12:04 +00:00
Lukas Eder
f1add09448
[ #1327 ] Add DataType.isLob()
2012-04-19 17:47:28 +00:00
Lukas Eder
64c60a549a
[ #1323 ] Add support for byte[] in Postgres UDTs
2012-04-19 16:42:30 +00:00
Lukas Eder
f842b7d905
Improved Javadoc on store() and storeUsing() methods
2012-04-18 20:01:54 +00:00
Lukas Eder
cfd7c56aed
[ #1319 ] Move jooq-spring's FactoryProxy to the core jooq project
2012-04-15 18:33:27 +00:00
Lukas Eder
cee7e5c1fb
Fixed Javadoc links
2012-04-14 14:11:10 +00:00
Lukas Eder
69bf32942d
Release 2.3.0
2012-04-13 14:46:05 +00:00
Lukas Eder
80d051b555
[ #1310 ] Deprecate Factory.literal() in favor of Factory.inline(), and Factory.field()
2012-04-13 11:12:23 +00:00
Lukas Eder
a997bc4970
[ #1302 ] Add Factory.inline() to allow for flagging inline-only "bind values"
2012-04-13 10:31:35 +00:00
Lukas Eder
fcf396140e
[ #1304 ] Add option to generate JSR-303 @NotNull and @Size annotations to generated POJO's
2012-04-13 09:32:40 +00:00
Lukas Eder
a9d517fde2
[ #1293 ] Generate setter methods for JAXB annotated configuration properties
...
Release 2.3.0-SNAPSHOT
2012-04-12 18:56:25 +00:00
Lukas Eder
f2b2bf6efd
[ #1303 ] Add connection-less Factory constructors for convenience, when jOOQ is only used as a SQL query builder - Fixed Javadoc errors
2012-04-12 18:49:47 +00:00
Lukas Eder
6d49519087
[ #1286 ] Add "renderSchema" flag to Settings, to completely disable rendering of schema names
...
[#1306 ] Add missing INTERVAL data types to HSQLDBDataType
2012-04-12 18:30:59 +00:00
Lukas Eder
20b261fff3
[ #1307 ] Let HSQLDB dialect render NVL2() as NVL2() instead of CASE expression
2012-04-12 18:24:42 +00:00
Lukas Eder
8be5e947cb
[ #1303 ] Add connection-less Factory constructors for convenience, when jOOQ is only used as a SQL query builder
2012-04-12 17:47:26 +00:00
Lukas Eder
69ce148a40
Release 2.2.1
2012-04-12 16:16:18 +00:00
Lukas Eder
2f568eb7e3
[ #1288 ] SQL syntax errors from sequences when using RenderMapping's defaultSchema
2012-04-11 21:52:00 +00:00
Lukas Eder
249034d1d8
[ #1297 ] Compilation error in CUBRID generated artefacts referencing OBJECT types
2012-04-10 17:40:47 +00:00
Lukas Eder
1758ad2b88
[ #1289 ] DefaultBindContext logs as Util.class
2012-04-09 17:05:14 +00:00
Lukas Eder
1c11b9d81d
[ #1287 ] Remove oracle.sql dependency also from OSGi information in pom.xml
2012-04-09 17:01:23 +00:00
Lukas Eder
693a78350b
Release 2.2.0 - Fixed Javadoc
2012-04-09 15:30:01 +00:00
Lukas Eder
2c691d1f31
Release 2.2.0 - Fixed Javadoc
2012-04-09 15:27:58 +00:00
Lukas Eder
bfd039bdcb
Release 2.2.0
2012-04-08 13:18:44 +00:00
Lukas Eder
6cb6fad7d9
[ #585 ] Add support for DATE, TIME and INTERVAL arithmetic - won't support Ingres...
2012-04-07 14:42:54 +00:00
Lukas Eder
053d107f6e
[ #566 ] Add support for INTERVAL data types - some fixes for Postgres
...
[#585 ] Add support for DATE, TIME and INTERVAL arithmetic - some fixes for Postgres
2012-04-07 13:26:32 +00:00
Lukas Eder
d0d0198cbc
[ #566 ] Add support for INTERVAL data types - some fixes
...
[#585 ] Add support for DATE, TIME and INTERVAL arithmetic - some fixes
2012-04-07 12:01:06 +00:00
Lukas Eder
d1285173f7
[ #1278 ] DEBUG log both executed SQL and SQL with inlined bind values
2012-04-07 11:59:36 +00:00
Lukas Eder
7acc26838a
[ #1273 ] Simulate GROUP_CONCAT() aggregate function using Oracle's LISTAGG() function, where available
2012-04-06 20:40:46 +00:00
Lukas Eder
003344ef32
[ #1276 ] Simulate Oracle's LISTAGG() in DB2 using XMLAGG(), SUBSTR() and CONCAT()
2012-04-06 19:57:49 +00:00
Lukas Eder
ca32a0fa39
[ #1273 ] Simulate GROUP_CONCAT() aggregate function using Oracle's LISTAGG() function, where available
2012-04-06 19:24:46 +00:00
Lukas Eder
8a5d3ae639
[ #1273 ] Simulate GROUP_CONCAT() aggregate function using Oracle's LISTAGG() function, where available
2012-04-06 18:49:15 +00:00
Lukas Eder
367befbe98
[ #1273 ] Simulate MySQL's / CUBRID's GROUP_CONCAT() aggregate function using Oracle's LISTAGG() function
...
[#1275 ] Simulate Sybase's LIST() aggregate function using Oracle's LISTAGG() function
2012-04-06 18:39:46 +00:00
Lukas Eder
e1220a5e75
[ #1268 ] Add Factory.field(String, QueryPart...) to generate custom clauses - Some simplifications
2012-04-06 17:53:34 +00:00
Lukas Eder
7d78b0a23a
[ #1268 ] Add Factory.field(String, QueryPart...) to generate custom clauses - Some simplifications
2012-04-06 17:05:10 +00:00
Lukas Eder
6e6fcbcf78
[ #1268 ] Add Factory.field(String, QueryPart...) to generate custom clauses
2012-04-06 16:29:59 +00:00
Lukas Eder
7f9ce2adf9
[ #1274 ] Add support for the Oracle LISTAGG() analytic function - fixed regression
2012-04-06 15:51:19 +00:00
Lukas Eder
490ca642bf
[ #1274 ] Add support for the Oracle LISTAGG() analytic function
2012-04-06 14:26:42 +00:00
Lukas Eder
fe58db50d5
[ #1257 ] Add CUBRID support - Updated @Support annotations
2012-04-06 12:06:55 +00:00
Lukas Eder
d3d65b4aac
[ #1269 ] Add YEAR(), MONTH(), DAY(), HOUR(), MINUTE(), SECOND() function support as shortcuts for EXTRACT()
2012-04-05 06:01:59 +00:00
Lukas Eder
4d50e15b16
[ #585 ] Add support for DATE, TIME and INTERVAL arithmetic - Implementation done for SQLServer, Sybase, implementation attempts for SQLite
2012-04-04 21:31:36 +00:00
Lukas Eder
a0dacbcc0e
[ #585 ] Add support for DATE, TIME and INTERVAL arithmetic - Implementation done for HSQLDB, implementation attempts for Ingres, Postgres
2012-04-04 20:23:23 +00:00
Lukas Eder
26c7a3090a
[ #585 ] Add support for DATE, TIME and INTERVAL arithmetic - Implementation done for Derby, H2
...
[#585 ] Upgraded H2 from 1.3.163 to 1.3.165
2012-04-04 19:26:28 +00:00
Lukas Eder
299a4bb3ba
[ #585 ] Add support for DATE, TIME and INTERVAL arithmetic - Implementation done for DB2
2012-04-01 19:14:09 +00:00
Lukas Eder
82737aa437
[ #585 ] Add support for DATE, TIME and INTERVAL arithmetic - Implementation done for Sybase ASE, CUBRID, MySQL
2012-04-01 18:12:53 +00:00
Lukas Eder
5c5317ea24
[ #1257 ] Add CUBRID support - Fixed sequence generation
...
[#1257 ] Add CUBRID support - Fixed dual simulation
2012-04-01 08:45:19 +00:00
Lukas Eder
52039b4b0c
[ #1263 ] Pass fetchsizes <= 0 to the JDBC driver (for MySQL compatibility)
2012-03-31 05:41:04 +00:00
Lukas Eder
7d6392e62e
[ #1257 ] Add CUBRID support - Fixed some issues
2012-03-30 16:15:04 +00:00
Lukas Eder
7c003bbbf7
[ #1257 ] Add CUBRID support - Fixed some issues
2012-03-30 15:30:22 +00:00
Lukas Eder
dcfd44c414
[ #1241 ] Wrong variable binding when comparing CHAR columns in Derby and DB2 without explicit casting to VARCHAR
2012-03-30 13:46:44 +00:00
Lukas Eder
997f14e393
[ #1241 ] Wrong variable binding when comparing CHAR columns in Derby and DB2 without explicit casting to VARCHAR
2012-03-30 13:45:08 +00:00
Lukas Eder
f5a713dc17
[ #1257 ] Add CUBRID support - Fixed some issues
2012-03-30 10:01:19 +00:00
Lukas Eder
6a308ddf92
[ #1257 ] Add CUBRID support - Fixed some issues
2012-03-30 09:48:23 +00:00
Lukas Eder
0eb930cceb
[ #1257 ] Add CUBRID support - Added integration tests, fixed many issues, added relations support
2012-03-30 09:03:22 +00:00
Lukas Eder
32b312078e
[ #1257 ] Add CUBRID support - Added dialect, factory, jooq-meta support, demodb generation
2012-03-28 18:49:08 +00:00
Lukas Eder
3c242dd05d
[ #566 ] Add support for INTERVAL data types - initial implementation for the Postgres dialect
2012-03-27 16:25:22 +00:00
Lukas Eder
c3640ea846
Fixed Javadoc
2012-03-24 18:20:22 +00:00
Lukas Eder
bba467bcee
[ #585 ] Add support for DATE, TIME and INTERVAL arithmetic
2012-03-24 11:52:53 +00:00
Lukas Eder
f917e72193
[ #566 ] Add support for INTERVAL data types - initial implementation for the Oracle dialect
2012-03-24 10:37:43 +00:00
Lukas Eder
5c6a588eec
[ #1183 ] Add support for DEFAULT values in Oracle stored procedure parameters
...
[#1252 ] Avoid JDBC escape syntax for stored procedure calls, where this is possible
2012-03-23 11:53:55 +00:00
Lukas Eder
f29fb63fb8
[ #1248 ] Setting <records>false</records> and <relations>true</relations> leads to compilation errors
2012-03-21 18:36:37 +00:00
Lukas Eder
9873c7a1e5
Release 2.2.0-SNAPSHOT
2012-03-20 21:19:20 +00:00
Lukas Eder
6c92310758
Release 2.2.0-SNAPSHOT
2012-03-20 21:14:00 +00:00
Lukas Eder
072804e133
Release 2.1.0 - Fixed Oracle regression
2012-03-18 13:02:13 +00:00
Lukas Eder
0d4b871d1a
Release 2.1.0 - Fixed ASE regression
2012-03-18 12:42:49 +00:00
Lukas Eder
26e3fc6987
Release 2.1.0
2012-03-18 09:36:11 +00:00
Lukas Eder
af04f261cf
[ #1199 ] Table.getFields() returns an internal representation of a table's field list. Make generated tables immutable instead!
2012-03-18 08:25:26 +00:00
Lukas Eder
f5a994bbae
[ #1215 ] Add org.jooq.Converter<T, U> for custom type mapping - Don't make org.jooq.impl.DataTypes public yet
2012-03-16 15:53:32 +00:00
Lukas Eder
05ab707d87
[ #1215 ] Add org.jooq.Converter<T, U> for custom type mapping - Improved implementation
2012-03-16 15:51:49 +00:00
Lukas Eder
1d2ad8d935
[ #1128 ] NULL is inlined in INSERT statement instead of binding it as a variable. This can cause issues when using jOOQ with Spring - Fixed broken unit tests
2012-03-16 13:06:09 +00:00
Lukas Eder
92857341f6
Release 2.1.0
2012-03-16 12:57:08 +00:00
Lukas Eder
9e881e9d8e
[ #1239 ] Add Factory.fetchLazy(String)
2012-03-16 12:21:45 +00:00
Lukas Eder
efe80c02a7
[ #1232 ] SQLException when Factory.fetch() does not return a ResultSet
2012-03-16 12:13:22 +00:00
Lukas Eder
4251ec133c
[ #1137 ] Exclude MySQL column-level enum types when that column is overridden by a <forcedType/>
...
[#1237 ] Don't generate enum classes for columns in MySQL tables that are excluded from code generation
2012-03-16 12:08:32 +00:00
Lukas Eder
342f435e7f
[ #1181 ] Add support for SQL Server data types timestamp and rowversion
2012-03-16 11:27:18 +00:00
Lukas Eder
05166e4801
[ #1181 ] Add support for SQL Server data types timestamp and rowversion
2012-03-16 11:09:04 +00:00
Lukas Eder
9650f0fbd3
[ #1232 ] SQLException when Factory.fetch() does not return a ResultSet
2012-03-16 10:53:32 +00:00
Lukas Eder
8428b8a8cd
[ #349 ] Add SQLite relations support
...
[#1234 ] Add Database.getTable(SchemaDefinition, String, boolean) to fetch tables case-insensitively
2012-03-16 10:06:19 +00:00
Lukas Eder
f4b17b83f3
[ #1128 ] NULL is inlined in INSERT statement instead of binding it as a variable. This can cause issues when using jOOQ with Spring
...
[#1158 ] Derby cannot handle inlined NULL literals in some contexts
2012-03-11 21:14:44 +00:00
Lukas Eder
f765e8d10e
[ #1225 ] Bind NULL byte[] as java.sql.Types.BINARY instead of BLOB in Postgres, to avoid errors
...
[#1226 ] Bind NULL UDTs with their associated type name in Oracle
2012-03-11 18:35:17 +00:00
Lukas Eder
c208c3e557
[ #1189 ] TableMapping regression for SQLite database
2012-03-11 13:58:18 +00:00
Lukas Eder
0c8063ef02
[ #1190 ] Cannot store SQLite records when using StatementType.STATIC_STATEMENT
2012-03-11 13:11:46 +00:00
Lukas Eder
e3e0bf638f
[ #1223 ] Cache ExecuteListener classes for performance
2012-03-11 11:06:21 +00:00
Lukas Eder
1aa4196968
[ #1191 ] Deprecate ConfigurationRegistry and replace by equivalent ExecuteListener feature - added some comments
2012-03-11 10:26:47 +00:00
Lukas Eder
5646d17b99
[ #1191 ] Deprecate ConfigurationRegistry and replace by equivalent ExecuteListener feature
2012-03-11 10:24:40 +00:00
Lukas Eder
c82d28a0fe
[ #650 ] Add a data type registry "org.jooq.impl.DataTypes" for cleaner DataType referencing - Added TODO
2012-03-08 22:25:25 +00:00
Lukas Eder
11db6b671f
[ #650 ] Add a data type registry "org.jooq.impl.DataTypes" for cleaner DataType referencing - Added TODO
2012-03-08 22:12:51 +00:00
Lukas Eder
7cb6568873
[ #1217 ] Add EnumConverter as a base type for custom enum converters
...
[#1218 ] Add code generation options to generate <customTypes/> referencing a Java type and a Converter
2012-03-08 20:04:13 +00:00
Lukas Eder
cfd934c9fe
[ #1221 ] Incorrect ExecuteListener invocation for INSERT .. RETURNING. executeStart() and executeEnd() are omitted
2012-03-08 19:11:59 +00:00
Lukas Eder
23b92034cd
[ #1219 ] API Bug: Cannot use LIMIT .. OFFSET along with FOR UPDATE
2012-03-06 19:07:18 +00:00
Lukas Eder
9ece8fc8b9
[ #1202 ] Add support for the relational division operation: A.divideBy(B).on(A.ID.equal(B.A_ID)).returning(A.X, A.Y, ...) - added some more Javadoc
2012-03-06 19:04:35 +00:00
Lukas Eder
54633e826d
[ #1218 ] Add code generation options to generate <customTypes/> referencing a Java type and a Converter - First implementation draft
2012-03-04 19:07:19 +00:00
Lukas Eder
a47284df8d
[ #650 ] Add a data type registry "org.jooq.impl.DataTypes" for cleaner DataType referencing
...
[#1217 ] Add EnumConverter as a base type for custom enum converters
2012-03-04 15:55:00 +00:00
Lukas Eder
880786ff07
[ #1215 ] Add org.jooq.Converter<T, U> for custom type mapping
...
[#1216 ] Overload Record, Result.getValue() and .setValue() methods to accept a Converter
2012-03-04 15:00:17 +00:00
Lukas Eder
a414d3467f
[ #1180 ] Execute BatchMultiple (multi-query batch query), when executing BindSimple (single-query, multi-bind value query) with StatementType == STATIC_STATEMENT
...
[#1207 ] Add Factory.batch(Collection<? extends Query>) for convenience
2012-03-03 15:43:58 +00:00
Lukas Eder
86402653ed
[ #1202 ] Add support for the relational division operation: A.divideBy(B).on(A.ID.equal(B.A_ID)).returning(A.X, A.Y, ...)
2012-03-03 13:44:12 +00:00
Lukas Eder
e914d2d037
Documented descending ordering by index
2012-03-03 13:17:29 +00:00
Lukas Eder
eb7f140ece
[ #161 ] Add runtime configuration to pretty print rendered SQL - fixed indentation of subselects
2012-03-03 12:49:36 +00:00
Lukas Eder
64fd48639c
[ #1150 ] Add code generation option to disable generation of records
2012-03-02 17:22:53 +00:00
Lukas Eder
df9f495226
[ #161 ] Add runtime configuration to pretty print rendered SQL - minor fix
2012-03-02 14:58:50 +00:00
Lukas Eder
b1fd8f8989
Release 2.1.0-SNAPSHOT
2012-03-02 14:49:37 +00:00
Lukas Eder
d26df720d0
[ #625 ] Remove dependency from generated Routines to the generator's SQLDialect
2012-03-02 14:47:23 +00:00
Lukas Eder
5f00b0eb26
[ #161 ] Add runtime configuration to pretty print rendered SQL
2012-03-02 13:53:57 +00:00
Lukas Eder
16f1a8555e
[ #1188 ] Load default Settings from the classpath at /jooq-settings.xml, or from -Dorg.jooq.settings
2012-03-01 20:38:27 +00:00
Lukas Eder
fd2cee4561
[ #521 ] Add runtime configuration for SQL reference style (upper case, lower case, as-is, quoted) - Fixed potential regression with NPE's when using CustomTables
2012-03-01 20:15:22 +00:00
Lukas Eder
399e5769e3
[ #1200 ] Internal API leak exposed through covariance in AbstractType.getFields()
2012-03-01 16:56:10 +00:00
Lukas Eder
6b7457536a
[ #1199 ] Table.getFields() returns an internal representation of a table's field list. Make generated tables immutable instead! - fix didn't work
2012-03-01 16:55:03 +00:00
Lukas Eder
700d88bb08
[ #1199 ] Table.getFields() returns an internal representation of a table's field list. Make generated tables immutable instead!
2012-03-01 16:32:48 +00:00
Lukas Eder
d511a29230
[ #1200 ] Internal API leak exposed through covariance in AbstractType.getFields()
2012-03-01 16:22:03 +00:00
Lukas Eder
8a8713d171
[ #491 ] Add runtime configuration for SQL keyword style (upper case, lower case)
2012-02-29 19:50:44 +00:00
Lukas Eder
b55236f0ba
[ #521 ] Add runtime configuration for SQL reference style (upper case, lower case, as-is, quoted)
2012-02-29 18:03:13 +00:00
Lukas Eder
19c706b0d6
[ #521 ] Add runtime configuration for general quoting of SQL
2012-02-28 17:53:03 +00:00
Lukas Eder
76efe128e5
Replaced tabs by spaces
2012-02-28 17:35:28 +00:00
Lukas Eder
ba07044227
Release 2.0.6-SNAPSHOT
2012-02-28 17:15:31 +00:00
Lukas Eder
428108b426
Updated copyright date from 2009-2011 to 2009-2012
2012-02-27 18:40:53 +00:00
Lukas Eder
1e499b540d
Release 2.0.5 - Fixed Javadoc
2012-02-26 20:30:12 +00:00
Lukas Eder
f9b4cc4448
Release 2.0.5
2012-02-26 19:01:06 +00:00
Lukas Eder
3cb4363c5f
[ #1157 ] Add SQL / JDBC tracing capabilities in addition to logging - fixed broken ResultQuery.fetchMany()
2012-02-26 18:18:02 +00:00
Lukas Eder
35b85c26e1
[ #978 ] Schema.getTables() and similar methods return empty lists when Schema is mapped with SchemaMapping
...
[#1175 ] Factory.use() seems to render SQL with the Schema name still present
2012-02-26 18:02:45 +00:00
Lukas Eder
3b93e6fa7e
[ #978 ] Schema.getTables() and similar methods return empty lists when Schema is mapped with SchemaMapping
...
[#1175 ] Factory.use() seems to render SQL with the Schema name still present
2012-02-26 17:32:25 +00:00
Lukas Eder
c075d2b31b
[ #1175 ] Factory.use() seems to render SQL with the Schema name still present
2012-02-26 14:39:57 +00:00
Lukas Eder
5709eb5add
[ #1107 ] Let Field.contains() support the Postgres ARRAY @> ARRAY operator
2012-02-26 12:36:04 +00:00
Lukas Eder
2da4878ff5
[ #1184 ] Add DataType.isArray()
2012-02-26 11:59:00 +00:00
Lukas Eder
6ab797d87b
[ #1177 ] Add SQL Console module to jOOQ - Added some basic SQL parsing to ExecuteType.type()
2012-02-26 11:49:46 +00:00
Lukas Eder
d0ff2dba83
[ #1177 ] Add SQL Console module to jOOQ - Fixeed ordering of ExecuteType literals for sorting in SQL Console UI
2012-02-26 10:24:56 +00:00
Lukas Eder
d1a99bc3f8
Some Javadoc clarification
2012-02-24 17:24:31 +00:00
Lukas Eder
d5d7991976
[ #1179 ] Oracle-generated ArrayRecords need a reference to org.jooq.Schema to read TABLE of OBJECT from stored procedures
2012-02-24 17:11:44 +00:00
Lukas Eder
6354152c96
[ #1156 ] Bad inlining of DATE / TIME / TIMESTAMP data types in Ingres (and other dialects, when the setting differs from the default) - Fixed unit tests after recent changes
2012-02-24 15:25:35 +00:00
Lukas Eder
ed085ff5be
[ #1157 ] Add SQL / JDBC tracing capabilities in addition to logging - Added integration tests for using ExecuteListener with BatchMultiple
2012-02-24 14:25:55 +00:00
Lukas Eder
fff0d5e529
[ #1157 ] Add SQL / JDBC tracing capabilities in addition to logging - Added integration tests for using ExecuteListener with BatchSingle
2012-02-24 14:06:27 +00:00
Lukas Eder
80c1037759
[ #1157 ] Add SQL / JDBC tracing capabilities in addition to logging - Added integration tests for using ExecuteListener with ResultQuery
2012-02-24 13:40:41 +00:00
Lukas Eder
f736280b86
[ #1157 ] Add SQL / JDBC tracing capabilities in addition to logging - Fixed batchSQL contents
2012-02-24 07:35:39 +00:00
Lukas Eder
4525266c9f
[ #1157 ] Add SQL / JDBC tracing capabilities in addition to logging - Fixed batchSQL contents
2012-02-24 07:30:32 +00:00
Lukas Eder
6b465ae15d
Restored original license on CSVReader, removing potentially inappropriate claims
2012-02-24 07:05:24 +00:00
Lukas Eder
3921e0f0ca
[ #1157 ] Add SQL / JDBC tracing capabilities in addition to logging - Added support for batch queries
2012-02-23 21:01:50 +00:00
Lukas Eder
1ef8ecaa86
[ #1177 ] Add SQL Console module to jOOQ - updated license
2012-02-23 18:30:58 +00:00
Lukas Eder
e09cda2a2f
[ #1157 ] Add extended SQL / JDBC tracing capabilities in addition to logging - added ExecuteType for convenience
2012-02-22 21:11:35 +00:00
Lukas Eder
dc0e2943de
[ #1157 ] Add extended SQL / JDBC tracing capabilities in addition to logging - added Javadoc
2012-02-22 20:38:54 +00:00
Lukas Eder
61c893a0ea
[ #1157 ] Add extended SQL / JDBC tracing capabilities in addition to logging - added DefaultExecuteListener
2012-02-22 07:13:12 +00:00
Lukas Eder
753b645389
[ #1157 ] Add extended SQL / JDBC tracing capabilities in addition to logging - draft API and implementation
2012-02-21 21:17:43 +00:00
Lukas Eder
332f556d01
[ #1169 ] Add Configuration.setData(), getData() to convey custom data in a configuration's lifecycle
2012-02-19 16:44:31 +00:00
Lukas Eder
fe50fb7546
[ #1167 ] Trivial issue with org.jooq.Factory.exists Javadoc - GitHub issue #10
2012-02-18 20:43:14 +00:00
Lukas Eder
3c08fc6a6a
[ #408 ] Add class prefixes, suffixes and other options to the code generator (example strategy implementation still missing)
2012-02-18 18:56:46 +00:00
Lukas Eder
8acde3b97a
[ #93 ] Add Field.equalIgnoreCase(), Field.notEqualIgnoreCase()
2012-02-18 12:52:59 +00:00
Lukas Eder
7a4fb0a9ac
- Fixed broken BatchSingle test for execution using StatementType.STATIC_STATEMENT
...
- Added SettingsTools for convenient access to settings elements
2012-02-18 12:36:59 +00:00
Lukas Eder
2648abf3c4
[ #1160 ] Implement Field.contains(), .startsWith(), .endsWith() for numeric values, too
2012-02-18 12:19:03 +00:00
Lukas Eder
396f999fb7
[ #1161 ] Use reflection to remove compile-time dependency on ojdbc for creating ARRAYs
2012-02-18 10:07:44 +00:00
Lukas Eder
5561e3b071
[ #1162 ] Integrate jOOR into jOOQ for simpler reflection
2012-02-18 10:06:20 +00:00
Lukas Eder
06437210ad
Fixed NullPointerException
2012-02-17 11:31:09 +00:00
Lukas Eder
5cd584787e
[ #1159 ] Support matching numbers with LIKE, e.g. ID LIKE '%33%'
2012-02-17 10:20:05 +00:00
Lukas Eder
283a43664e
[ #1156 ] Bad inlining of DATE / TIME / TIMESTAMP data types in Ingres (and other dialects, when the setting differs from the default)
2012-02-17 09:56:48 +00:00
Lukas Eder
30f44b809a
[ #1154 ] Bad inlining of byte[] in most dialects
2012-02-16 23:50:42 +00:00
Lukas Eder
0071b65f4b
[ #1154 ] Bad inlining of byte[] in most dialects - Fixed for H2
...
[#1155 ] byte[] are erroneously converted to String when using Record.intoArray()
2012-02-16 23:03:24 +00:00
Lukas Eder
83ee1dc699
[ #1153 ] Bad inlining of booleans in Sybase ASE / DB2 / Oracle / SQL Server / SQLite
2012-02-16 22:23:15 +00:00
Lukas Eder
b3f0b08d95
[ #1145 ] Add runtime configuration to specify whether a java.sql.PreparedStatement (with bind variables) or a java.sql.Statement (with inlined parameters) should be executed
2012-02-16 20:43:55 +00:00
Lukas Eder
d429f5a417
[ #1152 ] Add <E extends java.lang.Enum<E> & org.jooq.EnumType> E MySQLFactory.enumType(Class<E>, int) for enum reverse lookups of MySQL-specific enums
2012-02-16 18:25:13 +00:00
Lukas Eder
f095d9aaf1
[ #1146 ] Add Query.getSQL(boolean) to indicate that bind values should be inlined (as a convenience for Factory.renderInlined(QueryPart))
2012-02-15 22:39:05 +00:00
Lukas Eder
c0764d20c3
[ #492 ] RUNTIME-CONFIG: Add run-time configuration
...
[#1151 ] Deprecate SchemaMapping in favour of new runtime configuration
Re-generated jooq-meta artefacts
2012-02-15 21:41:16 +00:00
Lukas Eder
fc682afd31
[ #1140 ] Add ResultQuery.fetchResultSet() to return the underlying JDBC result set
...
[#1148 ] Add Cursor.resultSet() to expose the underlying ResultSet
2012-02-15 18:50:13 +00:00
Lukas Eder
95e04de914
[ #1142 ] Rename Result.exportXML() to Result.intoXML() to stay more consistent
2012-02-15 17:59:02 +00:00
Lukas Eder
4bd3feea8d
[ #1143 ] Add Result.isNotEmpty() for convenience
2012-02-15 17:55:39 +00:00
Lukas Eder
db539ad29c
Release 2.0.5-SNAPSHOT
2012-02-15 17:47:33 +00:00
Lukas Eder
8a1ca11662
Release 2.0.4
2012-02-12 14:37:58 +00:00
Lukas Eder
08684517d1
[ #8 ] Add JPA annotations to generated POJOs
2012-02-11 11:39:31 +00:00
Lukas Eder
109e632837
[ #1129 ] Allow for using Param in LIMIT .. OFFSET clauses
...
[#1132 ] Add RenderContext.castMode() to allow for avoiding casts where this is not really needed
2012-02-11 09:34:29 +00:00
Lukas Eder
69c6176943
[ #1131 ] DB2: [No authorized routine named "LIKE" of type "FUNCTION" having compatible arguments was found] when using Field.like(concat(x, y))
2012-02-10 20:17:01 +00:00
Lukas Eder
edcd307b04
[ #1125 ] Postgres needs casting for date time data types in queries like SELECT ? FROM DUAL
2012-02-10 19:22:54 +00:00
Lukas Eder
ff5e99870a
Added some useful conversion methods
2012-02-10 18:12:03 +00:00
Lukas Eder
59a5f81a32
[ #1125 ] Postgres needs casting for date time data types in queries like SELECT ? FROM DUAL - Added marker comment
2012-02-08 23:01:14 +00:00
Lukas Eder
900a224bc0
[ #1117 ] NullPointerException when passing an ArrayRecord containing a null array to a stored function in Oracle
2012-02-04 21:28:26 +00:00
Lukas Eder
5d0ebca5c5
[ #884 ] ARRAY's and UDT's are not correctly inlined when rendering inlined SQL
2012-02-04 21:17:21 +00:00
Lukas Eder
1a81b4a388
[ #1114 ] Syntax error when unnesting TABLE of OBJECT in Oracle. The unnested table contains several columns but jOOQ only unnests "COLUMN_VALUE"
...
[#1115 ] Add support for Oracle VARRAY/TABLE of OBJECT types
2012-02-04 21:02:20 +00:00
Lukas Eder
71c9bda264
[ #1111 ] VARRAY element type information is lost when unnesting VARRAY's returned from functions in Oracle
2012-02-03 17:46:40 +00:00
Lukas Eder
6514732d4e
[ #1110 ] VARRAY element type information is lost when unnesting VARRAY's in Oracle
2012-02-03 17:18:35 +00:00
Lukas Eder
bbd02c1813
[ #1089 ] Add Field.contains(), .startsWith(), .endsWith() as a convenience for Field.like() (including escaping)
2012-02-03 15:50:04 +00:00
Lukas Eder
0a3d532c99
[ #1106 ] Add Factory.escape(Field<String>, char) for use with LIKE
2012-02-03 15:08:45 +00:00
Lukas Eder
b3bc175177
[ #1103 ] Add support for SQL Server data type uniqueidentifier
2012-02-03 14:34:42 +00:00
Lukas Eder
4ed897b0aa
[ #1101 ] Internal API leak exposed through covariance in AbstractTable.joinXXX() methods
2012-02-03 10:20:34 +00:00
Lukas Eder
90cfec17b3
Release 2.0.4-SNAPSHOT
2012-01-29 20:49:08 +00:00
Lukas Eder
973bf98e5c
Release 2.0.3 - Fixed Javadoc
2012-01-29 15:59:15 +00:00
Lukas Eder
71b757d29a
Fixed javac compiler issue
2012-01-29 15:58:11 +00:00
Lukas Eder
065d804452
FindBugs: SF_SWITCH_NO_DEFAULT
2012-01-29 15:50:37 +00:00
Lukas Eder
6091e319ee
[ #1091 ] Add missing @Support annotations on Table.crossJoin() methods
2012-01-29 15:21:21 +00:00
Lukas Eder
cff1e62b9c
Release 2.0.3
2012-01-29 14:30:53 +00:00
Lukas Eder
ec40394853
Fixed Javadoc
2012-01-28 17:39:44 +00:00
Lukas Eder
4af77d7a50
[ #1026 ] Add integration tests for NTILE window function
2012-01-28 16:41:05 +00:00
Lukas Eder
9f2e02a8bf
[ #1087 ] Change the NTILE function to return Field<Integer> instead of Field<BigDecimal>
2012-01-28 16:25:42 +00:00
Lukas Eder
6bb7dce2ad
[ #1084 ] Bind index mismatch in val(null).equal(null) and val(null).notEqual(null)
2012-01-28 15:28:01 +00:00
Lukas Eder
98603ffbfd
[ #1081 ] Derby error in NULL handling when simulating unnested arrays that contain NULL values
2012-01-28 13:17:23 +00:00
Lukas Eder
a6423bbf16
[ #1082 ] Add some more DEBUG logging in AbstractResultQuery
2012-01-28 13:13:14 +00:00
Lukas Eder
21837feaff
[ #1080 ] Add support for JDBC's Statement.setFetchSize() in ResultQuery.fetchLazy()
2012-01-28 12:26:12 +00:00
Lukas Eder
15e62bbae6
[ #1074 ] Add Field.notBetween(T, T) for convenience
2012-01-27 15:11:07 +00:00
Lukas Eder
d249ea6457
[ #1069 ] Add support for INSERT INTO table(field1, field2, ...) SELECT syntax - as opposed to the existing INSERT INTO table SELECT
2012-01-27 10:45:41 +00:00
Lukas Eder
5115e356f9
[ #1072 ] Add support for LIKE .. ESCAPE .. syntax
2012-01-27 09:27:56 +00:00
Lukas Eder
23a26069f2
FindBugs SS_SHOULD_BE_STATIC
2012-01-25 22:02:50 +00:00
Lukas Eder
d54e72dcae
[ #1071 ] Make Sequence Serializable
2012-01-25 21:59:58 +00:00
Lukas Eder
007eb1ac0c
[ #1065 ] Add OracleFactory.sysContext(String, String) to support Oracle's SYS_CONTEXT function
2012-01-21 19:11:44 +00:00
Lukas Eder
9e17af371c
Corrected Javadoc
2012-01-21 19:02:40 +00:00
Lukas Eder
c12257fdb7
[ #577 ] Simulate NATURAL JOIN syntax, where this is unavailable
2012-01-17 22:32:41 +00:00
Lukas Eder
63dcbd56a4
[ #582 ] Simulate JOIN USING syntax, where this is unavailable
2012-01-17 19:31:05 +00:00
Lukas Eder
0ba28f37da
[ #671 ] Allow for nesting JOIN clauses
2012-01-17 19:06:19 +00:00
Lukas Eder
10720d1fe6
[ #578 ] Add KEY JOIN syntax to simulate joining using generated foreign keys
2012-01-17 18:13:03 +00:00
Lukas Eder
1119c72bf6
[ #578 ] Add KEY JOIN syntax to simulate joining using generated foreign keys - Added methods to the Table API (not yet Select API)
2012-01-15 22:23:27 +00:00
Lukas Eder
31bd0d6ae1
[ #676 ] Add Table.join() methods to create more flexible Table products
2012-01-15 21:24:42 +00:00
Lukas Eder
a25bbeace7
[ #1045 ] Simulate Oracle's PIVOT clause for other dialects using subqueries - added first draft for simulation
2012-01-15 09:35:11 +00:00
Lukas Eder
b7a9db1c48
[ #1060 ] Improve debug logging of H2 arrays. The syntax is not ARRAY[1, 2], but (1, 2)
2012-01-11 19:02:59 +00:00
Lukas Eder
fe5bdc9749
[ #1051 ] Add Factory.execute(String, Object...) as a convenience method for Factory.query(...).execute();
2012-01-11 18:56:04 +00:00
Lukas Eder
9827b2d0ef
[ #1055 ] Simulate Factory.table(Object[]) and table(List<?>) using UNION ALL in dialects that do not support arrays - added Javadoc
2012-01-11 18:31:09 +00:00
Lukas Eder
050ae4257b
[ #1048 ] Simulate <op> <quantifier> (array) syntax for dialects that do not support arrays
...
[#1055 ] Simulate Factory.table(Object[]) and table(List<?>) using UNION ALL in dialects that do not support arrays
2012-01-09 22:55:42 +00:00
Lukas Eder
2ad7fb795f
[ #1059 ] Change SelectFromStep.from(Collection<TableLike<?>> tables) to Collection<? extends TableLike<?>>
2012-01-09 18:58:04 +00:00
Lukas Eder
17ca31d27c
Release 2.0.2
2012-01-08 15:54:53 +00:00
Lukas Eder
1af93c411d
[ #1050 ] Deprecate usage of SOME quantifier in predicates, such as equalSome()
2012-01-08 10:58:18 +00:00
Lukas Eder
1631acf38b
[ #1049 ] Optimise GREATEST() and LEAST() simulations for Sybase, ASE, SQL Server, Derby
2012-01-07 18:46:46 +00:00
Lukas Eder
cb1c62fbac
[ #869 ] Add support for using ANY, ALL with arrays, not just with subselects
...
[#1047 ] Field.notEqualAny() erroneously renders != ALL()
2012-01-07 18:41:41 +00:00
Lukas Eder
8002ebe98c
[ #1021 ] Add explicit integration tests for LEFT|RIGHT|FULL OUTER JOIN
2012-01-07 16:23:10 +00:00
Lukas Eder
6eb96c07d1
[ #1042 ] Add support for DISTINCT keyword in SUM, AVG, MIN, MAX aggregate functions
2012-01-07 12:55:51 +00:00
Lukas Eder
7e466b72ea
[ #595 ] Add support for Oracle's PIVOT clause - Prefer replacing "FOR" by "ON" rather than by "OVER", "OF"
2012-01-07 10:24:35 +00:00
Lukas Eder
1a90f3d7cd
[ #595 ] Add support for Oracle's PIVOT clause - Prefer replacing "FOR" by "OVER" rather than by "OF"
2012-01-07 10:14:24 +00:00
Lukas Eder
45176b07cf
[ #1041 ] Add <R> Table<R> Factory.table(Select<R>) convenience method for more fluency
2012-01-06 19:01:52 +00:00
Lukas Eder
8a634efd5d
[ #595 ] Add support for Oracle's PIVOT clause
2012-01-06 18:57:29 +00:00
Lukas Eder
07448d0da0
[ #595 ] Add support for Oracle's PIVOT clause
...
[#1040 ] Add Object[][] Result.intoArray() and Object[] Record.intoArray() for convenience
2012-01-06 18:50:08 +00:00
Lukas Eder
071416e90a
[ #1037 ] The fluent API allows for JOIN clauses without FROM clause.
2012-01-06 11:39:30 +00:00
Lukas Eder
e1ee1da7c3
[ #1029 ] Postgres can't bind NULL values in cases, where bind type is Object.class and bind value was created with Factory.param()
2012-01-06 11:14:35 +00:00
Lukas Eder
28b29bc769
[ #1036 ] API typo in WindowRowsStep.rowsBetweenUnboundedFollwing()
2012-01-06 10:14:16 +00:00
Lukas Eder
b292033de5
[ #1035 ] SelectOffsetStep does not extend SelectForUpdateStep. LIMIT .. OFFSET .. FOR UPDATE clauses are not possible
2012-01-05 20:48:34 +00:00
Lukas Eder
0d94769f2a
[ #1035 ] SelectOffsetStep does not extend SelectForUpdateStep. LIMIT .. OFFSET .. FOR UPDATE clauses are not possible
2012-01-05 20:47:52 +00:00
Lukas Eder
5649a7a74b
[ #1010 ] The MERGE INTO .. WHEN NOT MATCHED THEN INSERT .. syntax may cause type-safety issues in some databases. VALUES should be converted before binding
2012-01-04 21:11:02 +00:00
Lukas Eder
d5412d1895
[ #1022 ] Add missing ASE implementation for Factory.use()
2012-01-04 20:43:24 +00:00
Lukas Eder
a252bff463
[ #1030 ] UnsupportedOperationException when calling Query.bind(int, Object) on a query containing plain SQL fields
...
[#1031 ] Incorrect debug logging when plain SQL QueryParts like field("?") bind null values
[#1032 ] Incorrect debug logging when plain SQL QueryParts contain String literals, such as 'Hello? Anybody out there?'
2012-01-04 20:32:29 +00:00
Lukas Eder
ee29265748
[ #1028 ] Syntax errors when using untyped param() in HSQLDB (and other strongly typed dialects)
2012-01-04 16:49:20 +00:00
Lukas Eder
9687809b8a
[ #1028 ] Syntax errors when using untyped param() in HSQLDB (and other strongly typed dialects)
2012-01-02 20:55:10 +00:00
Lukas Eder
220ac8c399
Fixed DefaultRenderContext.toString()
2012-01-02 18:16:27 +00:00
Lukas Eder
d1660ea0ec
[ #1024 ] Add Factory.resultQuery(String, Object...) to allow for arbitrary execution modes of plain SQL queries
2012-01-01 10:48:33 +00:00
Lukas Eder
b7a7442e9e
[ #1007 ] Formally document the API methods to indicate whether something is supported by any given SQL dialect
2011-12-30 17:12:24 +00:00
Lukas Eder
d9922481bb
[ #1025 ] Add missing SQLite implementation for Factory.deg() and Factory.rad()
2011-12-30 15:58:04 +00:00
Lukas Eder
161105a8ab
[ #1007 ] Formally document the API methods to indicate whether something is supported by any given SQL dialect - documented statements and clauses. Next step: Document functions
...
[#1019 ] Render LIMIT x OFFSET y also for MySQL, instead of LIMIT y, x
2011-12-30 13:38:37 +00:00
Lukas Eder
f5eb466fd9
[ #1011 ] Add code generation configuration parameter to avoid generating @Generated annotation
2011-12-30 10:09:45 +00:00
Lukas Eder
d31fc000a0
[ #1016 ] The Oracle CONNECT BY cond1 AND cond2 syntax erroneously creates a WHERE cond2 CONNECT BY cond1 statement
2011-12-23 14:56:47 +00:00
Lukas Eder
0251dcff1f
[ #1015 ] FindBugs: 7 occurrences of "Bad attempt to compute absolute value of signed 32-bit hashcode"
2011-12-23 14:42:04 +00:00
Lukas Eder
0061e7e346
[ #1014 ] FindBugs: Latent risk of infinite recursion due to typo in QueryPartList.retainAll()
2011-12-23 14:28:23 +00:00
Lukas Eder
3d214297cc
Release 2.0.1
2011-12-23 12:36:58 +00:00
Lukas Eder
08b7d6ecf5
[ #968 ] Allow for custom enum types, configured in the code generator - fixed Postgres casting of synthetic EnumTypes
2011-12-23 12:04:46 +00:00
Lukas Eder
12565c2508
[ #1005 ] The INSERT INTO .. VALUES .. syntax may cause type-safety issues in some databases. VALUES should be converted before binding
2011-12-23 10:48:15 +00:00
Lukas Eder
2936124b63
[ #1002 ] TableRecord.storeUsing() doesn't update IDENTITY column values, if the column is not part of the main unique key
2011-12-18 18:31:56 +00:00
Lukas Eder
ef8c6cd43a
[ #1006 ] Add Factory.value(...) as a synonym for Factory.val(...) for increased Scala / Groovy compatibility
2011-12-18 18:21:16 +00:00
Lukas Eder
22b52d23df
[ #1000 ] Add support for MySQL INSERT INTO .. SET .. syntax in MERGE statement's WHEN NOT MATCHED THEN INSERT clause
2011-12-18 18:09:37 +00:00
Lukas Eder
ba236e720e
[ #1003 ] Sybase / SQL Server / MySQL / Ingres / H2 / Derby INSERT .. RETURNING returns null if a table has an IDENTITY column, but no main unique key
2011-12-18 17:27:56 +00:00
Lukas Eder
40049c9c87
[ #1001 ] Identity.getField() should return TableField<R, T> instead of Field<T>
2011-12-18 16:49:31 +00:00
Lukas Eder
abb9fba1ce
[ #998 ] Enhance MERGE statement for Oracle extensions: WHEN MATCHED THEN UPDATE .. WHERE .. DELETE WHERE .. / WHEN NOT MATCHED THEN INSERT .. WHERE ..
2011-12-16 15:40:45 +00:00
Lukas Eder
d85bf620a3
[ #995 ] Routines Don't Respect SchemaMapping - Github issue #8
2011-12-14 21:38:30 +00:00
Lukas Eder
fdb86d4a32
[ #990 ] Problems when encoding arbitrary byte[] as String(byte[]) in inlined SQL
2011-12-11 21:54:16 +00:00
Lukas Eder
14d7651368
[ #991 ] Add Query.bind(String, Object) and Query.bind(int, Object) to easily modify existing bind values
2011-12-11 17:04:08 +00:00
Lukas Eder
95d2c615e4
[ #992 ] Document thrown DataTypeException in Convert methods
2011-12-11 16:28:49 +00:00
Lukas Eder
ea48c9dcd0
[ #914 ] Allow for modifying bind values of existing QueryParts / Queries
...
[#980 ] Add support for named parameters, to better interact with Spring
2011-12-11 16:06:50 +00:00
Lukas Eder
71fafbb728
[ #988 ] Change Factory.field(String) to return Field<Object> instead of Field<?>
2011-12-10 16:44:36 +00:00
Lukas Eder
123b2cca0b
[ #981 ] Cannot insertInto(table("my_table")), as plain SQL tables return Table<Record>, not Table<TableRecord>. Relax bound on R - Fixed INSERT
2011-12-10 16:06:06 +00:00
Lukas Eder
fcca200ee7
[ #981 ] Cannot insertInto(table("my_table")), as plain SQL tables return Table<Record>, not Table<TableRecord>. Relax bound on R - Fixed UPDATE
2011-12-10 15:54:32 +00:00
Lukas Eder
449333c143
[ #981 ] Cannot insertInto(table("my_table")), as plain SQL tables return Table<Record>, not Table<TableRecord>. Relax bound on R - Fixed DELETE, MERGE
2011-12-10 15:51:12 +00:00
Lukas Eder
6a8f570740
Removed unneeded test .class files
2011-12-10 14:23:31 +00:00
Lukas Eder
b5060b6de8
[ #979 ] Record.from() sets all changed flags to true. That's not necessarily correct in the event of storing the record back to the DB
...
[#985 ] AbstractRecord.equals() does not correctly compare arrays. Compare them using Arrays.asList()
2011-12-09 16:32:31 +00:00
Lukas Eder
c16ffd117f
Added some Javadoc to SchemaMapping
2011-12-09 13:00:54 +00:00
Lukas Eder
8509ecdcb4
Release 2.0.1-SNAPSHOT
2011-12-04 17:32:12 +00:00
Lukas Eder
0e0e3eac86
[ #968 ] Allow for custom enum types, configured in the code generator
2011-12-04 17:29:11 +00:00
Lukas Eder
3b0426cf85
[ #977 ] EnumType renders name() instead of getLiteral() in Convert.convert() method
2011-12-04 16:23:51 +00:00
Lukas Eder
79dbdb4d77
[ #974 ] Add Schema.getTable(String), getSequence(String), getUDT(String) for better runtime Schema meta-navigation
2011-12-04 14:21:43 +00:00
Lukas Eder
9ad262e651
[ #975 ] Add Sequence.getName(), getSchema(), getDataType()
2011-12-04 14:08:19 +00:00
Lukas Eder
f2bb68b986
[ #973 ] EnumType renders name() instead of getLiteral() in formatXXX() methods
2011-12-04 13:48:52 +00:00
Lukas Eder
496c333e93
Release 2.0.0
2011-11-27 15:07:11 +00:00
Lukas Eder
5d2b412dde
Restored pre-2.0 org.jooq.Field API for backwards-compatibility. This API will be removed later
2011-11-27 14:30:53 +00:00
Lukas Eder
cd942db4bb
Internalise jOOU to avoid adding a dependency
2011-11-25 19:48:34 +00:00
Lukas Eder
81ade0a70c
Release 2.0.0-RC1
2011-11-25 19:16:09 +00:00
Lukas Eder
5d71de0824
[ #908 ] Change rpad/lpad functions to accept String instead of char - restored char versions of these methods
2011-11-25 17:07:11 +00:00
Lukas Eder
e61c97aa7a
Moved Convert class to org.jooq.tools
2011-11-25 17:03:35 +00:00
Lukas Eder
a153f8c25f
Release 2.0.0
2011-11-25 16:29:17 +00:00
Lukas Eder
b1dbf6805b
[ #967 ] Better document type conversion
...
[#969 ] Add <T> List<T> ResultQuery.fetch(Field<?>, Class<? extends T>) convenience method
2011-11-22 17:59:13 +00:00
Lukas Eder
8a60d7ee0f
[ #519 ] Add support for MySQL UNSIGNED numeric types
2011-11-20 18:34:49 +00:00
Lukas Eder
41f1fa807f
[ #799 ] Add support for Oracle PL/SQL's object-oriented MEMBER PROCEDURES and MEMBER FUNCTIONS
...
[#957 ] Add <R> R Factory.newRecord(UDT<R>) for constructing attached UDTRecords
2011-11-18 21:10:36 +00:00
Lukas Eder
f9721d8208
[ #939 ] Include license.txt and readme.txt in .jar files' META-INF directory
2011-11-18 10:25:50 +00:00
Lukas Eder
73e66cfcdf
Fixed Javadoc
2011-11-18 10:20:49 +00:00
Lukas Eder
8c858024c7
Copied some more methods from commons-lang StringUtils
2011-11-18 09:56:57 +00:00
Lukas Eder
678ab08ef2
[ #945 ] Calling UpdatableRecord.setValue() twice with the same argument causes the changed flag to be reset to false
...
[#948 ] Always set the changed flag to true in Record.setValue()
2011-11-16 20:49:45 +00:00
Lukas Eder
d5ba94ae38
[ #117 ] Improve DSL support for field and table aliasing (decrease verbosity)
...
[#938 ] CODEGEN: Add static/instance table field configuration
2011-11-14 19:47:07 +00:00
Lukas Eder
56b06a9405
[ #117 ] Improve DSL support for field and table aliasing (decrease verbosity) - experimental implementation
2011-11-13 23:11:10 +00:00
Lukas Eder
f17452ec77
[ #933 ] Add support for type Character in Record.into(Class<?>) methods and similar
...
[#936 ] Accept primitive types, such as int.class for type conversion
2011-11-12 15:29:02 +00:00
Lukas Eder
7334c16340
[ #912 ] Add <R extends Record> R newRecord(Table<R>, Object) as the inverse of various into(Class<?>) methods
...
[#932 ] Let the bound of R in TableRecord extend TableRecord<R>, in UpdatableRecord to extend UpdatableRecord<R>
[#934 ] Don't consider static members in reflection utilities when used with Record.into(Class<?>) and similar methods
[#935 ] Don't consider final member fields in reflection utilities when used with Record.into(Class<?>) and similar methods
2011-11-12 13:10:38 +00:00
Lukas Eder
16efd8d2fb
[ #912 ] Add <R extends Record> R newRecord(Table<R>, Object) as the inverse of various into(Class<?>) methods
...
[#932 ] Let the bound of R in TableRecord extend TableRecord<R>, in UpdatableRecord to extend UpdatableRecord<R>
[#934 ] Don't consider static members in reflection utilities when used with Record.into(Class<?>) and similar methods
[#935 ] Don't consider final member fields in reflection utilities when used with Record.into(Class<?>) and similar methods
2011-11-12 13:05:57 +00:00
Lukas Eder
37802d86d8
[ #931 ] Allow for conversion between Long and date/time types, and vice versa
2011-11-12 08:27:47 +00:00
Lukas Eder
c2ca42f5de
[ #930 ] Support converting date time types to java.util.Calendar
2011-11-11 21:14:33 +00:00
Lukas Eder
3e1d77c6b2
[ #926 ] AbstractRecord.into() fails to convert java.sql.Date into java.util.Date
...
[#928 ] Add DataTypeException extending DataAccessException in case something went wrong when converting data types
2011-11-11 19:59:20 +00:00
Lukas Eder
d4f5207e02
[ #925 ] SelectConditionStep should extend SelectConnectByStep, not SelectGroupByStep
2011-11-11 19:27:12 +00:00
Lukas Eder
bec1685cfe
[ #923 ] Reduce the internal API leak by moving some utilities to org.jooq.tools
2011-11-11 18:04:41 +00:00
Lukas Eder
61e6c87299
[ #686 ] Reduce the internal API leak by preventing access to TableFieldImpl, UDTFieldImpl, and other internal classes - Hide ParameterImpl
2011-11-11 17:47:23 +00:00
Lukas Eder
db8ba92e7e
[ #686 ] Reduce the internal API leak by preventing access to TableFieldImpl, UDTFieldImpl, and other internal classes - Hide UDTFieldImpl
2011-11-11 16:45:39 +00:00
Lukas Eder
2ef7382160
[ #686 ] Reduce the internal API leak by preventing access to TableFieldImpl, UDTFieldImpl, and other internal classes - Hide TableFieldImpl
2011-11-11 16:20:23 +00:00
Lukas Eder
c6bcc388cc
[ #804 ] Add <R extends Record> to Insert, Update, Delete
2011-11-11 14:18:07 +00:00
Lukas Eder
db6b0e2fcc
[ #917 ] Add various Cursor.fetchOneInto() convenience methods
2011-11-11 14:03:33 +00:00
Lukas Eder
66154de826
[ #920 ] Generic type is lost in Cursor.fetchInto(RecordHandler)
2011-11-11 13:55:10 +00:00
Lukas Eder
2c1d157268
[ #916 ] Add <R extends TableRecord<R>> {Record.into(Table<R>) | Result.into(Table<R>) | ResultQuery.fetchInto(Table<R>) | Cursor.fetchInto(Table<R>)}
...
[#918 ] Add CustomTable, CustomRecord as base classes for more convenience when used with various into(Table) methods
[#919 ] Allow for accessing non-public constructors of Record subtypes
2011-11-11 12:38:35 +00:00
Lukas Eder
3ef619db26
Fixed Javadoc
2011-11-09 18:55:26 +00:00
Lukas Eder
c4dd556887
[ #894 ] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved decode function
2011-11-09 18:16:05 +00:00
Lukas Eder
057068aef6
[ #913 ] NoClassDefFoundError in JooqUtil.isJPAAvailable()
2011-11-09 07:14:35 +00:00
Lukas Eder
ac96662c6e
Fixed javac compiler issue
2011-11-08 19:31:23 +00:00
Lukas Eder
a42de9aafb
[ #894 ] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved greatest/least functions
2011-11-07 23:00:30 +00:00
Lukas Eder
5d672b666a
[ #894 ] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved coalesce
2011-11-07 22:40:16 +00:00
Lukas Eder
bc66875a11
Fixed Factory Javadoc
2011-11-07 18:43:58 +00:00
Lukas Eder
c692af2f2c
[ #894 ] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved date functions
2011-11-07 18:20:59 +00:00
Lukas Eder
47c78e0a75
[ #894 ] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved bitwise operations
2011-11-07 17:58:54 +00:00
Lukas Eder
3461ec5164
[ #835 ] Review API typesafety for <T> InsertSetMoreStep set(Field<T> field, T value) and similar methods
2011-11-06 11:39:20 +00:00
Lukas Eder
081d0e71a1
[ #894 ] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved string functions
2011-11-05 18:04:32 +00:00
Lukas Eder
98fcc1a1bb
[ #894 ] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved nvl, nvl2, nullif
2011-11-05 16:59:30 +00:00
Lukas Eder
4dbf4dcd09
[ #907 ] Add missing Field.like(Field<T>), notLike(Field<T>) methods to overload the existing Field.like(T), notLike(T)
2011-11-05 13:27:34 +00:00
Lukas Eder
778c553319
[ #906 ] Add more NullPointerException safety to API
2011-11-05 13:21:38 +00:00
Lukas Eder
9c2d322efc
[ #905 ] Introduce FetchIntoException as a subtype of DataAccessException for integrity checks in methods like ResultQuery#fetchInto(), etc.
2011-11-05 12:22:42 +00:00
Lukas Eder
267a55b28c
[ #904 ] Move SQLDialectNotSupportedException into org.jooq.exception package
2011-11-05 12:14:12 +00:00
Lukas Eder
b4ad902f02
Unified Eclipse settings for imports/static imports. Avoid importing *
2011-11-05 12:07:34 +00:00
Lukas Eder
54e45189cc
[ #901 ] Introduce InvalidResultException as a subtype of DataAccessException for integrity checks in methods like ResultQuery#fetchOne(), ResultQuery#fetchMap(), etc.
2011-11-05 11:46:38 +00:00