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
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
Lukas Eder
d4da8c72b0
[ #2028 ] Add Batch.size() to indicate the number of queries that will be
...
executed by a batch operation
2012-12-20 13:42:40 +01:00
Lukas Eder
2f427a4520
[ #1549 ] Externalise connection lifecycle through new ConnectionProvider
2012-12-20 13:06:51 +01:00
Lukas Eder
0977fccd6d
[ #2001 ] Named Params are treated as null literals on right sides of
...
comparisons
2012-12-17 20:49:42 +01:00
Lukas Eder
56d1dd1250
[ #2021 ] Add UpdatableRecord.refresh(Field<?>...) to allow for refreshing
...
a subset of the Record's values
2012-12-15 16:00:38 +01:00
Lukas Eder
31205edb76
[ #2016 ] Bad parsing of MySQL ENUM literals by jooq-meta, if they contain
...
special characters - Added test data
2012-12-15 13:43:17 +01:00
Lukas Eder
90e135d013
[ #1924 ] Add support for CUBRID 9.0's ENUM data type
2012-12-14 15:41:37 +01:00
Lukas Eder
1cfbcc6093
Fixed current_user after CUBRID reinstall
2012-12-14 15:27:21 +01:00
Lukas Eder
32f89104b1
Moved some methods
2012-12-14 13:09:27 +01:00
Lukas Eder
4fdf22e710
[ #2000 ] Add Record.reset(), reset(Field<?>), reset(int), reset(String)
...
to restore original values in a record
2012-12-12 22:09:05 +01:00
Lukas Eder
092700e0ec
[ #1993 ] Bad code generated when the same table name exists in multiple
...
schemas in SQL Server - Regenerated schema
2012-12-12 20:44:11 +01:00
Lukas Eder
0fc7ff56ee
[ #1993 ] Bad code generated when the same table name exists in multiple
...
schemas in SQL Server
2012-12-12 20:43:32 +01:00
Lukas Eder
2f63650bb7
[ #1999 ] Add Record.changed(boolean) changed(boolean, Field<?>)
...
changed(boolean, int) changed(boolean, String) as setters for the
changed flag
2012-12-12 19:35:00 +01:00
Lukas Eder
e4ed930fd7
[ #1995 ] Record.original() values aren't updated after a Record.store()
...
operation
2012-12-09 22:33:28 +01:00
Lukas Eder
7a05f5711c
Restored "DROP TABLE IF EXISTS t_658_xx" commands for interoperability
...
with 2.x branches
2012-12-09 22:19:32 +01:00
Lukas Eder
71a9ffecef
Upgraded java library path for SQL Server re-install
2012-12-07 18:45:32 +01:00
Lukas Eder
a263c0d541
Fixed DB2 user name after reinstall
2012-12-07 12:44:39 +01:00
Lukas Eder
81f4c600bf
Handle failing DROP MATERIALIZED VIEW command when setting up the Oracle
...
test schema
2012-12-07 12:25:14 +01:00
Lukas Eder
0077ab9f10
Fixed DB2 connection parameters after reinstall
2012-12-07 12:24:14 +01:00
Lukas Eder
6c3903ee57
Changed start() finish() methods to hold @BeforeClass and @AfterClass
...
annotations
2012-12-07 09:37:43 +01:00
Lukas Eder
9e9cdf5c8f
[ #1987 ] Allow for reading data from Iterables, arrays, Maps through
...
Record.from() - Added support for loading from arrays
2012-12-02 12:57:40 +01:00
Lukas Eder
b05ae01be9
[ #1988 ] Add Record.fromArray() as the inverse operation of
...
Record.intoArray()
2012-12-02 12:53:22 +01:00
Lukas Eder
8f2633f5d9
[ #1990 ] Add <T> T Record.original(Field<T>), original(int),
...
original(String) to get a field's original value
2012-12-02 12:28:01 +01:00
Lukas Eder
c6e3b61aca
[ #1989 ] Add Record.changed(Field<?>), changed(int), changed(String) to
...
check whether a single field's value has changed
2012-12-02 12:16:55 +01:00
Lukas Eder
66e4716794
[ #1987 ] Allow for reading data from Iterables, arrays, Maps through
...
Record.from() - Enhanced from() to read maps
2012-12-02 12:09:04 +01:00
Lukas Eder
1adbf989e1
Ignore new Eclipse warning "potential resource leak". It seems to
...
enforce a very rigid resource lifecycle handling
2012-12-02 10:29:02 +01:00
Lukas Eder
e8b0133cdf
[ #1986 ] Add Record.fromMap() as the inverse operation of
...
Record.intoMap()
2012-11-30 12:01:09 +01:00
Lukas Eder
a209da8676
[ #1636 ] Add jooq-meta support for querying the JDBC DatabaseMetaData API
...
- Fixed DECIMAL data type handling
2012-11-30 11:34:03 +01:00
Lukas Eder
073f90648f
[ #1636 ] Add jooq-meta support for querying the JDBC DatabaseMetaData API
2012-11-30 11:25:26 +01:00
Lukas Eder
c6468f6779
[ #1972 ] Move MySQLFactory.md5() to Factory and simulate it for Oracle
2012-11-23 13:11:45 +01:00
Lukas Eder
cde26c3af9
[ #1097 ] Add org.jooq.Catalog, a type modelling an entity combining
...
several org.jooq.Schema
- Added CatalogImpl
- Added getCatalogs() to Meta
2012-11-23 12:54:57 +01:00
Lukas Eder
02ccfc766d
[ #1968 ] Add org.jooq.Meta returned from Executor.meta() to return a
...
wrapped JDBC DatabaseMetaData object
2012-11-23 12:41:19 +01:00
Lukas Eder
4bcc9f5524
Updated launch targets
2012-11-23 11:55:36 +01:00
Lukas Eder
f489e76f61
[ #1649 ] Remove support for code generation from pre-jOOQ 2.0 .properties
...
file - Migration of .properties files
2012-11-11 14:36:32 +01:00
Lukas Eder
25e088c257
[ #1919 ] Support higher degrees of Row[N] and Record[N] types. Match
...
Scala's max degree of 22 - Regenerated H2, Oracle, Postgres meta data
2012-11-11 12:41:09 +01:00
Lukas Eder
d94d8cba3c
[ #1690 ] Add UpdatableRecord.key() returning a Record holding PK values
2012-11-10 11:18:07 +01:00
Lukas Eder
3522e9b048
Funny Toad Extensions update...
2012-11-10 11:16:48 +01:00
Lukas Eder
fd8fe4c589
[ #1951 ] Add support for SQL Server WITH (...) table hints
2012-11-09 17:16:48 +01:00
Lukas Eder
01f872f06f
[ #1958 ] Bad SQL rendered for OVER (ORDER BY [ some-function ]) for SQL
...
Server and Sybase
2012-11-09 15:38:37 +01:00
Lukas Eder
81d18ecf06
[ #1954 ] Bad SQL rendered when combining ORDER BY [ some-function ] with
...
LIMIT .. OFFSET in DB2, SQL Server - Workaround for DB2: Avoid ORDER BY
clause in ROW_NUMBER() ranking function
2012-11-09 13:39:54 +01:00
Lukas Eder
4af0a57485
[ #1954 ] Bad SQL rendered when combining ORDER BY [ some-function ] with
...
LIMIT .. OFFSET in DB2, SQL Server - Added integration test
2012-11-09 13:08:34 +01:00
Lukas Eder
35b043286d
[ #1931 ] Code generator improvements
...
- Simplified JavaGenerator by removing unnecessary abstractions
- Re-ordered methods in generated Record classes
- Removed dead code
2012-11-04 17:28:30 +01:00
Lukas Eder
51733742b8
[ #1934 ] Improve generated Record Javadoc
2012-11-04 14:03:44 +01:00
Lukas Eder
ecc9a835b7
[ #1932 ] Generate Javadocs for Table constructors
2012-11-04 11:23:42 +01:00
Lukas Eder
b3cd1c5cdf
[ #1931 ] Code generator improvements
...
- Added String.format() support to GenerationWriter
- Moved Javadoc printing to JavaWriter
- Separated Java writing (JavaWriter) from general writing
(GeneratorWriter)
- Rewrote some generation logic
- Added some convenience to GeneratorStrategy
- Regenerated H2, Oracle, Postgres schemata
2012-11-03 16:00:12 +01:00
Lukas Eder
3ff3995fac
[ #1927 ] Problems with escaping backslashes in CSV export/import
2012-11-02 16:09:58 +01:00
Lukas Eder
7302d07341
[ #1923 ] Add Record.intoResultSet() to create a single-record JDBC
...
ResultSet from a Record
2012-11-02 14:04:33 +01:00
Lukas Eder
27a3073b10
[ #1917 ] Add support for CUBRID 9.0's new features - Added and documented
...
support for CUBRID MERGE statement (Oracle syntax extensions)
2012-11-02 13:31:41 +01:00
Lukas Eder
4233980896
Let PrettyPrinter hook into renderEnd, rather than executeStart
2012-11-02 13:25:07 +01:00
Lukas Eder
4aa381f842
[ #1917 ] Add support for CUBRID 9.0's new features - Added support and
...
documentation for CUBRID's MERGE support
2012-11-02 13:17:09 +01:00
Lukas Eder
eec85836c5
[ #1917 ] Add support for CUBRID 9.0's new features - Added and documented
...
support for CUBRID window functions
2012-11-02 13:05:33 +01:00
Lukas Eder
4c224b77c6
Reordered some test methods
2012-11-02 12:31:01 +01:00
Lukas Eder
54c764ae9c
[ #1917 ] Add support for CUBRID 9.0's new features - Upgrade database
2012-11-02 12:06:27 +01:00
Lukas Eder
b32cf31f5b
[ #915 ] Add <T1, T2, ..., T[N]> Table<Record[N]<T1, T2, ..., T[N]>>
...
Factory.values(Row[N]<T1, T2, ..., T[N]>...), to create ad-hoc tables
from data
2012-10-31 21:58:00 +01:00
Lukas Eder
36c3f04a00
Fixed formatting
2012-10-31 21:18:11 +01:00
Lukas Eder
5e9e00a973
[ #1918 ] Let generated Records implement Record1, Record2, ...,
...
Record[N] if applicable
2012-10-31 21:14:23 +01:00
Lukas Eder
74e16f05b8
Added another test case
2012-10-30 20:42:30 +01:00
Lukas Eder
6543cb0f42
[ #1583 ] Add support for row expressions in UPDATE statements: UPDATE ..
...
SET (A, B, C) = (SELECT X, Y, Z)
2012-10-29 21:23:01 +01:00
Lukas Eder
67a2c5f6ee
[ #1905 ] Add Row[N].equal(Select<? extends Record[N]>) and similar
...
methods
2012-10-28 22:16:07 +01:00
Lukas Eder
345db92b31
[ #1875 ] Add generic <R extends Record> type to SelectXXXStep DSL
...
type hierarchy for increased tuple type-safety
2012-10-28 14:52:53 +01:00
Lukas Eder
ee0a230c7f
[ #1902 ] Duplicate SELECT API between Executor and Factory
2012-10-28 10:51:22 +01:00
Lukas Eder
bd7d135140
[ #1697 ] Add Factory.all() and Factory.any() to create quantified
...
expressions
2012-10-27 22:31:43 +02:00
Lukas Eder
113cb2c215
[ #1887 ] Remove all deprecated code
...
- Improved AbstractDelegatingQuery type hierarchy
- Removed QueryPartInternal.getSQL() methods
2012-10-27 20:20:07 +02:00
Lukas Eder
e506d9de65
[ #1533 ] Extract Executor API from Factory. Let Factory contain only
...
static QueryPart factory methods
2012-10-26 23:03:04 +02:00
Lukas Eder
09e06b8555
Added some Javadoc
2012-10-26 22:54:40 +02:00
Lukas Eder
1444a0b3cb
[ #1894 ] Remove constructors from dialect-specific factories
2012-10-26 21:52:04 +02:00
Lukas Eder
c7936e68bb
[ #1890 ] Bad Postgres array serialisation when " or \ characters are
...
contained in a String[] - Added integration test
2012-10-26 18:56:31 +02:00
Lukas Eder
70a5727b64
[ #1254 ] Move org.jooq.tools.unsigned contents to org.jooq.types (along
...
with the new INTERVAL types)
2012-10-26 18:31:36 +02:00
Lukas Eder
f4e7c57732
[ #1887 ] Remove all deprecated code
2012-10-26 18:25:34 +02:00
Lukas Eder
65e292f261
[ #1740 ] Remove support for generated master data enums
2012-10-26 17:02:06 +02:00
Lukas Eder
4a1fc9cd8a
[ #1887 ] Remove all deprecated code
2012-10-26 15:54:25 +02:00
Lukas Eder
0c61181146
Added TODO
2012-10-26 13:33:15 +02:00
Lukas Eder
e4e48a69e0
Fixed test
2012-10-26 13:28:09 +02:00
Lukas Eder
d24a06f215
Improved PrettyPrinter
2012-10-26 13:19:42 +02:00
Lukas Eder
2cf3d35843
Fixed test cases
2012-10-26 12:49:45 +02:00
Lukas Eder
4bca561ec7
Fixed test
2012-10-26 12:29:43 +02:00
Lukas Eder
0d482d24e9
[ #1868 ] ExecuteListener.end() is not called when using
...
ResultQuery.fetchLazy() - Disabled integration test
2012-10-25 23:38:27 +02:00
Lukas Eder
4a3e7f6039
[ #1876 ] NULL constraint violation when storing a copied record
2012-10-22 23:46:23 +02:00
Lukas Eder
40e60a8de6
[ #1868 ] ExecuteListener.end() is not called when using
...
ResultQuery.fetchLazy() - Fixed testcase
2012-10-21 20:01:24 +02:00
Lukas Eder
f01d118ced
[ #1868 ] ExecuteListener.end() is not called when using
...
ResultQuery.fetchLazy() - Added integration test
2012-10-21 19:20:05 +02:00
Lukas Eder
ee35c6481d
Re-added execute logging in integration tests
2012-10-21 18:24:04 +02:00
Lukas Eder
15f1c51043
[ #1872 ] Improve jOOQ's RenderContext pretty printing behaviour
2012-10-21 15:13:00 +02:00
Lukas Eder
387935ef72
Avoid cancelling long-running queries in most dialects. The test case
...
might run forever
2012-10-21 14:01:50 +02:00
Lukas Eder
988ae727f7
[ #1871 ] Add some documentation indicating jOOQ's pretty printing
...
rendering feature
2012-10-21 12:17:39 +02:00
Lukas Eder
ae6b547870
Fixed some warnings
2012-10-19 19:21:00 +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
345ee6070e
Fixed a warning
2012-10-19 17:20:41 +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
aab4c5737c
[ #1866 ] Deprecate [Schema-Name]Factory, remove reference to it from the
...
tutorials
2012-10-12 18:22:22 +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
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
e6a1fefb97
[ #1860 ] Bad Results returned from plain SQL "select *" queries, if
...
several selected columns share the same name - Added test case
2012-10-07 13:37:05 +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
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
d82d95ef78
[ #1848 ] Add Record.changed() to indicate whether a Record contains
...
"dirty" values
2012-09-28 17:41:09 +02:00
Lukas Eder
f23491be9e
[ #1849 ] Add Record.original() to obtain the originally fetched values
...
from a Record - Added an additional test
2012-09-28 17:30:11 +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
837a6fe600
Fixed compilation error
2012-09-23 12:31:46 +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
323a62e426
[ #1816 ] Add support for materialized views in Oracle's code generator -
...
Regenerated test classes
2012-09-22 14:15:48 +02:00
Lukas Eder
0640efc113
[ #1816 ] Add support for materialized views in Oracle's code generator
2012-09-22 14:15:06 +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
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
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
d9bf1c5703
[ #1472 ] Move org.jooq.tools.debug API from jOOQ Console to core
2012-09-16 18:10:06 +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
bac4bb1178
[ #1818 ] SQL Server "cannot insert explicit value for identity column
...
when IDENTITY_INSERT is set to OFF." - Added test case
2012-09-14 09:47:05 +02:00
Lukas Eder
b2743b6d9a
Improved toString() method
2012-09-12 19:47:14 +02:00
Ivan Dugic
cd05526a97
[ #1709 ] Add Map<List<?>, Result<R>> ResultQuery.fetchGroups(Field<?>...)
...
Update
2012-09-11 21:49:28 +02:00
Ivan Dugic
e127a11432
[ #1709 ] Add Map<List<?>, Result<R>> ResultQuery.fetchGroups(Field<?>...)
2012-09-10 22:25:49 +02:00
Lukas Eder
7c60d72448
[ #1472 ] Add a Settings.executeDebugging property, and move
...
server-side Console logic to core
- Created org.jooq.tools.debug API package
- Created org.jooq.tools.debug.impl implementation package
- Resolved package-dependencies to hide implementation facts from
the Console client implementation
2012-09-09 14:50:39 +02:00
Lukas Eder
a96d960cb7
Test console shouldn't run in-process
2012-09-09 12:15:36 +02:00
Lukas Eder
99aaad3022
Forgotten checkin
2012-09-09 11:20:51 +02:00
Lukas Eder
d550287d4d
Extracted local variable to global constant
2012-09-08 13:09:40 +02:00
Lukas Eder
0b9a667ae8
Improved POJO-related test cases. Don't catch ReflectException to
...
discover whether POJOs are available.
2012-09-08 10:12:41 +02:00
Lukas Eder
cd3d563e8d
[ #1708 ] Add <T, E> Map<T, List<E>> ResultQuery.fetchGroupsInto(Field<T>,
...
Class<E>)
- Fixed test for those test configurations, that do not generate POJOs
- Added more regression tests (not just checking for getId(), but also
getTitle()). This will be important for optimisation tasks like #1808
2012-09-08 10:01:46 +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
25996db3f7
[ #1719 ] Make logic from ResultQuery.fetchArray() available in
...
Result.intoArray()
2012-09-07 12:09:09 +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
f5235455e7
[ #1802 ] Result.into(Table) doesn't work correctly, if the same field
...
name appears twice in Result - Added integration test
2012-09-06 23:05:53 +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
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
b3ef0ee3f7
[ #1788 ] Verify @Support annotation correctness for FOR UPDATE clause -
...
Fixed tests. FOR UPDATE .. OF is executed by default, skipped only
explicitly
2012-09-02 15:32:23 +02:00
Lukas Eder
d9c8a91a83
[ #1786 ] Fix SEQUENCE support for Firebird
2012-09-02 14:46:33 +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
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
26eb0bda24
[ #1783 ] Generate @SuppressWarnings("all") in jOOQ-generated artefacts -
...
Regenerated all schemata
2012-09-01 12:09:57 +02:00
Lukas Eder
27ac37a751
[ #1077 ] Add support for the SQL standard OVERLAPS predicate
2012-08-30 22:51:20 +02:00
Lukas Eder
81d68ad165
[ #1766 ] Simulate tuple comparisons where they are not supported
2012-08-30 19:50:42 +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
1f5a3f0b89
Upgraded H2
2012-08-29 21:08:57 +02:00
Lukas Eder
69a9ba25e9
Release 2.5.0 - Improved jOOQHSQLDBTest2. Match HSQLDB with H2, instead
...
of Oracle
2012-08-26 13:05:56 +02:00
Lukas Eder
270dc67946
Release 2.5.0 - Fix "testBatchSingle()" for Firebird
2012-08-26 12:54:30 +02:00
Lukas Eder
292a1d9a2d
Release 2.5.0 - Fixed "testPlainSQLResultQuery()" for Firebird
2012-08-26 12:43:39 +02:00
Lukas Eder
f4214e85b1
Release 2.5.0 - Fixed "testCustomSQL()" integration test for Firebird
2012-08-26 12:40:49 +02:00
Lukas Eder
10f8231355
Release 2.5.0 - Factored empty group by tests out of "testGrouping()"
2012-08-26 12:33:31 +02:00
Lukas Eder
f657df4cac
Release 2.5.0 - Fixed "testManyVarcharBindValues()" test to respect
...
CUBRID's
undocumented limit of 325 projected fields
2012-08-26 12:25:43 +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
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
8db3c0a7bf
[ #430 ] Add support for the Firebird database - Fixed
...
testFetchResultSet() integration test
2012-08-24 11:44:53 +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
d57f8ffabc
[ #430 ] Add support for the Firebird database - Fixed meta model tests
2012-08-24 11:23:20 +02:00
Lukas Eder
1c246e81e4
[ #430 ] Add support for the Firebird database - Skip testSchemaMapping()
...
integration test
2012-08-24 11:20:44 +02:00
Lukas Eder
47111bd0f3
[ #430 ] Add support for the Firebird database - Skip testUse()
...
integration test
2012-08-24 11:20:18 +02:00
Lukas Eder
9fb61a5089
[ #430 ] Add support for the Firebird database - Fixed numeric data types
2012-08-24 10:47:25 +02:00
Lukas Eder
5cf50f1b55
[ #430 ] Add support for the Firebird database - Added SEQUENCE support
2012-08-24 10:21:53 +02:00
Lukas Eder
2de3f18021
[ #430 ] Add support for the Firebird database - Fixed UK and FK behaviour
2012-08-24 10:10:45 +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
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
da54e2db78
[ #1726 ] Add more integration tests to check for VARCHAR bind value
...
casting limits
2012-08-23 19:27:08 +02:00
Lukas Eder
e596f68368
[ #1726 ] Add more integration tests to check for VARCHAR bind value
...
casting limits
2012-08-22 18:18:02 +02:00
Lukas Eder
d4e5e6c839
[ #430 ] Add support for the Firebird database - Skipped window function
...
test cases
2012-08-19 18:47:49 +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
58fbe956fa
Refactored string function tests into dedicated tests per function
2012-08-19 18:34:19 +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
7161ccf131
[ #430 ] Add support for the Firebird database - Fixed FOR UPDATE tests
2012-08-19 17:29:51 +02:00
Lukas Eder
b325c0ff10
[ #430 ] Add support for the Firebird database - Fixed TRUNCATE test
2012-08-19 17:25:49 +02:00
Lukas Eder
32ec7d388f
[ #430 ] Add support for the Firebird database - Fixed ON DELETE CASCADE
...
in test data
2012-08-19 17:23:44 +02:00
Lukas Eder
f4132f6160
Don't skip tests by default
2012-08-19 17:10:59 +02:00
Lukas Eder
b8b9e05a8e
[ #430 ] Add support for the Firebird database - Skipping INTERVAL tests
2012-08-19 14:52:59 +02:00
Lukas Eder
1684e58107
Refactored tests for quantified predicates out into their own test case
2012-08-19 14:14:00 +02:00
Lukas Eder
9ffb0fac85
[ #430 ] Add support for the Firebird database - Skip PIVOT clause tests
2012-08-19 13:56:55 +02:00
Lukas Eder
e7acb6e1f7
[ #430 ] Add support for the Firebird database - Skip hierarchical query
...
tests
2012-08-19 13:55:27 +02:00
Lukas Eder
6a95dba01e
Extracted CHAR casting test to its own test case
2012-08-19 13:45:55 +02:00
Lukas Eder
a269e5198a
[ #430 ] Add support for the Firebird database - Skip GROUPING SETS tests
2012-08-19 13:31:37 +02:00
Lukas Eder
deb5529a2f
[ #430 ] Add support for the Firebird database - Fixed data type tests
2012-08-19 12:45:54 +02:00
Lukas Eder
a40f111195
[ #1723 ] Add Factory.fetchLazy(ResultSet)
2012-08-19 12:28:47 +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
c7b29787d8
[ #430 ] Add support for the Firebird database
2012-08-17 18:56:34 +02:00
Lukas Eder
10e79d63c1
[ #430 ] Add support for the Firebird database - Added antlr test
...
dependency
2012-08-17 18:52:53 +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
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
2145f3c406
Enable DAO tests for Oracle
2012-08-13 19:54:28 +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
b48db4a690
[ #1693 ] Cannot bind UDT values from other schemata to stored procedures
2012-08-10 16:16:58 +02:00
Lukas Eder
28d4f9a064
[ #1678 ] [REVERT] Order generated procedures in Oracle packages by
...
ALL_PROCEDURES.SUBPROGRAM_ID instead of PROCEDURE_NAME
[#1683 ] Oracle code generation regression for 10g. No such column:
ALL_PROCEDURES.OBJECT_ID
2012-08-10 15:05:30 +02:00
Lukas Eder
1b320d30dc
[ #1684 ] Add <attachRecords/> Setting to indicate that fetched records
...
shouldn't be automatically "attached" - Added another test case
2012-08-10 13:58:31 +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
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
6a11c02345
[ #1678 ] Order generated procedures in Oracle packages by
...
ALL_PROCEDURES.SUBPROGRAM_ID instead of PROCEDURE_NAME
2012-08-05 11:20:36 +02:00
Lukas Eder
f5cb621b36
[457] Add support for Oracle user-defined AGGREGATE functions -
...
regenerated schemata
2012-08-05 11:16:46 +02:00
Lukas Eder
f4a3e2a4c8
[ #457 ] Add support for Oracle user-defined AGGREGATE functions
2012-08-05 11:14:21 +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
eacb78dc51
[ #816 ] Add support for Oracle Text functions
2012-08-04 13:34:39 +02:00
Lukas Eder
8070268def
[ #1664 ] By default, activate <relations/> in the code generator
2012-08-04 12:49:22 +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
e0bc94b312
[ #1665 ] Add support for the empty GROUP BY () clause - added TODO to fix
...
test case, once this is supported
2012-08-04 11:09:12 +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
e3d0935070
[ #1584 ] Code generation error with Oracle UDT static functions -
...
Regenerated source code
2012-08-01 09:59:28 +02:00
Lukas Eder
7a56784539
[ #1584 ] Code generation error with Oracle UDT static functions
2012-08-01 09:59:17 +02:00
Lukas Eder
76a251ee41
[ #1339 ] Add option to generate immutable pojos - Regenerated schema
2012-07-31 23:59:38 +02:00
Lukas Eder
100681882a
[ #1339 ] Add option to generate immutable pojos
2012-07-31 23:59:18 +02:00
Lukas Eder
65cf172dfe
[ #371 ] Add integration tests for concurrent use of jOOQ
2012-07-31 22:10:15 +02:00
Lukas Eder
b07c403ea4
Fixed optimistic locking test case for Sybase ASE
2012-07-31 22:07:53 +02:00
Lukas Eder
ac6cb86cfe
[ #1285 ] Skip date time arithmetic integration tests for Ingres
2012-07-31 19:43:02 +02:00
Lukas Eder
414c6338b6
Circumvent funny internal errors in INGRES when using "= ALL (...)"
...
predicate
2012-07-31 19:39:30 +02:00
Lukas Eder
c2b55850bb
Circumvent funny errors with INGRES and REAL data type when selecting
...
ROUND(0.0, 0)
2012-07-31 19:37:34 +02:00
Lukas Eder
092c7fc724
[ #1520 ] Handle Ingres', SQL Server's, Sybase ASE's limitations of 1024,
...
2100 or 2000 maximum bind values per query - Skip test case for now
2012-07-31 18:41:59 +02:00
Lukas Eder
50838fed0a
[ #1639 ] Deprecate org.jooq.Adapter
2012-07-27 20:26:54 +02:00
Lukas Eder
0c4e9f00e4
[ #1627 ] Handle NULL in CSV imports/exports
2012-07-27 17:03:26 +02:00
Lukas Eder
02ad697a47
Upgraded CUBRID JDBC driver
2012-07-27 16:23:02 +02:00
Lukas Eder
7f9de995fe
Commented keyboard input
2012-07-27 14:51:04 +02:00
Lukas Eder
572ae88a9e
Added some more "fairness" to the benchmark, by actually fetching result
...
sets also when using a PreparedStatement directly
2012-07-27 14:08:07 +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
a120437579
[ #1625 ] Performance benchmark to show difference between regular
...
execution and reusing PreparedStatements
2012-07-27 12:55:35 +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
8155574f65
Fixed execution statistics output
2012-07-27 10:59:37 +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
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
7ccc60fe1d
[ #1587 ] Generate missing constructors taking DataSource in
...
schema-specific factories - Regenerated test databases
2012-07-19 19:44:30 +02:00
Lukas Eder
297735c227
Fixed some compiler warnings
2012-07-19 19:25:12 +02:00
Lukas Eder
b001a7c73e
Updated Eclipse compiler settings to add Eclipse Juno features
2012-07-19 19:19:45 +02:00
Lukas Eder
11b00a20e9
Fixed some warnings
2012-07-15 17:10:11 +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
b5e7029c60
[ #1547 ] Support "optimistic locking" in UpdatableRecord.storeLocked() -
...
repeat integration test with another table, to check against more data
types
2012-07-14 16:22:46 +02:00
Lukas Eder
add0476024
[ #1547 ] Support "optimistic locking" in UpdatableRecord.store()
2012-07-14 16:14:10 +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
6090465d95
[ #1563 ] Add support for Oracle SYNONYMs in source code generation -
...
added PUBLIC synonyms for testing
2012-07-14 11:05:58 +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
660c68675a
[ #1563 ] Add support for Oracle SYNONYMs in source code generation -
...
Regenerated Oracle SYS schema, adding ALL_SYNONYMS
2012-07-13 18:17:44 +02:00
Lukas Eder
ea229d9259
[ #1563 ] Add support for Oracle SYNONYMs in source code generation -
...
Added SYNONYMs to database
2012-07-13 18:14:28 +02:00
Lukas Eder
43319944d4
[ #1557 ] Inlining floats and doubles doesn't work correctly on all
...
databases - Test case runs on all databases
2012-07-13 15:43:08 +02:00
Lukas Eder
54a2c887a2
[ #1557 ] Inlining floats and doubles doesn't work correctly on all
...
databases - Fixed reset.sql scripts, emptying t_639_numbers_table tables
2012-07-13 15:12:28 +02:00
Lukas Eder
e3c23d6722
[ #1552 ] Generate fetchBy[ColumnName] methods in generated DAO classes -
...
regenerated test schema
2012-07-11 22:18:05 +02:00
Lukas Eder
c95aa4cb7b
[ #1552 ] Generate fetchBy[ColumnName] methods in generated DAO classes
2012-07-11 22:17:52 +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
e523a9fa6f
[ #1510 ] Generate additional setters for foreign keys, accepting records
...
as arguments - regenerated test data
2012-07-06 19:02:08 +02:00
Lukas Eder
dead419c84
Make test work for larger T_BOOK tables
2012-07-06 15:37:17 +02:00
Lukas Eder
39291b6d64
Regenerated ASE database
2012-07-06 15:25:01 +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
c3bfe36153
[ #1141 ] Add Result.intoResultSet() to wrap a Result in a JDBC ResultSet
...
- Fixed integration test for databases like Oracle, where data type
information may be lost when fetching ResultSet (Integer -> BigDecimal)
2012-07-06 14:17:49 +02:00
Lukas Eder
5c921089ed
[ #1535 ] Oracle ROW_NUMBER() OVER() have mandatory ordering clauses. Push
...
down SELECT-level ORDER BY clause to ranking functions if needed -
Prepared integration tests for a future fix
2012-07-06 14:01:09 +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
7dc81a977c
[ #1525 ] Generate missing Javadoc to getters for procedure OUT parameters
...
- Regenerated test data
[#1534 ] Generate more meaningful Javadoc where "an uncommented item"
stands now - Regenerated test data
2012-07-06 12:40:31 +02:00
Lukas Eder
1152423ada
[ #1528 ] Let generated interfaces extend Serializable - regenerated test
...
data
2012-07-06 12:19:43 +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
72715a1c7c
[ #1253 ] Avoid JDBC escape syntax for date/time literals
2012-06-30 12:21:07 +02:00
Lukas Eder
8abb2a1707
[ #1499 ] Generated members of Tables.java are not final - regenerated
...
test data
2012-06-30 10:24:30 +02:00
Lukas Eder
e202d6dd75
[ #1520 ] Handle SQL Server's and Sybase ASE's limitations of 2100 or 2000
...
maximum bind values per query
2012-06-30 08:34:16 +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
5ca80a5b41
[ #1490 ] Compilation error when a SQL Server stored procedure has a
...
parameter named "value" - regenerated test schema
2012-06-29 19:34:32 +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
b44cc4f233
Merge branch 'master' of git@github.com:jOOQ/jOOQ.git
...
Conflicts:
jOOQ-codegen/src/main/java/org/jooq/util/DefaultGenerator.java
jOOQ-meta/src/main/java/org/jooq/util/DefaultIdentityDefinition.java
jOOQ-meta/src/main/java/org/jooq/util/IdentityDefinition.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/Keys.java
jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/Keys.java
2012-06-03 13:44:00 +02:00
Lukas Eder
b168ff70ef
[ #1459 ] Generated Keys.java static class too large (static initialiser
...
can become bigger than 64kb)
2012-06-03 13:38:29 +02:00
Lukas Eder
bd72bc41af
[ #1473 ] Add IdentityDefinition to jooq-meta
2012-06-02 13:25:49 +02:00
Lukas Eder
eb6b5f1ae5
[ #1473 ] Add IdentityDefinition to jooq-meta
2012-06-02 12:29:30 +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
947d2c6421
[ #1463 ] Add option to let generated Record / POJO objects implement a
...
common generated interface
2012-06-01 17:47:46 +02:00
Lukas Eder
f109e734a0
[ #1358 ] Compilation errors in generated source code when Oracle
...
overloaded procedures collide with procedures that end with numbers
2012-06-01 15:40:51 +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
531c5486bd
[ #1460 ] Table.getReferencesTo(Table) doesn't work correctly for aliased
...
tables - added integration test
2012-05-27 17:41:29 +02:00
Lukas Eder
2150f95d2c
[ #1454 ] Add line breaks to generated Javadoc where appropriate
2012-05-25 14:56:49 +02:00
Lukas Eder
2dc7d8856d
[ #1449 ] Generate some meaningful Javadoc into the generated
...
[schema-name]Factory classes
2012-05-25 14:34:11 +02:00
Lukas Eder
7e32e33e86
[ #1418 ] Support case-insensitive schema names in code generation
2012-05-25 14:19:33 +02: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
Lukas Eder
36d8a90508
Reverted recent developments around XML/CSV export of
...
INFORMATION_SCHEMA. Such a solution is not maintainable
2012-05-23 22:04:28 +02:00
Lukas Eder
2d2e665e80
[ #1439 ] Add CSVGenerator to export TABLES.csv, COLUMNS.csv,
...
ROUTINES.csv, etc.
2012-05-22 22:09:36 +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
aa74e1a416
[ #1432 ] Fixed some issues with the integration tests
2012-05-20 23:26: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
8e42d509fa
[ #1433 ] Allow for using INFORMATION_SCHEMA.xml as input for jooq-meta
2012-05-20 21:35:58 +02:00
Lukas Eder
2b447dcb6e
[ #875 ] Add XMLGenerator to export an INFORMATION_SCHEMA.xml
2012-05-20 21:33:31 +02:00
Lukas Eder
d905d6b9e0
[ #875 ] Add XMLGenerator to export an INFORMATION_SCHEMA.xml
...
[#1434 ] Add UniqueKeyDefinition.isPrimaryKey() for completeness
[-] Removed
CONSTRAINT_COLUMN_USAGE from HSQLDB generated
INFORMATION_SCHEMA classes
2012-05-20 21:31:01 +02:00
Lukas Eder
e0a66e56ad
Generate DAOs for Oracle, too
2012-05-20 18:52:16 +02:00
Lukas Eder
e264eaf6bb
Regenerated H2 database
2012-05-19 14:19:50 +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
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
4bd1956168
Fixed backwards-compatibility issues
2012-05-13 21:48:36 +02:00
Lukas Eder
b46db7c8c5
[ #1423 ] Add Field.likeIgnoreCase() to support Postgres' ILIKE operator
2012-05-13 21:09:26 +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
7d7aa5049d
[ #1406 ] Compilation errors in generated source code when Postgres stored
...
procedure parameter is called "NAME"
2012-05-10 18:54:22 +02:00
Lukas Eder
74205afc53
[ #1407 ] Compilation errors in generated source code when Postgres
...
data-type is "any" (with quotes!)
2012-05-10 18:46:20 +02:00
Lukas Eder
c94ded5e4e
Release 2.3.0 - Upgraded rsyntaxtextarea
2012-05-06 20:39:34 +02:00
Lukas Eder
2f0522d89c
Release 2.3.0 - Regenerated integration test artefacts
2012-05-06 20:11:15 +02:00
Lukas Eder
755bf002ce
Release 2.3.0 - Regenerated examples
2012-05-06 20:04:09 +02:00
Lukas Eder
4346013477
[ #1370 ] Missing conversion when using unsafe Field<?> types in INSERT or
...
UPDATE statements - Deactivate relevant integration test for the time
being
2012-05-06 18:44:46 +02:00
Lukas Eder
c1a7bd0bee
Release 2.3.0
2012-05-06 18:23:11 +02:00
Lukas Eder
130e6b1024
[ #1394 ] NullPointerException when omitting <generate/> element in code
...
generation configuration
2012-05-04 11:46:16 +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
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
eaf66c19d2
[ #783 ] Result holds wrong data when tables in a cartesian self product
...
(or self cross join) are not aliased - added integration test
2012-05-01 13:36:53 +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
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
50d2625ed4
[ #1370 ] Missing conversion when using unsafe Field<?> types in INSERT or
...
UPDATE statements
2012-04-28 13:21: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
a41ed92c27
[ #1358 ] Compilation errors in generated source code when Oracle
...
overloaded procedures collide with procedures that end with numbers -
Added integration test
2012-04-25 22:35:29 +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
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
942731ab9f
[ #1323 ] Add support for byte[] in Postgres UDTs - Added support for Octal values (added integration test)
2012-04-20 13:41:31 +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
32e823f356
Upgraded CUBRID JDBC driver from build 1018 to 2032
2012-04-20 10:21:48 +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
711c7d011d
[ #1326 ] Error when deserialising BLOBs from Oracle UDTs
2012-04-20 08:12:04 +00:00
Lukas Eder
64c60a549a
[ #1323 ] Add support for byte[] in Postgres UDTs
2012-04-19 16:42:30 +00:00
Lukas Eder
5737e16275
[ #1315 ] Let generated factories use their associated Schema as the Settings' RenderMapping's defaultSchema
2012-04-14 15:27:06 +00:00
Lukas Eder
7f48be5af3
[ #1308 ] Oracle's DataTypeDefinition reports the length of a BLOB / CLOB data type to be 4000
2012-04-14 14:23:41 +00:00
Lukas Eder
d99b20b89c
[ #1279 ] NullPointerException when leaving <inputSchema/> empty
...
[#1312 ] Allow for omitting <inputSchema/>, and generate all available schemata in that case
2012-04-14 13:47: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
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
2f568eb7e3
[ #1288 ] SQL syntax errors from sequences when using RenderMapping's defaultSchema
2012-04-11 21:52:00 +00:00
Lukas Eder
874adda9cd
[ #1255 ] Let generated Tables contain a protected default constructor, to be able to extend classes - Github issue #12
2012-04-08 13:14:24 +00:00
Lukas Eder
76256acb2d
Fixed cubrid generated code
2012-04-07 14:46:51 +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
3b95d040ba
[ #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:55 +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
6e6fcbcf78
[ #1268 ] Add Factory.field(String, QueryPart...) to generate custom clauses
2012-04-06 16:29:59 +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
948d015c43
[ #1270 ] Most databases allow for multiple identical foreign keys. This leads to compilation errors in generated source code
2012-04-06 09:03:54 +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
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
c105db24ff
[ #1256 ] User defined H2 functions codegen bug
2012-04-01 07:51:18 +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
7d1c38ff3a
[ #1257 ] Add CUBRID support - Fixed some issues
2012-03-30 09:56:52 +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
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
a65d77443f
Fixed test case that breaks when we shift from CET -> CEST (daylight savings time)
2012-03-24 09:57:19 +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
e823bb6a7f
[ #1251 ] Add integration tests for fetching POJOs that reference <customTypes/>
2012-03-21 21:26:31 +00:00
Lukas Eder
7441caa7da
[ #1243 ] Let generated POJOs (and Records) extend base classes
2012-03-21 20:59:08 +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
9bc49f23c6
[ #1244 ] Cannot override class name in GeneratorStrategy in Mode.POJO
2012-03-20 18:26:43 +00:00
Lukas Eder
0a79ae0660
[ #1241 ] Wrong variable binding when comparing CHAR columns in Derby without explicit casting to VARCHAR . Added test case
2012-03-18 14:09:14 +00:00
Lukas Eder
e622399208
Release 2.1.0 - Re-generated HSQLDB schema
2012-03-18 13:33:12 +00:00
Lukas Eder
bee6a4443e
Release 2.1.0 - Fixed ASE testcase
2012-03-18 12:42:20 +00:00
Lukas Eder
7b00d64a20
Release 2.1.0 - Regenerated ASE test schema
2012-03-18 12:37:10 +00:00
Lukas Eder
fd60c8ad1f
[ #1195 ] Add more jOOQ-Console documentation
2012-03-16 15:22:44 +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
2decf46eee
[ #349 ] Add SQLite relations support
...
[#1234 ] Add Database.getTable(SchemaDefinition, String, boolean) to fetch tables case-insensitively
2012-03-16 11:03:44 +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
993b79d8f6
[ #1233 ] Support custom JDBC properties for jooq-codegen-maven plugin
2012-03-16 10:27:39 +00:00