Commit Graph

1395 Commits

Author SHA1 Message Date
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
Lukas Eder
67acab88c0 [#894] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved window functions 2011-11-04 18:13:51 +00:00
Lukas Eder
3197037dd5 [#894] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved window functions
[#902] Make AggregateFunction the base type for constructing window functions
[#903] Field.lag(int, T) erroneously delegates to Field.lead()
2011-11-04 18:05:23 +00:00
Lukas Eder
30dd09dee2 [#891] Let min() max(), etc functions return a new type AggregateFunction. This type can then be used as an entry-point for window functions 2011-11-04 17:20:38 +00:00
Lukas Eder
007aa862ef [#898] Replace usage of checked SQLException by an unchecked DataAccessException, similar to that of Spring
[#899] Build jOOQ .jar files as bundles to be deployed into OSGI environments
[#900] Purge deprecated API - Prior to 2.0
2011-11-04 16:07:08 +00:00
Lukas Eder
da9b69ea98 [#894] Move functions from Field<?> to Factory and make them static - moved math functions 2011-11-04 11:02:45 +00:00
Lukas Eder
0c4a09451e [#894] Move functions from Field<?> to Factory and make them static - moved aggregate functions 2011-10-31 18:08:57 +00:00
Lukas Eder
496aa5ee1d [#893] Simulate ROLLUP function for MySQL, using the WITH ROLLUP modifier 2011-10-31 17:39:05 +00:00
Lukas Eder
e0493dc775 [#661] Add support for bitwise operators
[#895] Add Field.power(Field<? extends Number>)
2011-10-30 20:58:56 +00:00
Lukas Eder
de67521fb4 [#718] Sequences should be mapped to appropriate type (e.g. SMALLINT, INT, BIGINT, etc) 2011-10-30 15:06:20 +00:00
Lukas Eder
35f7a6f065 Release 2.0.0-SNAPSHOT 2011-10-30 14:57:59 +00:00
Lukas Eder
f7e9adac52 [#751] Add support for Oracle/SQL Server GROUPING SETS clause 2011-10-30 09:13:34 +00:00
Lukas Eder
3f9af0a01d [#892] Add support for Oracle/SQL Server GROUPING() and GROUPING_ID() functions to be used along with CUBE and ROLLUP clauses 2011-10-30 08:33:37 +00:00
Lukas Eder
36f560f5c4 [#734] Add support for Oracle/SQL Server CUBE and ROLLUP clauses 2011-10-30 08:18:51 +00:00
Lukas Eder
a8aa1fe48e [#890] Add Factory.selectCount() convenience method 2011-10-30 07:30:29 +00:00
Lukas Eder
84e1eab570 [#626] Create static function access 2011-10-30 07:19:32 +00:00
Lukas Eder
09c3406180 [#794] Add support for ORDER BY [int value] in order to reference a column index for sorting 2011-10-29 16:40:29 +00:00
Lukas Eder
4ee4f47843 [#888] Derby casting of VARCHAR to FLOAT (and similar) doesn't work 2011-10-29 14:04:28 +00:00
Lukas Eder
83f2c27773 [#859] Derby casting of numeric types to BOOLEAN doesn't work 2011-10-29 13:18:17 +00:00
Lukas Eder
37c4c466b4 [#885] Add support for INSERT INTO .. VALUES () syntax, omitting explicit field declarations 2011-10-29 12:09:38 +00:00
Lukas Eder
aa00ab4e63 [#748] CURSOR: H2 regression in 1.3.158 regarding RESULT_SET stored function results 2011-10-29 11:30:40 +00:00
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