Commit Graph

1625 Commits

Author SHA1 Message Date
Lukas Eder
52ceaf63fa [#887] Add <E> List<E> Cursor.fetchInto(Class<E>) 2011-10-27 21:03:57 +00:00
Lukas Eder
d7336adc01 [#886] Regression in date extract function when used in a subselect 2011-10-27 19:15:18 +00:00
Lukas Eder
78b7adb55a Removed unnecessary indirection 2011-10-27 19:13:31 +00:00
Lukas Eder
11506875b5 [#621] Add support for JDBC BATCH operations 2011-10-25 19:53:11 +00:00
Lukas Eder
0e5f8de8c1 Release 1.6.9-SNAPSHOT 2011-10-25 17:47:58 +00:00
Lukas Eder
7fe1d50c89 [#882] Optimise Field.isTrue() and isFalse(). Take Field's data type into consideration 2011-10-25 17:43:34 +00:00
Lukas Eder
c0c7e89a3e Release 1.6.8 2011-10-22 15:17:29 +00:00
Lukas Eder
29644aa57e [#877] Compilation error in generated source code when a table without PK has an IDENTITY column 2011-10-20 17:28:26 +00:00
Lukas Eder
6bb7997fcb Added some comments 2011-10-19 19:34:02 +00:00
Lukas Eder
665f31885d Resolved javac compilation problem 2011-10-18 20:07:47 +00:00
Lukas Eder
05d6b89177 Resolved javac compilation problem 2011-10-18 19:57:01 +00:00
Lukas Eder
183fbd74ec [#271] PERFORMANCE: Don't pre-fetch table meta data when selecting from plain SQL tables
[#489] Add support for SELECT *
[#692] CURSOR: Add support for ResultSet type returned from HSQLDB stored functions
[#761] Exception when TRACE logging execution with plain SQL tables involved
2011-10-18 18:24:05 +00:00
Lukas Eder
1959e9e432 [#878] Implement DataType.equals() and .hashCode() 2011-10-18 16:37:48 +00:00
Lukas Eder
f699d26460 [#773] Execute standalone stored functions as CallableStatement to prevent issues with transactions
[#852] Review stored procedures / functions concept. Merge them all into a single "Routine" type
2011-10-17 17:48:07 +00:00
Lukas Eder
36c9260391 [#873] Error when selecting two times the same aggregate field 2011-10-16 17:47:51 +00:00
Lukas Eder
8bb5c0d075 [#874] Reduce the number of internal classes for dialect-specific function aliases 2011-10-16 13:02:10 +00:00
Lukas Eder
23934e3e2a Added missing final keywords 2011-10-16 12:48:24 +00:00
Lukas Eder
87ce687450 [#596] Add support for VARIANCE() and STDDEV() OVER() window functions
[#874] Reduce the number of internal classes for dialect-specific function aliases
2011-10-16 12:46:47 +00:00
Lukas Eder
9223364ee9 [#872] Add support for STDDEV_POP(), STDDEV_SAMP(), VAR_POP(), VAR_SAMP() aggregate functions 2011-10-16 12:02:22 +00:00
Lukas Eder
f4eb201592 [#870] Add support for MEDIAN aggregate function 2011-10-15 15:54:01 +00:00
Lukas Eder
d277d61cae [#863] Ingres integration generates illegal SQL when selecting things like SELECT 1 WHERE 1 = 1 2011-10-15 12:57:08 +00:00
Lukas Eder
a447385e32 [#670] Add more Javadoc to Field.xxx() functions 2011-10-09 13:06:24 +00:00
Lukas Eder
7a22b8ad77 [#866] Sybase ASE Field.replace(String) function incorrectly removes the argument string 2011-10-09 12:47:10 +00:00
Lukas Eder
d1f9906ab5 [#865] Add integration tests for Field.ascii() 2011-10-09 12:43:35 +00:00
Lukas Eder
4628d259c7 [#861] Field.replace(String) generates bad SQL for various RDBMS. Field.replace(String, String) works, though 2011-10-09 12:01:46 +00:00
Lukas Eder
d4c01f8397 [#860] SQLite CEIL function is incorrectly simulated. CEIL(2.0) returns 3.0 instead of 2.0 2011-10-09 11:05:55 +00:00
Lukas Eder
362e31e019 [#857] Derby casting of numeric types to String / VARCHAR doesn't work 2011-10-09 10:49:05 +00:00
Lukas Eder
746a4ff863 [#858] SQLDataType.getSQLDataType() should return itself, instead of null 2011-10-09 10:27:07 +00:00
Lukas Eder
debf27ee01 [#852] Review stored procedures / functions concept. Merge them all into a single "Routine" type - Regenerated integration test schemata
[#854] Add convenience methods Field.isTrue(), isFalse() for conversion of "Y", "YES", "1", "true", "on", etc into a boolean condition
2011-10-08 20:16:21 +00:00
Lukas Eder
1c9ff85cc9 [#852] Review stored procedures / functions. Merge them all into a single procedure type
[#853] DB2 generated convenience methods for stored functions have unstable ordering
2011-10-02 19:53:27 +00:00
Lukas Eder
3d52f6cc2f [#756] CURSOR: Error when aliasing HSQLDB and Postgres UNNESTed tables 2011-10-02 15:39:29 +00:00
Lukas Eder
e59b065994 [#847] Query.getSQL() doesn't render dialect-specific SQL when Query is constructed using the fluent API 2011-10-02 13:09:49 +00:00
Lukas Eder
1fa0d8a573 [#851] Change Field.{sortAsc|sortDesc}(List<T> sortList) into Field.{sortAsc|sortDesc}(Collection<T> sortList) 2011-10-02 12:04:07 +00:00
Lukas Eder
ab9c645e1d [#848] Purge deprecated API - Prior to 1.6.1
[#849] Replace Cursor.fetchResult() by Cursor.fetch()
2011-09-27 17:50:59 +00:00
Lukas Eder
1c6ba38992 Release 1.6.8-SNAPSHOT 2011-09-26 18:11:24 +00:00
Lukas Eder
b22fa9db18 Release 1.6.7 2011-09-25 21:53:40 +00:00
Lukas Eder
1f85a6e0f2 Release 1.6.7-SNAPSHOT 2011-09-24 14:40:41 +00:00
Lukas Eder
554c4581d3 [#844] NullPointerException when selecting a column from a Result, that does not exist 2011-09-24 10:50:41 +00:00
Lukas Eder
e16ab043a1 [#842] Add Query.getBindValues() method to allow for extracting bind values in the correct order 2011-09-24 10:42:13 +00:00
Lukas Eder
06d358c588 [#843] Add Factory.fetch(ResultSet) to transform a JDBC ResultSet into a jOOQ Result 2011-09-24 10:41:42 +00:00
Lukas Eder
e45657bffa [#825] Add List<Result<Record>> Factory.fetchMany(String) to allow for fetching several result sets from stored procedures, such as Sybase ASE's "sp_help" 2011-09-22 21:24:58 +00:00
Lukas Eder
4f82b414e3 [#841] Add <T> List<T> Result.getValues(Field<?>, Class<T>) 2011-09-22 20:54:59 +00:00
Lukas Eder
65291bb1c5 [#840] Numeric conversions in getValueAsXXX() should trim String values first 2011-09-22 20:44:40 +00:00
Lukas Eder
8f99fca184 [#839] Boolean conversion in getValueAsBoolean() should trim String values first 2011-09-22 20:40:40 +00:00
Lukas Eder
c10e7f927c [#838] Implement MetaDataFieldProvider.toString() 2011-09-22 20:38:29 +00:00
Lukas Eder
642d89f40c [#836] Bad syntax when selecting from aliased plain SQL tables 2011-09-22 19:30:22 +00:00
Lukas Eder
4abcf0059e [#837] Avoid final keyword on Object methods, such as .equals(), .hashCode(), .toString() 2011-09-21 17:38:19 +00:00
Lukas Eder
0c6edbc807 Release 1.6.6 - Javadoc fix 2011-09-12 17:26:47 +00:00
Lukas Eder
41e531ca9f Release 1.6.6 2011-09-12 17:10:15 +00:00
Lukas Eder
f4d7641806 [#826] Allow for returning several records in the INSERT .. RETURNING clause 2011-09-12 16:49:58 +00:00
Lukas Eder
cf71232458 [#827] Support Sybase SQL Anywhere's TOP n START AT m clause 2011-09-11 13:51:38 +00:00
Lukas Eder
681f3e8fa4 [#800] Add support for Sybase Adaptive Server Enterprise - fixed some integration tests 2011-09-11 11:49:59 +00:00
Lukas Eder
a887e51861 [#800] Add support for Sybase Adaptive Server Enterprise - fixed some integration tests 2011-09-11 11:33:27 +00:00
Lukas Eder
02a4ace239 [#800] Add support for Sybase Adaptive Server Enterprise - fixed some integration tests 2011-09-06 21:02:02 +00:00
Lukas Eder
6e9b555944 [#800] Add support for Sybase Adaptive Server Enterprise - fixed some integration tests 2011-09-06 20:49:26 +00:00
Lukas Eder
45d36bbbac [#800] Add support for Sybase Adaptive Server Enterprise - rename "adaptiveserver" into "ase" 2011-09-06 20:07:53 +00:00
Lukas Eder
63688f0ce7 [#800] Add support for Sybase Adaptive Server Enterprise - rename "adaptiveserver" into "ase" 2011-09-06 19:45:42 +00:00
Lukas Eder
0c07598323 [#800] Add support for Sybase Adaptive Server Enterprise - rename "adaptiveserver" into "ase" 2011-09-06 19:44:52 +00:00
Lukas Eder
99064a0c32 [#800] Add support for Sybase Adaptive Server Enterprise - fixed many integration tests 2011-09-06 19:26:04 +00:00
Lukas Eder
2045325fe7 [#800] Add support for Sybase Adaptive Server Enterprise - fixed many integration tests 2011-09-06 18:09:42 +00:00
Lukas Eder
65bb1d29e9 [#800] Add support for Sybase Adaptive Server Enterprise - fixed many integration tests 2011-09-06 17:34:47 +00:00
Lukas Eder
d746075fc9 [#828] Document inefficient implementation for GREATEST and LEAST in some RDBMS 2011-09-06 16:57:26 +00:00
Lukas Eder
6d6039da32 [#800] Add support for Sybase Adaptive Server Enterprise 2011-09-04 18:40:14 +00:00
Lukas Eder
e14cec9b64 [#808] Add support for INSERT .. RETURNING for Ingres 2011-09-03 11:44:17 +00:00
Lukas Eder
031f262713 [#823] Cannot bind SQLite BigDecimal, BigInteger types - bind them as String instead 2011-08-31 19:03:48 +00:00
Lukas Eder
9fdea1af6b [#822] Let Constant cast to more precise numeric/decimal types in those RDBMS where casting is necessary 2011-08-31 18:34:59 +00:00
Lukas Eder
d9352f0503 [#824] BigInteger values cannot be bound in DB2, Derby 2011-08-31 18:24:23 +00:00
Lukas Eder
ae3322c9db [#824] BigInteger values cannot be bound in Derby 2011-08-31 18:17:03 +00:00
Lukas Eder
243ab8700b [#813] Add DSL support for INSERT .. RETURNING 2011-08-30 22:34:35 +00:00
Lukas Eder
2585672f88 [#821] Optimise ResultQuery.fetchAny() executing fetchLazy() internally, and only fetching one record from the cursor 2011-08-29 20:38:39 +00:00
Lukas Eder
830194e75c [#820] Add Factory.fetchOne(String) for executing plain SQL queries that return single records 2011-08-29 20:32:20 +00:00
Lukas Eder
e3e42ad636 [#810] Add support for INSERT .. RETURNING for SQLite using last_inserted_rowid() 2011-08-29 20:00:04 +00:00
Lukas Eder
2009f7b97a [#818] Add SQLiteFactory.rowid() 2011-08-29 19:49:29 +00:00
Lukas Eder
b27a71f8fa [#814] Change TableRecord to reload its trigger-initialised main key in Oracle and other RDBMS that don't support IDENTITY columns 2011-08-29 18:56:28 +00:00
Lukas Eder
8106cc5a0d [#817] Deprecate Factory.lastID(Identity) 2011-08-29 18:47:11 +00:00
Lukas Eder
9972c1cccc [#796] Complete public org.jooq.impl Javadoc 2011-08-29 17:31:47 +00:00
Lukas Eder
a8f2f494f5 [#809] Add support for INSERT .. RETURNING for Sybase using SELECT @@identity 2011-08-29 17:18:50 +00:00
Lukas Eder
fca87d7ae5 Release 1.6.6-SNAPSHOT 2011-08-29 17:14:59 +00:00
Lukas Eder
af0574e4c5 [#815] SQL Server fetching of IDENTITY value is broken 2011-08-29 16:35:09 +00:00
Lukas Eder
9904333b68 Fixed Javadoc 2011-08-28 18:45:34 +00:00
Lukas Eder
7510f8e461 Release 1.6.5 2011-08-28 18:33:06 +00:00
Lukas Eder
c0fe8454b0 [#802] Use 'INSERT <...> RETURNING' instead of 'SELECT MAX(pk)' in PostgreSQL to retrieve pk of new record
[#803] Add support for INSERT .. RETURNING or simulate it where not available
2011-08-28 18:22:56 +00:00
Lukas Eder
8fe1397c9b Override AttachableImpl.toString() 2011-08-25 22:03:20 +00:00
Lukas Eder
6e14abbdbf [#784] Add Result.exportXML() to retrieve a DOM Document similar to that of .formatXML() 2011-08-25 21:29:21 +00:00
Lukas Eder
e35c42e41f [#805] Add <T> T[] fetchArray(int, Class<T>) and fetchArray(String, Class<T>) convenience methods 2011-08-25 20:38:24 +00:00
Lukas Eder
cdc19b3b73 [#806] Add <T> T fetchOne(int, Class<T>) and fetchOne(String, Class<T>) convenience methods 2011-08-25 18:45:16 +00:00
Lukas Eder
7fe22e497d [#795] Add <T> List<T> fetch(int, Class<T>) and fetch(String, Class<T>) convenience methods 2011-08-25 17:51:28 +00:00
Lukas Eder
b838cb1caf [#792] Add support for loading of CSV data into tables - added final integration tests 2011-08-24 22:11:26 +00:00
Lukas Eder
8b1f1ac1d4 [#792] Add support for loading of CSV data into tables - added additional integration tests 2011-08-23 20:18:57 +00:00
Lukas Eder
280e5dd2a3 [#792] Add support for loading of CSV data into tables - partial commit 2011-08-22 22:29:28 +00:00
Lukas Eder
a35e9466ed [#798] Oracle IN (...) with more than 1000 arguments won't work 2011-08-21 10:40:25 +00:00
Lukas Eder
10b0e2de8a Added some .gitignore files 2011-08-07 16:31:32 +00:00
Lukas Eder
20ae87b010 Release 1.6.4 - Fixed pom.xml to omit Javadoc tree overview (53MB!) 2011-08-07 14:55:04 +00:00
Lukas Eder
4496bb9290 Release 1.6.4 2011-08-07 14:12:53 +00:00
Lukas Eder
2cc273f1e2 Release 1.6.4 - Corrected Javadoc 2011-08-07 14:10:21 +00:00
Lukas Eder
223104dd9f Release 1.6.4 2011-08-07 14:04:12 +00:00
Lukas Eder
9ed0e76740 Improved signature of .fetchInto(RecordHandler) and .into(RecordHandler) 2011-08-07 13:43:33 +00:00
Lukas Eder
424f6bb750 Renamed RecordTarget to RecordHandler 2011-08-07 12:50:41 +00:00
Lukas Eder
90896ed3ef [#636] Add unit tests for more advanced CONNECT BY example
[#793] Add support for Oracle's SYS_CONNECT_BY_PATH function
2011-08-07 12:22:50 +00:00
Lukas Eder
6be542e7f5 [#786] Document thread-safety facts in Javadoc 2011-08-06 16:41:04 +00:00
Lukas Eder
cba4d82261 [#789] Deprecate Record constructors with Configuration parameter 2011-08-06 15:43:04 +00:00
Lukas Eder
cc7e190cf2 [#785] Allow for storing TableRecord with a provided Field<?>[]
[#787] The UpdatableRecord's internal changed flags are not updated after INSERTs / UPDATEs
[#788] Add Key.getFieldsArray() convenience method
2011-08-06 13:45:06 +00:00
Lukas Eder
b3f1d994d9 Corrected Javadoc links 2011-08-03 21:43:53 +00:00
Lukas Eder
49ec57f24f [#137] Add support for asynchronous query execution 2011-08-03 21:12:19 +00:00
Lukas Eder
9187f51541 Added Maven Eclipse Plugin 2011-08-02 20:37:52 +00:00
Lukas Eder
cb307cb7de [#728] Add .fetchInto(RecordTarget<R>) to ResultQuery, Result, and Cursor to allow for callbacks 2011-08-01 11:31:47 +00:00
Lukas Eder
2e7ea84cd1 [#198] Add SELECT INTO functionality
[#782] Add <T> T Record.getValue(..., Class<? extends T>) methods for convenient type conversion
2011-08-01 09:42:11 +00:00
Lukas Eder
d190cc7b60 [#579] SQL syntax error when using Factory.selectOne() in a subquery - first implementation attempt 2011-07-31 20:32:04 +00:00
Lukas Eder
f7da563d13 [#730] Sybase cannot bind null values in plain SQL 2011-07-31 20:16:42 +00:00
Lukas Eder
4373e42361 [#781] Add E function (Euler number) 2011-07-31 20:01:35 +00:00
Lukas Eder
1aba047f4c [#775] Automatic re-attaching after deserialisation does not work when used with .fetchLazy() 2011-07-31 19:47:49 +00:00
Lukas Eder
c89950378c Fixed Javadoc errors 2011-07-31 17:04:58 +00:00
Lukas Eder
0589cc9eb6 Fixed Javadoc errors 2011-07-31 17:04:09 +00:00
Lukas Eder
7b61e2647c Fixed Javadoc errors 2011-07-31 17:03:28 +00:00
Lukas Eder
9e1b0dc657 Version 1.6.4-SNAPSHOT 2011-07-31 16:49:49 +00:00
Lukas Eder
1235c9a13a [#759] Omit the TOP 100 PERCENT clause in SQL Server ordered top-level queries 2011-07-30 19:24:58 +00:00
Lukas Eder
68fe91e612 [#771] Some literals are not properly escaped with quotes, yet, e.g. UDT identifiers 2011-07-30 17:49:30 +00:00
Lukas Eder
5a8d877225 Renamed some new methods to prevent potential compilation issues 2011-07-30 17:29:48 +00:00
Lukas Eder
c4190e17a7 [#778] Purge deprecated API 2011-07-30 16:28:39 +00:00
Lukas Eder
9da8ef5aa3 [#758] Change QueryPart rendering and binding API to use Configuration and Context as callback parameters - implemented binding 2011-07-30 16:08:50 +00:00
Lukas Eder
d8d1489693 [#777] CURSOR: Add function alias: UNNEST for TABLE 2011-07-30 12:39:59 +00:00
Lukas Eder
6c8b234132 [#758] Change QueryPart rendering and binding API to use Configuration and Context as callback parameters - implemented rendering
[#774] Add more TRACE logging to .fetchLazy()
[#776] Deprecate QueryPart.getSQL(), add Query.getSQL()
2011-07-30 12:35:38 +00:00
Lukas Eder
031fddbc86 Release 1.6.3 2011-07-24 17:09:49 +00:00
Lukas Eder
b014759bec [#766] Bad decoding of JDBC Types BIGINT (to BigInteger instead of Long) and REAL (to BigDecimal instead of Float) to Java classes when plain SQL tables are involved 2011-07-24 16:20:29 +00:00
Lukas Eder
5666cfd019 [#760] Reorganise SVN repository. Move modules to sub-directory trunk/ 2011-07-24 15:08:50 +00:00