Commit Graph

271 Commits

Author SHA1 Message Date
Lukas Eder
21837feaff [#1080] Add support for JDBC's Statement.setFetchSize() in ResultQuery.fetchLazy() 2012-01-28 12:26:12 +00:00
Lukas Eder
15e62bbae6 [#1074] Add Field.notBetween(T, T) for convenience 2012-01-27 15:11:07 +00:00
Lukas Eder
d249ea6457 [#1069] Add support for INSERT INTO table(field1, field2, ...) SELECT syntax - as opposed to the existing INSERT INTO table SELECT 2012-01-27 10:45:41 +00:00
Lukas Eder
5115e356f9 [#1072] Add support for LIKE .. ESCAPE .. syntax 2012-01-27 09:27:56 +00:00
Lukas Eder
23a26069f2 FindBugs SS_SHOULD_BE_STATIC 2012-01-25 22:02:50 +00:00
Lukas Eder
d54e72dcae [#1071] Make Sequence Serializable 2012-01-25 21:59:58 +00:00
Lukas Eder
007eb1ac0c [#1065] Add OracleFactory.sysContext(String, String) to support Oracle's SYS_CONTEXT function 2012-01-21 19:11:44 +00:00
Lukas Eder
9e17af371c Corrected Javadoc 2012-01-21 19:02:40 +00:00
Lukas Eder
c12257fdb7 [#577] Simulate NATURAL JOIN syntax, where this is unavailable 2012-01-17 22:32:41 +00:00
Lukas Eder
63dcbd56a4 [#582] Simulate JOIN USING syntax, where this is unavailable 2012-01-17 19:31:05 +00:00
Lukas Eder
0ba28f37da [#671] Allow for nesting JOIN clauses 2012-01-17 19:06:19 +00:00
Lukas Eder
10720d1fe6 [#578] Add KEY JOIN syntax to simulate joining using generated foreign keys 2012-01-17 18:13:03 +00:00
Lukas Eder
1119c72bf6 [#578] Add KEY JOIN syntax to simulate joining using generated foreign keys - Added methods to the Table API (not yet Select API) 2012-01-15 22:23:27 +00:00
Lukas Eder
31bd0d6ae1 [#676] Add Table.join() methods to create more flexible Table products 2012-01-15 21:24:42 +00:00
Lukas Eder
a25bbeace7 [#1045] Simulate Oracle's PIVOT clause for other dialects using subqueries - added first draft for simulation 2012-01-15 09:35:11 +00:00
Lukas Eder
b7a9db1c48 [#1060] Improve debug logging of H2 arrays. The syntax is not ARRAY[1, 2], but (1, 2) 2012-01-11 19:02:59 +00:00
Lukas Eder
fe5bdc9749 [#1051] Add Factory.execute(String, Object...) as a convenience method for Factory.query(...).execute(); 2012-01-11 18:56:04 +00:00
Lukas Eder
9827b2d0ef [#1055] Simulate Factory.table(Object[]) and table(List<?>) using UNION ALL in dialects that do not support arrays - added Javadoc 2012-01-11 18:31:09 +00:00
Lukas Eder
050ae4257b [#1048] Simulate <op> <quantifier> (array) syntax for dialects that do not support arrays
[#1055] Simulate Factory.table(Object[]) and table(List<?>) using UNION ALL in dialects that do not support arrays
2012-01-09 22:55:42 +00:00
Lukas Eder
2ad7fb795f [#1059] Change SelectFromStep.from(Collection<TableLike<?>> tables) to Collection<? extends TableLike<?>> 2012-01-09 18:58:04 +00:00
Lukas Eder
17ca31d27c Release 2.0.2 2012-01-08 15:54:53 +00:00
Lukas Eder
1af93c411d [#1050] Deprecate usage of SOME quantifier in predicates, such as equalSome() 2012-01-08 10:58:18 +00:00
Lukas Eder
1631acf38b [#1049] Optimise GREATEST() and LEAST() simulations for Sybase, ASE, SQL Server, Derby 2012-01-07 18:46:46 +00:00
Lukas Eder
cb1c62fbac [#869] Add support for using ANY, ALL with arrays, not just with subselects
[#1047] Field.notEqualAny() erroneously renders != ALL()
2012-01-07 18:41:41 +00:00
Lukas Eder
8002ebe98c [#1021] Add explicit integration tests for LEFT|RIGHT|FULL OUTER JOIN 2012-01-07 16:23:10 +00:00
Lukas Eder
6eb96c07d1 [#1042] Add support for DISTINCT keyword in SUM, AVG, MIN, MAX aggregate functions 2012-01-07 12:55:51 +00:00
Lukas Eder
7e466b72ea [#595] Add support for Oracle's PIVOT clause - Prefer replacing "FOR" by "ON" rather than by "OVER", "OF" 2012-01-07 10:24:35 +00:00
Lukas Eder
1a90f3d7cd [#595] Add support for Oracle's PIVOT clause - Prefer replacing "FOR" by "OVER" rather than by "OF" 2012-01-07 10:14:24 +00:00
Lukas Eder
45176b07cf [#1041] Add <R> Table<R> Factory.table(Select<R>) convenience method for more fluency 2012-01-06 19:01:52 +00:00
Lukas Eder
8a634efd5d [#595] Add support for Oracle's PIVOT clause 2012-01-06 18:57:29 +00:00
Lukas Eder
07448d0da0 [#595] Add support for Oracle's PIVOT clause
[#1040] Add Object[][] Result.intoArray() and Object[] Record.intoArray() for convenience
2012-01-06 18:50:08 +00:00
Lukas Eder
071416e90a [#1037] The fluent API allows for JOIN clauses without FROM clause. 2012-01-06 11:39:30 +00:00
Lukas Eder
e1ee1da7c3 [#1029] Postgres can't bind NULL values in cases, where bind type is Object.class and bind value was created with Factory.param() 2012-01-06 11:14:35 +00:00
Lukas Eder
28b29bc769 [#1036] API typo in WindowRowsStep.rowsBetweenUnboundedFollwing() 2012-01-06 10:14:16 +00:00
Lukas Eder
b292033de5 [#1035] SelectOffsetStep does not extend SelectForUpdateStep. LIMIT .. OFFSET .. FOR UPDATE clauses are not possible 2012-01-05 20:48:34 +00:00
Lukas Eder
0d94769f2a [#1035] SelectOffsetStep does not extend SelectForUpdateStep. LIMIT .. OFFSET .. FOR UPDATE clauses are not possible 2012-01-05 20:47:52 +00:00
Lukas Eder
5649a7a74b [#1010] The MERGE INTO .. WHEN NOT MATCHED THEN INSERT .. syntax may cause type-safety issues in some databases. VALUES should be converted before binding 2012-01-04 21:11:02 +00:00
Lukas Eder
d5412d1895 [#1022] Add missing ASE implementation for Factory.use() 2012-01-04 20:43:24 +00:00
Lukas Eder
a252bff463 [#1030] UnsupportedOperationException when calling Query.bind(int, Object) on a query containing plain SQL fields
[#1031] Incorrect debug logging when plain SQL QueryParts like field("?") bind null values
[#1032] Incorrect debug logging when plain SQL QueryParts contain String literals, such as 'Hello? Anybody out there?'
2012-01-04 20:32:29 +00:00
Lukas Eder
ee29265748 [#1028] Syntax errors when using untyped param() in HSQLDB (and other strongly typed dialects) 2012-01-04 16:49:20 +00:00
Lukas Eder
9687809b8a [#1028] Syntax errors when using untyped param() in HSQLDB (and other strongly typed dialects) 2012-01-02 20:55:10 +00:00
Lukas Eder
220ac8c399 Fixed DefaultRenderContext.toString() 2012-01-02 18:16:27 +00:00
Lukas Eder
d1660ea0ec [#1024] Add Factory.resultQuery(String, Object...) to allow for arbitrary execution modes of plain SQL queries 2012-01-01 10:48:33 +00:00
Lukas Eder
b7a7442e9e [#1007] Formally document the API methods to indicate whether something is supported by any given SQL dialect 2011-12-30 17:12:24 +00:00
Lukas Eder
d9922481bb [#1025] Add missing SQLite implementation for Factory.deg() and Factory.rad() 2011-12-30 15:58:04 +00:00
Lukas Eder
161105a8ab [#1007] Formally document the API methods to indicate whether something is supported by any given SQL dialect - documented statements and clauses. Next step: Document functions
[#1019] Render LIMIT x OFFSET y also for MySQL, instead of LIMIT y, x
2011-12-30 13:38:37 +00:00
Lukas Eder
f5eb466fd9 [#1011] Add code generation configuration parameter to avoid generating @Generated annotation 2011-12-30 10:09:45 +00:00
Lukas Eder
d31fc000a0 [#1016] The Oracle CONNECT BY cond1 AND cond2 syntax erroneously creates a WHERE cond2 CONNECT BY cond1 statement 2011-12-23 14:56:47 +00:00
Lukas Eder
0251dcff1f [#1015] FindBugs: 7 occurrences of "Bad attempt to compute absolute value of signed 32-bit hashcode" 2011-12-23 14:42:04 +00:00
Lukas Eder
0061e7e346 [#1014] FindBugs: Latent risk of infinite recursion due to typo in QueryPartList.retainAll() 2011-12-23 14:28:23 +00:00