Commit Graph

1524 Commits

Author SHA1 Message Date
Lukas Eder
ce46c54fff [#2956] isFalse()/isTrue() result in extra parameters 2014-01-22 17:44:38 +01:00
Lukas Eder
755eaa28ea [#2971] Add DSL.space() to support the SQL Server specific SPACE() function 2014-01-22 11:40:10 +01:00
Lukas Eder
9305e305d3 [#2963] Lower log level for warnings about unknown SQL data types from MetaDataFieldProvider (plain SQL) 2014-01-22 11:11:52 +01:00
Lukas Eder
76c4c5486a [#2970] Add DSL.isnull() as a synonym for NVL() for the SQL Server dialect 2014-01-22 09:38:59 +01:00
Lukas Eder
a1b6996990 [#2937] Fix trailing whitespaces in generated code 2014-01-15 18:10:28 +01:00
Lukas Eder
67fe34927d [#2950] Add Table.getComment() and Field.getComment() to access comment
meta information from the schema
2014-01-15 17:59:22 +01:00
Lukas Eder
32dd2e1b8d [#1070] Add support for SQL Server table-valued functions 2014-01-13 19:06:25 +01:00
Lukas Eder
7bdc75bb64 [#2944] Add support for GROUP_CONCAT in SQLite 2014-01-13 12:04:57 +01:00
Lukas Eder
e00da6975d [#2933] Add {Result.into|ResultQuery.fetch}{Map|Group}({Field<?>|Field[]}, RecordMapper<R, E>) 2014-01-07 13:00:42 +01:00
Lukas Eder
b2b5482765 [#2931] Add DSLContext.fetchCount(Table<?>) and fetchCount(Table<?>, Condition) 2014-01-06 15:23:46 +01:00
Lukas Eder
643d14acc1 [#2926] Add code-generation support for the MySQL / MariaDB TINYTEXT data type 2014-01-06 10:52:41 +01:00
Lukas Eder
510aac4e05 [#2492] Dumping updated MS Access code to jOOQ OSS Edition 2014-01-02 18:15:47 +01:00
Lukas Eder
d6aa41d487 [#1506] Allow for inserting empty records (e.g. INSERT INTO .. VALUES () or INSERT INTO .. DEFAULT VALUES) 2013-12-31 17:38:56 +01:00
Lukas Eder
52e786b0b6 Simplified DSL interface hierarchy, compatibly 2013-12-31 16:33:01 +01:00
Lukas Eder
c2e2730583 Line separators again... 2013-12-31 14:04:09 +01:00
Lukas Eder
be252ca22b [#2734] Add support for lateral derived tables 2013-12-28 14:21:03 +01:00
Lukas Eder
08981c835b [#2912] Add convenience methods set(Connection), set(DataSource), derive(Connection), derive(DataSource) to DefaultConfiguration 2013-12-28 11:56:19 +01:00
Lukas Eder
afaad5e559 [#2900] verload MockFileDatabase constructor to allow for Readers, InputStreams, and Strings 2013-12-17 15:34:30 +01:00
Lukas Eder
b472a8424b [#2883] Add support for PostgreSQL COUNT(DISTINCT(a, b, ...)) through DSL.countDistinct() 2013-12-16 18:16:52 +01:00
Lukas Eder
81b19b893f [#2898] Add DSL.generateSeries(int, Field<Integer>) and (Field<Integer>, int) overloads 2013-12-16 17:20:33 +01:00
Lukas Eder
42d8d4f542 Regenerated Rows 2013-12-13 14:21:54 +01:00
Lukas Eder
bae00eca77 [#2655] Improve ArrayIndexOutOfBoundsException: -1 error message when unknown field is accessed from a record 2013-12-13 14:21:46 +01:00
Lukas Eder
73dcad7687 [#2881] Throw IllegalArgumentException when calling SelectQuery.addJoinOnKey() and addJoinUsing() with bad JoinType 2013-12-09 14:39:00 +01:00
Lukas Eder
cb70397099 [#845] [#846] Add support for the T-SQL and Oracle 12c CROSS / OUTER APPLY clauses 2013-12-09 14:11:33 +01:00
Lukas Eder
babb0a4f49 [#2709] Add Record[N].value1(xx), value2(xx) setter methods 2013-12-09 12:58:58 +01:00
Lukas Eder
eaf6575052 [#2878] Deprecate Record.getValue() and Result.getValue() methods that take a defaultValue argument 2013-12-07 14:07:52 +01:00
Lukas Eder
36a356a1c9 [#531] Added missing Javadoc 2013-12-07 13:23:22 +01:00
Lukas Eder
8c68eb6f65 [#2876] Added a Javadoc remark about certain SQL dialects being available in commercial distributions only 2013-12-07 13:14:12 +01:00
Lukas Eder
5f7b344a8a [#2798] Inconsistent logic executed between Record.setValue(Field<T>, T) and BookRecord.setId(Integer) (generated) 2013-12-07 12:38:04 +01:00
Lukas Eder
8875940e9d [#2835] UpdatableRecord.store() and DSLContext.executeInsert() show different behaviour with respect to NULL value insertion 2013-12-07 12:10:28 +01:00
Lukas Eder
46feeb8da7 [#2870] Added failing integration test 2013-12-07 11:48:55 +01:00
Lukas Eder
5ffaac2e39 [#2152] Invalid column type: 16, when binding null as java.lang.Boolean onto a NUMBER(..) column in Oracle 2013-12-07 10:45:02 +01:00
Lukas Eder
abf1ae51ee [#2744] Emulate INSERT .. RETURNING through SELECT FROM FINAL TABLE (INSERT ...) in DB2 2013-12-06 12:48:04 +01:00
Lukas Eder
73343b3c95 Fixed some warnings 2013-12-06 12:46:05 +01:00
Lukas Eder
6d726aaa5c [#2872] Possible StackOverflowError when using plain SQL tables with inlined QueryParts 2013-12-06 12:45:50 +01:00
Lukas Eder
bcd073a402 [#2869] DefaultRecordMapper should attach resulting records according to Settings.attachRecords, if target type implements Attachable 2013-12-06 11:29:23 +01:00
Lukas Eder
410b81ff58 [#2840] Add DSL.date(), DSL.time(), and DSL.timestamp() to extract date, time, timestamp parts from a TIMESTAMP 2013-11-28 18:40:02 +01:00
Lukas Eder
01d95eab79 [#2863] Remove unnecessarily cached Connection in DataSourceConnectionProvider 2013-11-27 11:23:53 +01:00
Lukas Eder
075730243c Pro code dump 2013-11-19 18:22:21 +01:00
Lukas Eder
36b21a5dc8 [#2857] Unnecessary whitespace rendered in USING() clause 2013-11-19 18:18:45 +01:00
Lukas Eder
b863d43e8c [#2845] AbstractStoreQuery.prepare() does not apply RenderKeywordStyle when specifying column names for return after INSERT - Actual fix 2013-11-19 17:46:57 +01:00
Lukas Eder
32243df9b2 Fixed warning 2013-11-18 12:41:58 +01:00
Lukas Eder
423d9ceefb [#2829] Integrated Johanes Bühler's pull request, fixing formatting, license headers, etc.
[#2853] Add DSLContext.fetchFromJSON()
2013-11-18 12:27:40 +01:00
Johannes Buehler
0fc758e3a2 #2829 applied eclipse Code Formatting 2013-11-15 22:18:07 +01:00
Johannes Buehler
bea6968225 Merge remote-tracking branch 'github/master' 2013-11-15 21:48:26 +01:00
Johannes Buehler
9c751d7644 #2829 applied eclipse Code Formatting 2013-11-15 21:47:29 +01:00
Lukas Eder
861d43980a [#2848] Add support for infix-notation for bitwise operations 2013-11-15 18:07:04 +01:00
Johannes Buehler
6e7f1428ce Merge remote-tracking branch 'github/master' 2013-11-14 09:46:21 +01:00
Johannes Buehler
1144224aba added JSON Loader Tests
LoaderImpl now uses same executeSQL method for indeepended of the import format
2013-11-14 09:43:06 +01:00
Lukas Eder
8084bae5d4 [#2842] Sybase CAST(? AS LONG VARCHAR) must not contain a length 2013-11-11 14:30:03 +01:00
Lukas Eder
2caba92084 [#2831] Bad Javadoc formatting on MySQLDSL's and MariaDBDSL's enumType() method 2013-11-11 10:32:07 +01:00
Lukas Eder
e1184ba6a5 [#2829] Removed unneeded nullString() method from the JSON Loader API 2013-11-04 11:08:34 +01:00
Lukas Eder
7158978af2 [#2829] Enhance Loader API to allow for importing JSON data in addition to CSV data - Fixed warnings 2013-11-04 11:05:51 +01:00
Lukas Eder
e79890ede9 [#2492] Add support for the MS Access database - Synchronise jOOQ Professional Edition with jOOQ Open Source Edition 2013-11-04 11:05:15 +01:00
Lukas Eder
4ea1428d8c [#2829] Enhance Loader API to allow for importing JSON data in addition to CSV data - Fixed warnings 2013-11-04 10:44:41 +01:00
Johannes Buehler
b63423a92d Added JSON import Support. 2013-11-03 14:30:18 +01:00
Lukas Eder
d03f34c450 [#2824] Log 500 records on TRACE level, instead of just 5 2013-11-01 17:19:10 +01:00
Lukas Eder
eab6c31dd0 [#2809] Add support for MySQL's MID() function, which is a synonym for SUBSTRING() 2013-10-31 14:34:25 +01:00
Lukas Eder
09a68de5a0 Javadoc Fix 2013-10-31 11:07:20 +01:00
Lukas Eder
edc6baf3ae [#2767] Add support for CUBRID 9.2 features 2013-10-29 14:07:53 +01:00
Lukas Eder
425b71d92a Release 3.3.0-SNAPSHOT 2013-10-29 12:29:01 +01:00
Lukas Eder
e9029277fa [#2805] Add seekAfter() and seekBefore() to allow for paging in both directions 2013-10-29 11:54:31 +01:00
Lukas Eder
f55b482a34 [#2810] Add support for the REVERSE() function, where it is supported 2013-10-29 11:12:02 +01:00
Lukas Eder
267ba0faa9 [#2811] Deprecate ResultQuery.fetchLazy(int) - fetchSize is now passed to ResultQuery.fetchSize() not only for lazy fetching 2013-10-28 17:56:03 +01:00
Lukas Eder
759cab3fc4 [#2806] Add ResultQuery.fetchSize() to influence the JDBC Statement's fetch size 2013-10-28 17:55:48 +01:00
Lukas Eder
bd209424aa [#2658] Inefficient emulation of row value expression comparison predicates <, <=, >, >=. Factor out predicates for improved index usage 2013-10-23 17:37:00 +02:00
Lukas Eder
4352c1849d [#2795] Bad Javadoc on DSLContext.fetchOne(String) method 2013-10-23 16:07:04 +02:00
Lukas Eder
a812c03795 [#2246] Add <T> T DSLContext.fetchValue(Select<Record1<T>>) to support more typesafety when fetching single values 2013-10-23 15:17:56 +02:00
Lukas Eder
2c738d5797 [#2792] data(Object, Object) methods do not unset the value if null is passed 2013-10-23 09:53:54 +02:00
Lukas Eder
f479ee2a88 [#531] [#2790] Add a Context data map scoped to the current subquery 2013-10-22 18:09:02 +02:00
Lukas Eder
a02955dddf [#531] Add support for the WINDOW clause - Restrict rendering to PostgreSQL and Sybase 2013-10-22 17:02:38 +02:00
Lukas Eder
be4cf6ec24 [#531] Add support for the WINDOW clause 2013-10-22 16:38:08 +02:00
Lukas Eder
9765edd43a [#2788] Add support for the PostgreSQL "json" data type - Added a json column to the T_EXOTIC_TYPES table 2013-10-18 11:47:53 +02:00
Lukas Eder
6b9e227569 Fixed Javadoc 2013-10-18 11:47:28 +02:00
Lukas Eder
aa87284601 [#2779] Add support for LEFT(), RIGHT() functions 2013-10-17 16:36:57 +02:00
Lukas Eder
58233e5d0f [#2657] Fixed Javadoc Typo 2013-10-17 14:43:18 +02:00
Lukas Eder
372ef3a4eb [#2657] Add support for ORDER BY .. SEEK .. LIMIT to implement the "seek method" for faster offsets 2013-10-17 14:33:47 +02:00
Lukas Eder
fa7bc6942a [#2784] Add DSL.row(Collection<?>) to allow for interacting with collections of values or Fields 2013-10-17 13:43:41 +02:00
Lukas Eder
c23b615a76 [#2780] Add PostgresDSL.oid(Table<?>) to produce table.oid references 2013-10-16 14:28:50 +02:00
Lukas Eder
5d5182fcea Removed query execution limitation from trial version 2013-10-15 15:14:29 +02:00
Lukas Eder
095026dc1d [#2776] Add support for the PostgreSQL ONLY clause 2013-10-15 15:13:37 +02:00
Lukas Eder
5e7f157f52 Converted all \r\n to \n 2013-10-10 10:13:22 +02:00
Lukas Eder
fc7afb4076 Merged release fixes from pro distribution 2013-10-09 19:28:25 +02:00
Lukas Eder
5fdca06dd1 Added remarks about VisitListener being experimental 2013-10-08 13:56:49 +02:00
Lukas Eder
4167a01ce9 [#2770] Add reference to Javadoc with respect to missing feature. 2013-10-08 12:12:35 +02:00
Lukas Eder
ef9080435c OSS / Commercial dual-licensing: Remove some commercial code sections from publicly available GitHub repository. 2013-10-07 15:46:01 +02:00
Lukas Eder
f8dd234cb7 OSS / Commercial dual-licensing: Mask out commercial code sections from publicly available GitHub repository. 2013-10-07 14:52:51 +02:00
Lukas Eder
ba3030d010 [#1644] Add DSL.dual() to explicitly create a DUAL table that works with any dialect 2013-10-07 11:30:43 +02:00
Lukas Eder
5080114610 Merge branch 'master' of git@github.com:jOOQ/jOOQ.git
Conflicts:
	jOOQ-codegen/src/main/java/org/jooq/util/JavaGenerator.java
2013-10-07 10:45:00 +02:00
Lukas Eder
1d5ae25f2b [#2765] Add support for a database-agnostic GENERATE_SERIES(FROM, TO) table function 2013-10-04 17:59:25 +02:00
Lukas Eder
125cdd858a [#2766] Javadoc typo on DSLContext.batchDelete() 2013-10-04 16:40:53 +02:00
Lukas Eder
63717b517f Updated licensing link from /eula to /licensing 2013-10-02 16:36:22 +02:00
Lukas Eder
e4b616e8fd Added more source code splitting logic for trial licenses 2013-10-01 13:52:37 +02:00
Lukas Eder
7725787591 Merge branch 'master' of git@github.com:jOOQ/jOOQ.git
Conflicts:
	jOOQ-test/src/org/jooq/test/_/testcases/CRUDTests.java
	pom.xml
2013-10-01 13:05:28 +02:00
Lukas Eder
39783bb69f Fixed Xtend code generation to match the latest improvements 2013-10-01 12:57:31 +02:00
lukaseder
d3ea56750e [#2764] Let CRUD operations be able to perform UPDATEs on primary keys 2013-09-28 11:35:11 +02:00
Lukas Eder
275b3918e5 Merge branch 'master' of git@github.com:jOOQ/jOOQ.git 2013-09-27 12:47:19 +02:00
Lukas Eder
7677805e25 [#996] Add support for various Postgres ARRAY operations 2013-09-27 12:05:28 +02:00
lukaseder
5bb189f477 [#2580] Bad SQL rendered when combining DISTINCT with LIMIT .. OFFSET in
DB2, SQL Server
2013-09-24 22:31:46 +02:00
Lukas Eder
f753ccd850 [#2597] f1.concat(f2).toString() seems to render unnecessary cast expression 2013-09-24 11:44:45 +02:00