Commit Graph

499 Commits

Author SHA1 Message Date
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
Lukas Eder
6e3e800b68 [#1432] Add Factory.fetch(String, QueryPart...) and
Factory.execute(String, QueryPart...) and similar methods to support
arbitrary QueryParts in plain SQL
[#1437] Error in Javadoc of FactoryOperations.fetchOne(). This method
may return null
2012-05-20 23:16:33 +02:00
Lukas Eder
6b5c293d0c [#1431] Add org.jooq.Name Factory.name(String) to contruct QueryParts
that are escaped according to Settings.getRenderNameStyle()
2012-05-20 21:51:09 +02:00
Lukas Eder
e1d1cb6765 Improved Javadoc on some field() and fieldByName() methods 2012-05-20 17:27:32 +02:00
Lukas Eder
b912e4f596 Fixed Javadoc 2012-05-19 14:21:28 +02:00
Lukas Eder
6f59f99632 Fixed Javadoc 2012-05-19 14:09:06 +02:00
Lukas Eder
b074cea5e8 [#1280] Generate DAO classes and interfaces for POJOs - some fixes
[#1428] Add DataType.convert(Object...) and
DataType.convert(Collection<?>) for convenience
2012-05-19 11:58:39 +02:00
Lukas Eder
2254444dad [#1429] Change Convert.convert(List, XXX) to accept Collection instead
of List
2012-05-19 11:30:23 +02:00
Lukas Eder
aade4d7026 [#1280] Generate DAO classes and interfaces for POJOs
[#1427] Add Factory.batchStore(Collection<? extends UpdatableRecord<?>>)
for convenience
2012-05-18 18:37:18 +02:00
Lukas Eder
6b095aac37 [#1424] Add Factory(DataSource) and similar constructors - fixed
regression
2012-05-16 00:25:00 +02:00
Lukas Eder
fee7cbc344 Fixed some deprecation warnings 2012-05-15 23:12:33 +02:00
Lukas Eder
0940d0f45c Improved Javadoc on fieldByName() 2012-05-15 21:38:15 +02:00
Lukas Eder
b46db7c8c5 [#1423] Add Field.likeIgnoreCase() to support Postgres' ILIKE operator 2012-05-13 21:09:26 +02:00
Lukas Eder
6eb56640df [#1411] Add support for Postgres "any" data type (with quotes!). This
seems to map well to java.lang.Object
2012-05-11 11:15:28 +02:00
Lukas Eder
1fac2d30ec [#1408] Relax bounds of <R> in Factory.truncate() to Record, instead of
TableRecord
2012-05-11 11:09:15 +02:00
Lukas Eder
767574f4c2 Release 2.4.0-SNAPSHOT 2012-05-11 11:07:25 +02:00
Lukas Eder
843b82cccf Release 2.3.1 2012-05-11 10:04:13 +02:00
Lukas Eder
c1ae59160b [#1334] Fix inaccurate simulation of TRUNC(number, decimals) for Derby 2012-05-11 09:51:19 +02:00
Lukas Eder
e53a757cb4 [#1403] Documentation bug: ctx.statement() can be replaced in
executeStart(). This is not documented
2012-05-10 22:12:35 +02:00
Lukas Eder
aeb8765d1e Release 2.3.1-SNAPSHOT 2012-05-09 22:45:54 +02:00
Lukas Eder
fd9457a720 Release 2.3.0 - Fixed NPE in new function 2012-05-06 20:19:41 +02:00
Lukas Eder
ad8d4a159c [#989] INSERT and UPDATE statements always render non-qualified, escaped
field names. This may cause trouble when using plain SQL fields
[#1390] Add RenderContext.qualify() to indicate whether QueryParts
should render qualified versions of themselves or not
2012-05-01 23:31:16 +02:00
Lukas Eder
63d038b6c6 [#1109] Standalone TABLE or VARRAY types are not correctly initialised
before referencing tables load them
2012-05-01 22:41:19 +02:00
Lukas Eder
b71d7b47b9 [#470] Add support for the Oracle TRUNC function for datetime arithmetic 2012-05-01 22:14:10 +02:00
Lukas Eder
97e8fbc9f0 [#910] Add ExecuteListener extension to allow for overriding exception
translator to handle vendor-specific error codes
2012-05-01 14:39:40 +02:00
Lukas Eder
0145a12b1c [#1295] Add support for MySQL's INSERT IGNORE clause 2012-05-01 10:10:34 +02:00