Lukas Eder
180b3a193b
Fixed a regression for Oracle
2013-09-24 11:44:16 +02:00
Lukas Eder
170b0aec0f
Restored accidental override of license header to jOOU. It should remain ASL 2.0 single-licensed, not dual-licensed OSS / Commercial
2013-09-24 10:25:40 +02:00
Lukas Eder
90b67fef15
[ #2712 ] Field.equalIgnoreCase(String) method broken for SQL Server
2013-09-20 15:03:49 +02:00
Lukas Eder
028dc4503c
[ #2760 ] org.jooq.Meta should treat MySQL databases as Schema, not as Catalog
2013-09-20 14:00:02 +02:00
Lukas Eder
232ec19e91
[ #2681 ] "Type NULL is not supported in dialect MYSQL" when calling Meta.getTables() with MySQL or MariaDB JDBC drivers
2013-09-20 13:37:21 +02:00
Lukas Eder
0ef21afc1d
[ #2534 ] Correctly handle Oracle BLOB and CLOB data types, when fetched through plain SQL
2013-09-20 13:19:17 +02:00
Lukas Eder
f5f70071af
[ #2759 ] DSLContext.fetchCount() fails when argument SELECT statement does not explicitly provide column names in SQL Server
2013-09-20 12:01:52 +02:00
Lukas Eder
dd7292e280
[ #2757 ] Add support for DB2 10.5 - Do not use LONG VARCHAR any more
2013-09-19 17:43:13 +02:00
Lukas Eder
090733dd86
[ #2757 ] Add support for DB2 10.5 - Fixed FieldCondition
2013-09-19 17:33:13 +02:00
Lukas Eder
e80ee1fcd1
[ #2757 ] Add support for DB2 10.5
2013-09-19 17:30:27 +02:00
Lukas Eder
09c3dbfd09
[ #2717 ] DefaultResultSet depends on Java 1.7 / JDBC 4.1
2013-09-18 17:27:07 +02:00
Lukas Eder
210c43f30e
[ #2755 ] Incomplete @Support annotations on OrderedAggregateFunction methods
2013-09-18 15:54:48 +02:00
Lukas Eder
ece38d31c3
Remove parts of the Commercial API during splitting
2013-09-18 15:52:42 +02:00
Lukas Eder
6b60fc1dd3
[ #2753 ] DATE_DIFF() with CURRENT_DATE() returns wrong precision in Oracle
2013-09-18 13:39:52 +02:00
Lukas Eder
15d01bc6f1
Renamed [com] to [pro]
2013-09-18 13:19:23 +02:00
Lukas Eder
87e4b5fdd0
Translate commercial code sections to xxx xx xxxxxx to preserve lines of code
2013-09-18 10:42:39 +02:00
Lukas Eder
c8b9b92a0f
Added OSS / Commercial code splitting marks to jOOQ-test
2013-09-17 17:14:08 +02:00
Lukas Eder
0de43e50a1
Settle for final multi-licensing model: ASL 2.0 / Commercial
2013-09-17 12:01:08 +02:00
Lukas Eder
7e133b8b94
Added OSS / Commercial code splitting marks
2013-09-16 17:57:28 +02:00
Lukas Eder
58811ae3e7
[ #2643 ] Routine.execute(Configuration) should restore the original
...
routine state after execution
2013-09-16 10:13:12 +02:00
Lukas Eder
bd5154e660
[ #2726 ] Add Attachable.detach()
2013-09-16 10:13:08 +02:00
Lukas Eder
bf57f2fd3c
[ #2722 ] Add DSLContext.newRecord(Field<?>...) to support the creation of
...
custom record types
2013-09-16 10:13:07 +02:00
Lukas Eder
f3b6458707
[ #2724 ] The default logger should log the number of affected records, if
...
applicable
2013-09-16 10:13:06 +02:00
Lukas Eder
2832947913
[ #2725 ] Add ExecuteContext.rows() to indicate the number of affected
...
rows in the last executed statement
2013-09-16 10:13:04 +02:00
Lukas Eder
fceabb80ce
[ #2719 ] Change various method(Collection<SortField<?>>) into
...
method(Collection<? extends SortField<?>>)
2013-09-16 10:12:57 +02:00
Lukas Eder
9675da7d2b
New Licensor: Data Geekery GmbH
...
- Reverted previous license change (which was too restrictive)
- Changed license to
- ASL 2.0 + Commercial for use with Open Source databases
- AGPL 3.0 + Commercial for use with commercial databases
2013-09-16 10:12:56 +02:00
Lukas Eder
34c8ff98ed
New Licensor: Data Geekery GmbH
...
- Transferred license from Lukas Eder to Data Geekery GmbH
- Changed license from ASL 2.0 to
- LGPL + Commercial for jOOQ
- AGPL + Commercial for jOOQ-codegen, jOOQ-meta, jOOQ-scala and others
2013-09-16 10:12:45 +02:00
Lukas Eder
a27d6063c4
Update Utils.java
2013-09-16 09:46:24 +02:00
Lukas Eder
04043ee4a5
Reverted removal of "unused" method
2013-09-16 09:43:57 +02:00
lukaseder
ba0ce384e7
Removed unused internal method
2013-09-14 11:52:33 +02:00
lukaseder
d1c0d45f66
[ #2729 ] Emulate IS DISTINCT FROM through IS / IS NOT in SQLite
2013-09-08 11:29:49 +02:00
Lukas Eder
c2c838bf86
[ #2708 ] Wrong SQL rendered for CAST(x AS DECIMAL(y, z)). Precision and
...
scale are lost.
2013-08-23 17:55:43 +02:00
Lukas Eder
f2aa2b0b5f
[ #2492 ] MS Access support will be implemented in a later version than
...
3.2
2013-08-23 17:18:16 +02:00
Lukas Eder
f69c085ea0
Fall through to default datediff implementation for INGRES
2013-08-20 11:46:01 +02:00
Lukas Eder
6461ce5b87
[ #2703 ] SQLDialect.getNameLC() and getNameUC() are not NPE-safe
2013-08-19 18:03:13 +02:00
Lukas Eder
9ec89ff33b
[ #2702 ] Add DataType.defaulted() and DataType.nullable()
2013-08-19 14:46:25 +02:00
Lukas Eder
8d685897be
Fixed Javadoc
2013-08-19 14:37:36 +02:00
Lukas Eder
2eb4fcd8f2
[ #2591 ] Result.intoGroups() and similar methods create key Records with
...
changed=true
2013-08-19 14:31:32 +02:00
Lukas Eder
09eb2de5f0
[ #2628 ] Add missing Javadoc to DefaultDSLContext
2013-08-19 13:52:40 +02:00
lukaseder
7227e1b313
Merge branch 'master' of https://github.com/jOOQ/jOOQ.git
2013-08-18 20:59:37 +02:00
lukaseder
f298c4addc
[ #2701 ] Document the fact that jOOQ sets changed flags to true, even if
...
Record.setValue() sets the value already present in the record
2013-08-18 20:58:31 +02:00
Lukas Eder
66301d6574
[ #2665 ] Added example for INSERT query transformation
...
* Added example integration test for INSERT query transformation
* Enhanced VisitContext to enable patching of QueryParts while
traversing the tree
2013-08-16 14:00:23 +02:00
Lukas Eder
7e49dc6c26
[ #2696 ] Provide default implementation for CustomQueryPart.bind() (for
...
all Custom QueryParts)
2013-08-16 13:03:13 +02:00
Lukas Eder
c17b1ce738
[ #2665 ] Fixed Oracle MERGE regressions
2013-08-15 18:26:17 +02:00
Lukas Eder
55922a354b
[ #2665 ] Added support for the MERGE clause
2013-08-15 17:55:14 +02:00
Lukas Eder
5bf3422c9b
Added some Javadoc
2013-08-15 17:26:26 +02:00
Lukas Eder
1166e2e183
[ #2665 ] Added support for the TRUNCATE statement clause
2013-08-15 15:09:59 +02:00
Lukas Eder
5a492625c9
[ #2665 ] [ #2694 ] [ #2695 ] BindContext traversal is not yet supported
2013-08-15 14:56:03 +02:00
Lukas Eder
01831122ac
[ #2665 ] Added support for the DELETE statement's clauses
2013-08-15 14:55:14 +02:00
Lukas Eder
a3afd79816
[ #2592 ] Qualified names created using DSL.name(String...) should not
...
render null or empty string parts
2013-08-15 13:38:16 +02:00
Lukas Eder
43a9c1215f
[ #2665 ] Fixed TABLE_ALIAS emission by TableImpl, if it is an aliased
...
table
2013-08-15 11:35:54 +02:00
Lukas Eder
446d49d767
[ #2665 ] Added more Javadocs
2013-08-15 11:12:51 +02:00
Lukas Eder
4d9604fb33
Fixed excess rendered whitespace
2013-08-15 10:02:40 +02:00
Lukas Eder
a207faef0a
[ #2689 ] Expose a DAO's internal RecordMapper through DAO.mapper()
2013-08-14 09:13:43 +02:00
Lukas Eder
ef08665ab5
[ #2665 ] Removed DUMMY clause
2013-08-13 11:24:58 +02:00
Lukas Eder
d0a9d76a05
[ #2665 ] Added support for alias and values constructor clause events
2013-08-13 11:18:07 +02:00
Lukas Eder
14fcc1994b
[ #2665 ] Added some more Javadocs to Clause
2013-08-12 17:00:11 +02:00
Lukas Eder
70771db510
[ #2665 ] Added support for INSERT .. ON DUPLICATE KEY UPDATE
2013-08-12 16:53:31 +02:00
Lukas Eder
38f2ef3060
[ #2665 ] Added proper clause events for INSERT .. SELECT
2013-08-12 16:27:19 +02:00
Lukas Eder
094be3cdfb
[ #2665 ] Implement SPI for RenderContext and BindContext listening to
...
allow for custom SQL transformation
* INSERT statement refactoring to correctly implement clause events.
2013-08-12 16:10:53 +02:00
Lukas Eder
86b0fe1e1d
Improved SQL rendering - cleanly separate keyword() and sql() calls.
2013-08-12 14:52:42 +02:00
Lukas Eder
988979c172
[ #2665 ] Implement SPI for RenderContext and BindContext listening to
...
allow for custom SQL transformation
* Added INSERT clause implementation draft.
2013-08-12 11:26:51 +02:00
Lukas Eder
e156ccd529
[ #2665 ] Implement SPI for RenderContext and BindContext listening to
...
allow for custom SQL transformation
* Fixed various DUMMY references.
2013-08-12 08:53:02 +02:00
Lukas Eder
7ef726a570
[ #2665 ] Implement SPI for RenderContext and BindContext listening to
...
allow for custom SQL transformation
* Fixed various DUMMY references.
2013-08-08 18:25:52 +02:00
Lukas Eder
4a279450d5
Merge branch 'master' of git@github.com:jOOQ/jOOQ.git
...
Conflicts:
jOOQ/src/main/java/org/jooq/Clause.java
2013-08-08 17:54:10 +02:00
Lukas Eder
7d7083ada0
[ #2665 ] Implement SPI for RenderContext and BindContext listening to
...
allow for custom SQL transformation
* Added tests for NOT predicate
2013-08-08 17:53:10 +02:00
Lukas Eder
a79b7bfeb0
[ #2665 ] Implement SPI for RenderContext and BindContext listening to
...
allow for custom SQL transformation
* Added tests for IN predicate
* Added tests for EXISTS predicate
2013-08-08 17:47:46 +02:00
Lukas Eder
1a5d8e13c3
[ #2665 ] Implement SPI for RenderContext and BindContext listening to
...
allow for custom SQL transformation
* Fixed failing unit test for CONDITION_BETWEEN_SYMMETRIC
* Changed clauses() method to accept Context argument
2013-08-08 17:23:13 +02:00
Lukas Eder
dd2040093a
[ #2665 ] Implement SPI for RenderContext and BindContext listening to
...
allow for custom SQL transformation
* Added unit tests for CONDITION clauses
* Added failing unit test for CONDITION_BETWEEN_SYMMETRIC
2013-08-08 17:10:00 +02:00
Lukas Eder
c8f2ac0b14
[ #2665 ] Implement SPI for RenderContext and BindContext listening to
...
allow for custom SQL transformation
* Fixed semantics of UPDATE clauses
* Added an UPDATE WHERE test case
2013-08-08 16:46:17 +02:00
Lukas Eder
6823c070e2
[ #2665 ] Implement SPI for RenderContext and BindContext listening to
...
allow for custom SQL transformation
* Added integration test for query manipulation
2013-08-05 17:04:42 +02:00
Lukas Eder
5b4cf0924c
[ #2010 ] Added support for DELETE event. Slightly changed STORE event
...
semantics
2013-08-05 16:06:42 +02:00
Lukas Eder
1595f09690
[ #2010 ] Implemented INSERT, UPDATE, STORE lifecycle events
2013-08-05 15:53:37 +02:00
Lukas Eder
6f4c232de9
[ #2010 ] Add listener API to Record / UpdatableRecord
...
* Fixed bad RecordContext content
2013-08-05 15:39:09 +02:00
Lukas Eder
290601afce
[ #2010 ] Add listener API to Record / UpdatableRecord
...
* Added support for REFRESH event
2013-08-05 15:30:10 +02:00
Lukas Eder
ee9f1fed76
[ #2010 ] Add listener API to Record / UpdatableRecord
...
* Implemented record loading lifecycle events
2013-08-05 15:00:55 +02:00
Lukas Eder
8cb6475d42
Fixed Javadoc
2013-08-05 13:40:34 +02:00
Lukas Eder
21df9be71f
Removed unused method
2013-08-05 13:30:32 +02:00
Lukas Eder
6dcfca391b
[ #2665 ] Add a DefaultVisitListener implementation for convenience
2013-08-05 12:05:37 +02:00
Lukas Eder
9a4b4a00ff
[ #2010 ] Add a DefaultRecordListener implementation for convenience
2013-08-05 12:04:38 +02:00
Lukas Eder
1e5e4f5bf0
[ #2665 ] [ #2667 ] [ #2676 ] First API and implementation draft
...
* [#2665 ] Implement SPI for RenderContext and BindContext listening to
allow for custom SQL transformation
* [#2667 ] Add org.jooq.Clause and let org.jooq.Context listen on
start(Clause) and end(Clause) events - First API and implementation
draft
* [#2676 ] Add QueryPartInternal.clause() to allow for QueryParts to
return Clause information to org.jooq.Context
2013-08-02 19:40:15 +02:00
Lukas Eder
76559c9cb8
Fixed Javadoc
2013-08-01 16:44:13 +02:00
Lukas Eder
33361455c5
[ #2666 ] Pull up RenderContext.sql(QueryPart) and
...
BindContext.bind(QueryPart) to Context.visit(QueryPart)
2013-08-01 15:32:25 +02:00
Lukas Eder
a716f33675
[ #2662 ] Deprecate also implementation method
2013-07-31 16:50:56 +02:00
Lukas Eder
867dc04594
[ #2662 ] Deprecate the internal method DSLContext.bind(QueryPart,
...
PreparedStatement)
2013-07-31 16:49:52 +02:00
Lukas Eder
637488a5ec
[ #2010 ] Add listener API to Record / UpdatableRecord - First API draft
2013-07-31 11:44:43 +02:00
Lukas Eder
baa109d32e
Fixed Javadoc: Removed reference to obsolete term "main unique key"
2013-07-31 11:44:09 +02:00
Lukas Eder
bb496f662b
Removed confusing Javadoc message
2013-07-31 11:03:20 +02:00
Lukas Eder
83d9fe33a9
[ #2626 ] Hide current Template implementation from public. This may not
...
make it into jOOQ 3.2
2013-07-30 16:58:47 +02:00
Lukas Eder
a768462811
Javadoc fix
2013-07-11 00:32:48 +02:00
Lukas Eder
1798c7afe1
[ #2626 ] Add org.jooq.Template for custom SQL templating
...
And also:
* [#2630 ] Add DSL.queryPart(String, Object...) and similar methods to
create simple plain SQL query parts
2013-07-10 16:39:28 +02:00
Lukas Eder
53258e02d1
[ #2542 ] Add a Keyword type and DSL.keyword(String) to construct it
2013-07-04 12:37:21 +02:00
Lukas Eder
5787a77808
Javadoc fix
2013-07-04 12:18:56 +02:00
Lukas Eder
690a17277d
[ #1079 ] Add support for Oracle's FLASHBACK QUERY clause
2013-07-04 12:16:32 +02:00
Lukas Eder
80a107ca99
Reorganised methods in org.jooq.Table
2013-07-04 10:52:46 +02:00
Lukas Eder
604a73b7b8
[ #2606 ] Distinguish ORACLE10G, ORACLE11G, ORACLE12C SQLDialects within
...
the ORACLE family
2013-07-04 10:49:07 +02:00
Lukas Eder
297db8be93
[ #2581 ] Deprecate fetchLater() and FutureResult<R>
2013-07-04 09:39:10 +02:00
Lukas Eder
723c787ca9
[ #2492 ] Fixed MS Access identifier quoting
2013-07-03 16:52:01 +02:00
Lukas Eder
419c3e21a3
Fixed formatting
2013-07-03 16:14:43 +02:00
Lukas Eder
088160e24d
[ #2593 ] Add Meta.getPrimaryKeys()
2013-07-02 21:59:41 +02:00
Lukas Eder
e25b92d711
[ #2492 ] Add support for the MS Access database - Initial setup
2013-07-02 21:26:47 +02:00
Lukas Eder
8d45dc035a
[ #2586 ] Bad SQL dialect referenced from CUBRID's package-info.java
2013-07-02 20:54:19 +02:00
Lukas Eder
c59bfba377
[ #2586 ] Bad SQL dialect referenced from ASE's package-info.java
2013-07-02 20:53:33 +02:00
Lukas Eder
2932e5855a
Javadoc fixes
2013-07-02 19:47:41 +02:00
Lukas Eder
9c2e8d4373
[ #1903 ] Duplicate Query construction API between DSLContext and DSL
2013-07-02 19:47:23 +02:00
Lukas Eder
c5a1114ccd
Minor Javadoc improvements
2013-07-02 19:10:19 +02:00
Lukas Eder
66c71583f3
Release 3.2.0-SNAPSHOT
2013-07-02 10:52:33 +02:00
Lukas Eder
4fd408c5e2
[ #2464 ] Fixed this also for the instance table model
2013-06-30 15:54:03 +02:00
Lukas Eder
9dd5793e47
[ #963 ] Fixed SQL Server's TINYINT data type
2013-06-30 14:01:35 +02:00
Lukas Eder
3c09edf60a
[ #963 ] Fixed SQL Server's TINYINT data type
2013-06-30 13:53:28 +02:00
Lukas Eder
f3df95de3e
[ #552 ] Fixed DefaultDataType's type lookup for casting
2013-06-30 13:53:08 +02:00
Lukas Eder
5997d071b2
[ #2470 ] Improved Javadoc to explain store(), insert(), and update()
...
behaviour with respect to changed() flags
2013-06-29 18:52:25 +02:00
Lukas Eder
25f03028a5
[ #2569 ] Error when rendering SQL Server procedures with
...
Settings.renderSchema == false
2013-06-29 18:19:44 +02:00
Lukas Eder
982e3c3107
[ #2311 ] [ #2571 ] Add Configuration.recordMapperProvider() to override
...
jOOQ's internal default ReflectionMapper
* [#2311 ] Add Configuration.recordMapperProvider() to override jOOQ's
internal default ReflectionMapper
* [#2571 ] Add a new RecordType<R extends Record> type to make up for the
missing recursive type definition on Record
2013-06-29 18:02:17 +02:00
Lukas Eder
0f725a9f14
Fixed some warnings
2013-06-29 16:18:48 +02:00
Lukas Eder
fc54860099
[ #2058 ] Add support for the MariaDB database
2013-06-28 13:34:35 +02:00
Lukas Eder
3f649f9de1
[ #2562 ] Bad SQLDialect reference in Oracle and MySQL package-info.java
2013-06-28 12:31:59 +02:00
Lukas Eder
bcc3bf30c3
[ #2562 ] Bad SQLDialect reference in MySQL package-info.java
2013-06-28 12:31:03 +02:00
Lukas Eder
4605c9a476
[ #2311 ] Added an API draft for the RecordMapperProvider
2013-06-28 12:13:55 +02:00
Lukas Eder
123c557fbd
Reordered methods in Configuration
2013-06-23 17:27:34 +02:00
Lukas Eder
591afd7fcb
[ #2135 ] Postgres ENUM data type isn't supported correctly, if the
...
ENUM needs full qualification
2013-06-23 13:50:07 +02:00
Lukas Eder
ca19cb98e9
[ #2528 ] Combining renderFormatted with inlined bind variables will
...
change bind values when they contain newlines
2013-06-22 11:41:32 +02:00
Lukas Eder
1fe63caa1e
[ #2532 ] Let batch executions debug-log executed queries
2013-06-22 10:11:26 +02:00
Lukas Eder
c7a068def2
[ #2535 ] Convert.convert(Object, Class) should support simple casting
2013-06-22 09:27:36 +02:00
Lukas Eder
b8371015f7
[ #1952 ] Add support for SQL Server OPTION (...) query hints
2013-06-21 22:55:40 +02:00
Lukas Eder
c1387f5779
Don't publish new annotations (yet)
2013-06-21 20:40:14 +02:00
Lukas Eder
4472a06174
[ #2527 ] Add org.jooq.tools.jdbc.DefaultResultSet to provide a
...
default ResultSet delegation implementation
2013-06-15 10:32:46 +02:00
Lukas Eder
32913c54ec
Javadoc fixes
2013-06-15 10:24:33 +02:00
Lukas Eder
e718d81204
[ #1885 ] [ #2523 ] Statement.close() may be called upon previously
...
closed statements
* [#1885 ] Add test to count opening and closing of Statements and
ResultSets by jOOQ
* [#2523 ] Statement.close() may be called upon previously closed
statements
2013-06-14 18:18:09 +02:00
Lukas Eder
4f62414b2a
Removed unused rsIndex property
2013-06-14 17:39:45 +02:00
Lukas Eder
25a7f794b3
[ #2519 ] Add Record.from(Object, Field<?>...) from(Object,
...
String...), from(Object, int...) to copy only a select set of values
from a POJO, Array, Map
2013-06-14 11:16:13 +02:00
Lukas Eder
729a933cf0
[ #2521 ] Add Record.fields(Field<?>...), Record.fields(String...),
...
Record.fields(int...) to extract Field<?>[] from a Record
2013-06-14 11:03:00 +02:00
Lukas Eder
5d4b335573
[ #2521 ] Add Row.fields(Field<?>...), Row.fields(String...),
...
Row.fields(int...) to extract Field<?>[] from a row
2013-06-14 10:58:01 +02:00
Lukas Eder
7c7504e9ff
Fixed Javadoc
2013-06-14 10:17:31 +02:00
Lukas Eder
f643fd8293
[ #2515 ] Compilation errors when generating code for artefacts that
...
differ only by a trailing underscore(s): A and A_ and A__
2013-06-10 21:43:21 +02:00
Lukas Eder
4b770fae50
[ #2506 ] SQLDialectNotSupportedException on DSL.inline(T, Class),
...
when jOOQ's internals are not (yet) properly initialised
2013-06-09 16:01:15 +02:00
Lukas Eder
55c906a346
Release 3.1.0-SNAPSHOT
2013-06-09 12:50:37 +02:00
Lukas Eder
ce7a71b346
[ #1846 ] [ #2265 ] Reverted changes for 3.1
2013-06-05 09:42:26 +02:00
Lukas Eder
6f6dad4bf3
[ #2499 ] Add JDBCUtils.safeClose(Connection)
2013-06-02 19:04:23 +02:00
Lukas Eder
ea9cead111
Fixed Javadoc
2013-06-02 19:03:31 +02:00
Lukas Eder
ec1b840cb5
[ #552 ] [ #2423 ]
...
- Add SQLDialect.family() to group several SQLDialect versions of
the same RDBMS
- Add support for SQL Server 2012 native OFFSET .. FETCH clause
2013-06-01 19:19:13 +02:00
Lukas Eder
1ba458e18e
[ #2494 ] Possible null pointer passed to ConnectionProvider.release()
2013-05-31 15:07:59 +02:00
Lukas Eder
3da2486e10
Remove tweaking of auto commit in AbstractRoutine
2013-05-31 14:40:28 +02:00
Lukas Eder
45f1a65729
[ #2496 ] Added missing @Support annotations
2013-05-31 13:36:36 +02:00
Lukas Eder
1c7cbc1089
[ #2496 ] Add support for SQL Server 2012 sequences
2013-05-31 13:31:30 +02:00
Lukas Eder
7c927ad2a3
[ #2022 ] Add support for SQL Server 2012 windowing clauses in window
...
functions
2013-05-31 12:10:08 +02:00
Lukas Eder
de871db819
[ #2485 ] Allow for treating Field<Boolean> as Condition
2013-05-25 12:16:40 +02:00
Lukas Eder
1086f28c37
[ #2477 ] MySQL's unsigned types cannot be used in other dialects
2013-05-24 17:19:37 +02:00
Lukas Eder
c5d74cabc4
[ #2477 ] Some databases cannot bind strings as numbers (e.g. Postgres)
2013-05-24 15:32:42 +02:00
Lukas Eder
824f5d4eba
[ #963 ] [ #2477 ] Map SQL Server TINYINT to UByte
2013-05-24 15:03:55 +02:00
Lukas Eder
ae12b6eec7
[ #965 ] [ #2477 ] Add support for Sybase SQL Anywhere unsigned number types
2013-05-24 11:33:01 +02:00
Lukas Eder
a8f379f698
[ #2477 ] Unsigned types fail at run-time under H2 dialect - Fixed this
...
for H2
2013-05-24 10:31:58 +02:00
Lukas Eder
9512ff8a68
[ #706 ] [ #2324 ] Reverting workarounds for Postgres JDBC driver's
...
inability to fetch a ref cursor if connection.getAutoCommit() == true
2013-05-22 21:46:18 +02:00
Lukas Eder
9d9fa20b3b
[ #2464 ] Skip tests for some databases
2013-05-22 21:26:20 +02:00
Lukas Eder
d1458dfea4
[ #2464 ] Bad SQL rendered from DELETE statements with aliased tables
2013-05-22 21:12:05 +02:00
Lukas Eder
c958209a9d
[ #2466 ] Add a public DefaultDSLContext implementation that can be used
...
by users to override the default behaviour
2013-05-22 20:22:26 +02:00
Lukas Eder
f53ecbcd67
[ #1737 ] First annotation draft
2013-05-22 20:15:57 +02:00
Lukas Eder
778dcf823e
[ #2469 ] NullPointerException in AbstractResultQuery.fetchOneArray()
2013-05-20 20:42:00 +02:00
Lukas Eder
f0cc331393
Fixed whitespace
2013-05-20 20:38:59 +02:00
Lukas Eder
bd8a96714d
Merge branch 'master' of git@github.com:jOOQ/jOOQ.git
2013-05-20 20:34:39 +02:00
보롱킴
fc99bb2fb6
fix AbstractResultQuery.fetchOneMap() NPE bug
2013-05-20 00:52:07 +09:00
Lukas Eder
f1754f5ffa
[ #2468 ] API bug: MergeNotMatchedSetStep.set(Field, Select) returns
...
MergeMatchedSetMoreStep instead of MergeNotMatchedSetMoreStep
2013-05-18 16:38:27 +02:00
Lukas Eder
163a60053f
Added missing @Support annotations to DeleteConditionStep
2013-05-18 11:25:21 +02:00
Lukas Eder
013fafbeae
[ #1737 ] Annotate API with grammar information and generate BNF
...
pseudo-notation for the manual - Added annotations
2013-05-17 19:41:35 +02:00
Lukas Eder
8718afb609
Fixed formatting
2013-05-17 09:34:03 +02:00
Lukas Eder
a43082d1aa
[ #2265 ] Removed delete again, for now. This seems to be very complex to
...
get right.
2013-05-12 10:34:46 +02:00
Lukas Eder
dce7021ca6
[ #2265 ] Logging was moved to CursorResultSet
2013-05-11 12:47:15 +02:00
Lukas Eder
b729a58a07
[ #2265 ] Added prototype implementation for Record.delete()
2013-05-11 12:45:36 +02:00
Lukas Eder
9946b236e7
[ #2265 ] Added logging to CursorImpl.CursorResultSet.updateXXX() methods
2013-05-11 12:44:38 +02:00
Lukas Eder
e33b56a863
[ #2265 ] Let UpdatableRecord.refresh() use ResultSet, if available
2013-05-11 11:14:46 +02:00
Lukas Eder
7032af7c79
Refactored some reusable code
2013-05-11 10:30:46 +02:00
Lukas Eder
2df2a478a6
[ #2265 ] Added Record.refresh(Field...) and more test cases
2013-05-11 10:23:54 +02:00
Lukas Eder
712a0f2f62
[ #2265 ] Add Result.store(), delete(), refresh(), to allow for
...
batch-synchronisation of Records contained in a Result - Prototype
implementation
2013-05-11 10:11:47 +02:00
Lukas Eder
342c769309
Minor optimisation: Avoid &= and |= where possible
2013-05-11 09:46:46 +02:00
Lukas Eder
433012e48b
[ #1846 ] Added more integration tests related to Record.changed() and
...
Record.original()
2013-05-10 18:16:43 +02:00
Lukas Eder
c7b3782a69
[ #1846 ] Added more test cases
2013-05-10 17:59:23 +02:00
Lukas Eder
2303ec45c6
[ #2459 ] Add Record.resultSet() and Record.close() to handle the
...
referenced ResultSet's lifecycle
2013-05-10 17:58:49 +02:00
Lukas Eder
fdf8394796
[ #2458 ] Add Cursor.closesAfterFetch() to indicate whether a Cursor
...
auto-closes the underlying ResultSet after it has fetched all records
2013-05-10 17:56:54 +02:00
Lukas Eder
8479ec8b17
[ #1846 ] Added more Javadoc
2013-05-10 17:27:11 +02:00
Lukas Eder
cfce76a651
[ #1846 ] Add ResultQuery.keepResultSet() to indicate whether to keep
...
references to a potentially updatable JDBC ResultSet from Result
2013-05-10 16:57:18 +02:00
Lukas Eder
a580bebbfe
[ #2457 ] Add Result.resultSet() and Result.close() to handle the
...
referenced ResultSet's lifecycle
2013-05-10 16:51:40 +02:00
Lukas Eder
af415ba0a0
Parameter rename
2013-05-10 16:47:15 +02:00
Lukas Eder
7644056e54
[ #2434 ] Add Field.compare(Comparator, Select) and
...
Field.compare(Comparator, QuantifiedSelect) to allow for more dynamic
SQL
2013-05-10 13:50:08 +02:00
Lukas Eder
0ab5128d62
[ #2434 ] Merged the internal SubqueryComparator with the public
...
Comparator. Added a couple of flags indicating whether a Comparator can
be used with subselects / quantifiers
2013-05-10 13:38:38 +02:00
Lukas Eder
503b986f11
[ #2355 ] Add support for Postgres / HSQLDB's TRUNCATE [...] RESTART /
...
CONTINUE IDENTITY
2013-05-10 12:49:51 +02:00
Lukas Eder
1665723473
[ #2355 ] [ #2357 ] Add support for Postgres' TRUNCATE [...] CASCADE
...
statement
2013-05-10 12:29:50 +02:00
Lukas Eder
dcd2390d5c
Fixed a regression introduced by a recent change
2013-05-09 16:12:06 +02:00
Lukas Eder
298cb42d65
[ #2443 ] AbstractStoreQuery.execute() doesn't correctly operate on the
...
Configuration's ConnectionProvider in SQLite IDENTITY fetching queries
2013-05-09 15:40:31 +02:00
Lukas Eder
2162af594e
[ #2450 ] Cannot set precision on TINYINT, SMALLINT, INT, BIGINT data
...
types - Restored some logic from previous commit
2013-05-09 15:35:19 +02:00
Lukas Eder
94238f0157
[ #2450 ] Cannot set precision on TINYINT, SMALLINT, INT, BIGINT data
...
types
2013-05-09 14:58:27 +02:00
Lukas Eder
6f490e8f92
[ #2449 ] JDBCDatabase doesn't use DataType.length(), precision(), and
...
scale()
2013-05-09 14:58:06 +02:00
Lukas Eder
d3dba89e7d
[ #2448 ] DSLContext.meta() returns Table objects for Oracle SYNONYMS,
...
without providing columns
2013-05-09 14:24:34 +02:00
Lukas Eder
cadd425431
[ #2448 ] DSLContext.meta() returns Table objects for Oracle SYNONYMS,
...
without providing columns
2013-05-09 14:20:23 +02:00
Lukas Eder
ecc31b6648
[ #2447 ] Tables collected through DSLContext.meta() return duplicate
...
columns if multi-schema environments contain identical tables
2013-05-09 14:06:01 +02:00
Lukas Eder
8e939d8bcc
[ #2310 ] Add DSL.using(Connection) and DSL.using(Connection,
...
Settings) which auto-detect the SQLDialect from the jdbc url
2013-05-09 12:43:23 +02:00
Lukas Eder
a1f558a69b
[ #2446 ] Add JDBCUtils.dialect(Connection) to "guess" the jOOQ SQLDialect
...
from a JDBC Connection
2013-05-09 12:34:07 +02:00
Lukas Eder
ce52beb115
[ #2441 ] Add DSL.cast(Field<?>, XXX) for increased API consistency
2013-05-05 12:47:16 +02:00
Lukas Eder
de3458f0d5
[ #1373 ] Add <T> Field<T> Factory.coerce(Field<?>, DataType<T>) and
...
similar methods, to coerce a field to a given data type (as opposed to
casting it)
2013-05-05 12:43:46 +02:00
Lukas Eder
d5439b468a
[ #2440 ] Expose the DataSource contained in the
...
DataSourceConnectionProvider
2013-05-04 11:19:19 +02:00
Lukas Eder
5dc9d7c9eb
[ #2235 ] Add Result<?> DSLContext.fetchFromTXT() to allow for loading
...
results that were exported using Result.format()
2013-05-03 16:59:44 +02:00