Commit Graph

478 Commits

Author SHA1 Message Date
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
Lukas Eder
9c435f3ff8 [#1296] Simulate the FOR UPDATE clause for SQL Server, CUBRID, using
JDBC's ResultSet.CONCUR_UPDATABLE
2012-04-30 23:56:30 +02:00
Lukas Eder
8c6381ff1f [#1352] Allow for creating syntax-error and SQL-injection safe
qualifiers for org.jooq.Field and org.jooq.Table
2012-04-29 14:11:26 +02:00
Lukas Eder
ee14afc58e [#1379] Upgrade internal jOOU dependency to jOOU 0.9.1 2012-04-29 13:16:17 +02:00
Lukas Eder
7150b098bc [#1378] Upgrade internal jOOR dependency to jOOR 0.9.3 2012-04-29 12:33:18 +02:00
Lukas Eder
d09b715976 Added "EXPERIMENTAL" disclaimer to FactoryProxy 2012-04-29 12:09:09 +02:00
Lukas Eder
db2b2ac946 [#1376] Oracle UDTs in REF CURSORs are not deserialised correctly from
procedure OUT parameters
[#1377] Oracle UDTs are not deserialised correctly when the same UDT
name is present in multiple schemata
2012-04-29 11:26:57 +02:00
Lukas Eder
bb12708eb9 [#1371] Missing conversion when using unsafe Field<?> types in BATCH
statements
2012-04-28 13:22:07 +02:00
Lukas Eder
f842a60b73 [#1361] Add Factory.batchStore(TableRecord<?>...), to allow for batch
UPDATE/INSERTs of many records
[#1366] Let org.jooq.Batch extend Serializable
[#1367] Make configured ExecuteListeners default constructors accessible
[#1368] Promote AbstractQuery.isExecutable() to the public API
2012-04-27 16:20:44 +02:00
Lukas Eder
d5176c891c [#1336] Let Record.into(Class<?>) and similar methods accept "immutable"
classes, i.e. setter-less classes that take several constructor
arguments
2012-04-27 12:59:53 +02:00
Lukas Eder
2a5cb2046d Clarified Javadocs 2012-04-27 12:13:27 +02:00
Lukas Eder
66f6e248e7 [#1344] Micro-optimisation: Initialise Result ArrayLists to their
expected size, if that size is known.
2012-04-25 22:53:33 +02:00
Lukas Eder
8e4f04ba2e [#1340] Use Constructor.setAccessible(true), if no default constructor
is available on the target type of Record.into(Class<?>)
2012-04-25 21:55:24 +02:00
Lukas Eder
946cf34e0c [#1349] Add support for the CUBRID Click-Counter INCR() 2012-04-25 21:35:11 +02:00
Lukas Eder
59200ce6b0 [#1342] Improve Javadoc on Factory.function(). Document arguments 2012-04-25 21:20:27 +02:00
Lukas Eder
0cdbbb9a11 Applied Sergey's patch to support Settings from FactoryProxy 2012-04-25 19:27:03 +02:00
Lukas Eder
1df7156550 [#1343] Regression in insertInto(...).values(...). Cannot pass Field<?>
to values()
2012-04-22 12:24:47 +02:00
Lukas Eder
6bc74d2577 [#597] Add support for Oracle KEEP (DENSE_RANK FIRST...) aggregate
function clause
2012-04-22 11:41:44 +02:00
Lukas Eder
392c419551 [#1333] Add support for the Oracle TRUNC function, for numeric arithmetic 2012-04-20 13:40:42 +00:00
Lukas Eder
e60bed838a [#1323] Add support for byte[] in Postgres UDTs - Added support for Octal values 2012-04-20 13:33:42 +00:00
Lukas Eder
1796cac423 [#1333] Add support for the Oracle TRUNC function, for numeric arithmetic 2012-04-20 13:16:37 +00:00