Commit Graph

529 Commits

Author SHA1 Message Date
Lukas Eder
28b06d7301 Release 2.5.0-SNAPSHOT 2012-07-11 22:24:09 +02:00
Lukas Eder
c95aa4cb7b [#1552] Generate fetchBy[ColumnName] methods in generated DAO classes 2012-07-11 22:17:52 +02:00
Lukas Eder
5e6d79dea0 [#1553] Add some Javadoc to document the difference between using a
Factory with a Connection or with a DataSource
2012-07-11 21:32:39 +02:00
Lukas Eder
b23b21c82e [#1544] Remove AttachableInternal.getAttachables() - Throw an
UnsupportedOperationException in AbstractQueryPart.getDialect()
2012-07-11 21:07:40 +02:00
Lukas Eder
55f6c2c53b [#1542] Simulate the H2 MERGE syntax in other dialects supporting the
SQL standard MERGE statement - GitHub Issue #18
2012-07-06 22:18:08 +02:00
Lukas Eder
dfdbc9536c [#1541] Add support for the H2 MERGE syntax - GitHub Issue #18 2012-07-06 21:02:11 +02:00
Lukas Eder
633d1a43a9 [#1537] Factory.batchStore() renders bad SQL for Postgres. The RETURNING
clause is not allowed in batch INSERTs
2012-07-06 19:18:08 +02:00
Lukas Eder
83bf96a04f Configuration.java contains "import org.hamcrest.Factory" - GitHub Issue
#26
2012-07-06 16:01:21 +02:00
Lukas Eder
caae7fd953 [#1536] Add documentation to the FOR UPDATE OF clause, indicating that
DB2 may have stricter requirements regarding updatability of fields
2012-07-06 15:21:47 +02:00
Lukas Eder
7728053c65 [#1141] Add Result.intoResultSet() to wrap a Result in a JDBC ResultSet 2012-07-06 14:09:22 +02:00
Lukas Eder
f89c193529 Added section comment anchors: XXX 2012-07-06 14:07:49 +02:00
Lukas Eder
1700d832b7 [#1522] fetch().into(Table) doesn't initialise records correctly, such
that subsequent calls to store() will execute an INSERT, rather than an
UPDATE
2012-07-06 13:27:25 +02:00
Lukas Eder
535a28f9fd [#1529] Factory.batchStore() logs all single statements to DEBUG output.
Find a more accurate log output
2012-07-06 11:52:18 +02:00
Lukas Eder
f4cd5d4528 [#1532] Clarify the lifecycle of Configuration.data in the Javadoc 2012-07-05 19:01:17 +02:00
Lukas Eder
73db018cec [#1521] Expose Connection methods, such as commit(), rollback() and
similar transaction-related methods in Factory - added some DEBUG
logging
2012-07-02 22:21:50 +02:00
Lukas Eder
9eea63db80 [#1253] Avoid JDBC escape syntax for date/time literals - Fixed Unit
tests
2012-07-02 21:14:30 +02:00
Lukas Eder
6f5ac2bb9b [#1141] Add Result.intoResultSet() to wrap a Result in a JDBC ResultSet 2012-07-01 16:32:20 +02:00
Lukas Eder
006ec665aa [#1524] Simulate ROW_NUMBER() OVER() in HSQLDB using ROWNUM() 2012-07-01 11:01:17 +02:00
Lukas Eder
577ddd4a60 [#1523] Support ROW_NUMBER() OVER() for the latest version of Derby and
H2, which support it
2012-07-01 10:49:38 +02:00
Lukas Eder
71588514ff [#1253] Avoid JDBC escape syntax for date/time literals - fix for Sybase
ASE
2012-07-01 10:34:27 +02:00
Lukas Eder
2ba8e8acaa [#1498] jOOQ does not compile using JDK 7 / JDBC 4.1. GitHub Issue #24 -
Moved JDBC 4.1 artefacts to a public org.jooq.tools.jdbc package, for
reuse in jOOQ Console and other modules
2012-07-01 10:16:43 +02:00
Lukas Eder
72715a1c7c [#1253] Avoid JDBC escape syntax for date/time literals 2012-06-30 12:21:07 +02:00
Lukas Eder
206ec3cde4 Fixed bad refactoring change 2012-06-30 10:13:57 +02:00
Lukas Eder
8d277816c5 [#1521] Expose Connection methods, such as commit(), rollback() and
similar transaction-related methods in Factory
2012-06-30 10:06:17 +02:00
Lukas Eder
f969ebd565 [#1515] Splitting of large NOT IN conditions is wrong. The parts should
be connected with AND, not with OR
2012-06-29 19:58:20 +02:00
Lukas Eder
71bd87f33d [#1498] jOOQ does not compile using JDK 7 / JDBC 4.1. GitHub Issue #24 2012-06-29 16:45:55 +02:00
Lukas Eder
a128acc898 Merge pull request #25 from jjYBdx4IL/master
please pull this
2012-06-29 07:26:22 -07:00
Lukas Eder
11258bd9b6 [#1505] Bad exception message when ON DUPLICATE KEY IGNORE cannot be
simulated
2012-06-29 15:03:26 +02:00
Lukas Eder
cd1e228444 [#1504] Document behaviour of fetch() and fetchOne() in case jOOQ cannot
fetch actual records
2012-06-29 14:56:49 +02:00
Lukas Eder
cad539b372 [#1501] Add support for conversion of String to java.sql.{Date, Time,
Timestamp}. GitHub issue #22
2012-06-28 13:15:53 +02:00
Lukas Eder
24c0f9f0d0 Merge pull request #22 from zefixlluja/master
Conversion from String to java.sql.Date
2012-06-28 03:59:35 -07:00
Lukas Eder
7ec3639419 [#1493] Bad syntax for SELECT /*+hint*/ DISTINCT ... in Oracle 2012-06-28 11:51:15 +02:00
Mark
ae51b0f652 fix compiler errors related to not implemented abstract methods -- added methods throwing UnsupportedMethodExceptions instead 2012-06-27 13:08:27 +02:00
Jochen Munz
d54808cf56 Conversion from String to java.sql.Date
* Conversion is attempted if from=String and to=java.sql.Date
 * Date format is expected to be in YYYY-MM-DD
 * Throws exception if date is invalid
2012-06-21 10:03:07 +02:00
Lukas Eder
31a87578f5 [#1483] Inefficient cloning of default settings using JAXB unmarshalling
leads to non-negligible overall overhead. Use serialisation instead
(short of a useful XJC clone plugin)
2012-06-03 15:47:08 +02:00
Lukas Eder
430c75f0c2 [#1470] Support interface types in ResultQuery.fetchInto(Class),
Result.into(Class), and Record.into(Class) methods, returning a proxy
2012-06-01 19:32:50 +02:00
Lukas Eder
129488582a [#1471] Upgrade internal jOOR dependency to jOOR 0.9.4 2012-06-01 19:00:00 +02:00
Lukas Eder
7e01cbaffa Slight performance improvement 2012-05-28 11:58:33 +02:00
Lukas Eder
f16f4d8f2d [#1461] Exception when rendering of {fn datetimeadd(...)} for HSQLDB and
Derby
2012-05-28 11:45:34 +02:00
Lukas Eder
f65f05e8d5 [#1460] Table.getReferencesTo(Table) doesn't work correctly for aliased
tables - Canonical implementation
2012-05-28 11:24:38 +02:00
Lukas Eder
61a796c9a6 [#1404] Document the lifecycle of an ExecuteListener in the Javadoc 2012-05-25 14:01:28 +02:00
Lukas Eder
0d5850bc53 Replaced internal references to the deprecated Factory.literal() by
Factory.inline()
2012-05-25 10:14:18 +02:00
Lukas Eder
5c6638bd5c [#1020] Improve Oracle's LIMIT .. OFFSET clause simulation. GitHub Issue
#16 - Fixed generated syntax error and bad variable binding
2012-05-25 10:02:14 +02:00
Lukas Eder
38592d92c8 Merge pull request #16 from stanislas/oracle-limit-offset
alternative oracle limit implementation.
2012-05-24 23:57:20 -07:00
Lukas Eder
e1d83c3dfd [#1448] Handle String to Enum conversion (when Java Enums are stored as
Strings in the database) - GitHub issue #15
2012-05-24 18:09:42 +02:00
Victor Pirat
01c1beaa55 Handle String to Enum conversion (when Java Enums are stored as Strings in the database). 2012-05-24 09:41:29 +02:00
Lukas Eder
aefd24c007 [#1438] Add Result<Record> Factory.fetchFromCSV(String) 2012-05-22 21:31:24 +02:00
Lukas Eder
e37c5e56e2 [#1446] Converting arbitrary strings to Number / Date should return
null, instead of throwing an exception
2012-05-22 21:27:45 +02:00
Lukas Eder
81d44b7b2a [#1441] Performance issue with AbstractDataType.convert(Object). Avoid
conversions when they're obviously unneeded
2012-05-22 19:54:16 +02:00
Lukas Eder
dca8c44162 [#1432] Removed redundant SQLClause, merged
functionality into SQLField
2012-05-20 23:19:59 +02:00