Commit Graph

847 Commits

Author SHA1 Message Date
Lukas Eder
a209da8676 [#1636] Add jooq-meta support for querying the JDBC DatabaseMetaData API
- Fixed DECIMAL data type handling
2012-11-30 11:34:03 +01:00
Lukas Eder
073f90648f [#1636] Add jooq-meta support for querying the JDBC DatabaseMetaData API 2012-11-30 11:25:26 +01:00
Lukas Eder
46f5d7c0e6 [#1983] Improve the Javadoc on Table.as() and Field.as() to hint at
case-sensitivity and RenderNameStyle
2012-11-28 19:57:06 +01:00
Lukas Eder
92d483b83e [#1984] Add ResultQuery.fetchOneInto() 2012-11-28 19:28:04 +01:00
Lukas Eder
3d9dd31058 [#1972] Move MySQLFactory.md5() to Factory and simulate it for Oracle -
Use DBMS_CRYPTO instead of DBMS_OBFUSCATION_TOOLKIT
2012-11-23 15:44:19 +01:00
Lukas Eder
7f45eb66f5 [#1976] Add FieldProvider.getIndex(String) 2012-11-23 13:37:04 +01:00
Lukas Eder
7aa56936f1 [#1972] Move MySQLFactory.md5() to Factory and simulate it for Oracle -
Enhanced Javadoc
2012-11-23 13:16:53 +01:00
Lukas Eder
c6468f6779 [#1972] Move MySQLFactory.md5() to Factory and simulate it for Oracle 2012-11-23 13:11:45 +01:00
Lukas Eder
d7aa549ab1 [#1968] Add org.jooq.Meta returned from Executor.meta() to return a
wrapped JDBC DatabaseMetaData object - Added some Javadocs
2012-11-23 12:57:07 +01:00
Lukas Eder
cde26c3af9 [#1097] Add org.jooq.Catalog, a type modelling an entity combining
several org.jooq.Schema
- Added CatalogImpl
- Added getCatalogs() to Meta
2012-11-23 12:54:57 +01:00
Lukas Eder
764338f03b [#1097] Add org.jooq.Catalog, a type modelling an entity combining
several org.jooq.Schema - Added parts of the API
2012-11-23 12:43:48 +01:00
Lukas Eder
02ccfc766d [#1968] Add org.jooq.Meta returned from Executor.meta() to return a
wrapped JDBC DatabaseMetaData object
2012-11-23 12:41:19 +01:00
Lukas Eder
e1ca385651 [#1975] Add Result.sort{Asc | Desc}(int) and (String) to order by field
index / name Edit
2012-11-23 12:20:15 +01:00
Lukas Eder
3d020492b6 [#1973] Add Executor.fetchOne(ResultSet) 2012-11-23 11:54:25 +01:00
Lukas Eder
c303a019bd [#1967] Document using MySQL's SQL_CALC_FOUND_ROWS as an Oracle hint 2012-11-12 19:54:27 +01:00
Lukas Eder
0789a832c7 [#1919] Support higher degrees of Row[N] and Record[N] types. Match
Scala's max degree of 22
2012-11-11 12:34:43 +01:00
Lukas Eder
83feae654e [#1906] Use Xtend to generate Row[N], Record[N] and other code
artefacts - Added Update / Scala Conversions code generation
2012-11-11 12:20:50 +01:00
Lukas Eder
a96282f0fa [#1906] Use Xtend to generate Row[N], Record[N] and other code artefacts
- Added more Factory generation code
2012-11-11 11:31:48 +01:00
Lukas Eder
8415677d17 [#1906] Use Xtend to generate Row[N], Record[N] and other code artefacts
- Added Factory code generation (code insertion)
2012-11-10 15:40:51 +01:00
Lukas Eder
dd71da7929 [#1906] Use Xtend to generate Row[N], Record[N] and other code artefacts
- Use Xtend to generate RecordImpl
2012-11-10 14:48:58 +01:00
Lukas Eder
a476ac1957 [#1906] Use Xtend to generate Row[N], Record[N] and other code artefacts
- Added generation support for Record[N]
2012-11-10 14:38:36 +01:00
Lukas Eder
16b4c68a0e [#1966] Add a Row[N].equal(Record[N]) and similar convenience methods 2012-11-10 14:24:15 +01:00
Lukas Eder
7f31b11909 [#1966] Add a Row[N].equal(Record[N]) and similar convenience methods -
Implemented this for degree = 1. Need a code generator!
2012-11-10 11:32:09 +01:00
Lukas Eder
d94d8cba3c [#1690] Add UpdatableRecord.key() returning a Record holding PK values 2012-11-10 11:18:07 +01:00
Lukas Eder
eb8e865822 [#1962] Improve formatting of window functions - Allow to override the
formatting flag
2012-11-09 18:52:41 +01:00
Lukas Eder
dc9d3d314f [#1907] Remove FactoryOperations, push its API down to
org.jooq.impl.Executor - Documented DataAccessException
2012-11-09 18:36:19 +01:00
Lukas Eder
8f9359f62e [#1907] Remove FactoryOperations, push its API down to
org.jooq.impl.Executor
2012-11-09 18:30:50 +01:00
Lukas Eder
c28255ef86 [#1904] Add Executor.fetch(ResultQuery) and Executor.execute(Query)
methods
2012-11-09 17:55:16 +01:00
Lukas Eder
77896b0fe1 Improved Javadoc 2012-11-09 17:42:53 +01:00
Lukas Eder
fd8fe4c589 [#1951] Add support for SQL Server WITH (...) table hints 2012-11-09 17:16:48 +01:00
Lukas Eder
7c731f93b3 Added missing final keyword 2012-11-09 16:54:37 +01:00
Lukas Eder
54ed7cac9e [#1954] Bad SQL rendered when combining ORDER BY [ some-function ]
with LIMIT .. OFFSET in DB2, SQL Server
2012-11-09 16:30:30 +01:00
Lukas Eder
01f872f06f [#1958] Bad SQL rendered for OVER (ORDER BY [ some-function ]) for SQL
Server and Sybase
2012-11-09 15:38:37 +01:00
Lukas Eder
81d18ecf06 [#1954] Bad SQL rendered when combining ORDER BY [ some-function ] with
LIMIT .. OFFSET in DB2, SQL Server - Workaround for DB2: Avoid ORDER BY
clause in ROW_NUMBER() ranking function
2012-11-09 13:39:54 +01:00
Lukas Eder
d39a5dcb1c [#1937] Inefficient implementations of AbstractDataType.equals() and
hashCode()
2012-11-06 23:36:50 +01:00
Lukas Eder
a70ba0f67f [#1942] Inefficient call to String.split() in StringUtils.toCamelCase()
leads to non-negligible performance overhead in POJO transformation
calls
2012-11-06 23:24:44 +01:00
Lukas Eder
041407b965 [#1938] Improve AbstractField.hashCode() and AbstractTable.hashCode()
and similar, as these two are called very often
2012-11-06 23:00:01 +01:00
Lukas Eder
78184bef2a Document IndexOutOfBoundsException, IllegalArgumentException,
DataTypeException
2012-11-02 17:48:34 +01:00
Lukas Eder
3ff3995fac [#1927] Problems with escaping backslashes in CSV export/import 2012-11-02 16:09:58 +01:00
Lukas Eder
7302d07341 [#1923] Add Record.intoResultSet() to create a single-record JDBC
ResultSet from a Record
2012-11-02 14:04:33 +01:00
Lukas Eder
27a3073b10 [#1917] Add support for CUBRID 9.0's new features - Added and documented
support for CUBRID MERGE statement (Oracle syntax extensions)
2012-11-02 13:31:41 +01:00
Lukas Eder
4aa381f842 [#1917] Add support for CUBRID 9.0's new features - Added support and
documentation for CUBRID's MERGE support
2012-11-02 13:17:09 +01:00
Lukas Eder
eec85836c5 [#1917] Add support for CUBRID 9.0's new features - Added and documented
support for CUBRID window functions
2012-11-02 13:05:33 +01:00
Lukas Eder
b32cf31f5b [#915] Add <T1, T2, ..., T[N]> Table<Record[N]<T1, T2, ..., T[N]>>
Factory.values(Row[N]<T1, T2, ..., T[N]>...), to create ad-hoc tables
from data
2012-10-31 21:58:00 +01:00
Lukas Eder
5e9e00a973 [#1918] Let generated Records implement Record1, Record2, ...,
Record[N] if applicable
2012-10-31 21:14:23 +01:00
Lukas Eder
3c25759f62 Removed unneeded InOperator (which is redundant with SubqueryOperator) 2012-10-29 21:36:45 +01:00
Lukas Eder
6543cb0f42 [#1583] Add support for row expressions in UPDATE statements: UPDATE ..
SET (A, B, C) = (SELECT X, Y, Z)
2012-10-29 21:23:01 +01:00
Lukas Eder
67a2c5f6ee [#1905] Add Row[N].equal(Select<? extends Record[N]>) and similar
methods
2012-10-28 22:16:07 +01:00
Lukas Eder
345db92b31 [#1875] Add generic <R extends Record> type to SelectXXXStep DSL
type hierarchy for increased tuple type-safety
2012-10-28 14:52:53 +01:00
Lukas Eder
ee0a230c7f [#1902] Duplicate SELECT API between Executor and Factory 2012-10-28 10:51:22 +01:00