Commit Graph

374 Commits

Author SHA1 Message Date
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
Lukas Eder
a900b69b0f Release 2.0.1 - Manual updated 2011-12-23 13:47:36 +00:00
Lukas Eder
3d214297cc Release 2.0.1 2011-12-23 12:36:58 +00:00
Lukas Eder
08b7d6ecf5 [#968] Allow for custom enum types, configured in the code generator - fixed Postgres casting of synthetic EnumTypes 2011-12-23 12:04:46 +00:00
Lukas Eder
e72ca3ce62 Fixed typos 2011-12-23 10:52:20 +00:00
Lukas Eder
12565c2508 [#1005] The INSERT INTO .. VALUES .. syntax may cause type-safety issues in some databases. VALUES should be converted before binding 2011-12-23 10:48:15 +00:00
Lukas Eder
08c6cf0d43 Added FAQ section to the tutorial 2011-12-23 10:05:06 +00:00
Lukas Eder
2936124b63 [#1002] TableRecord.storeUsing() doesn't update IDENTITY column values, if the column is not part of the main unique key 2011-12-18 18:31:56 +00:00
Lukas Eder
ef8c6cd43a [#1006] Add Factory.value(...) as a synonym for Factory.val(...) for increased Scala / Groovy compatibility 2011-12-18 18:21:16 +00:00
Lukas Eder
22b52d23df [#1000] Add support for MySQL INSERT INTO .. SET .. syntax in MERGE statement's WHEN NOT MATCHED THEN INSERT clause 2011-12-18 18:09:37 +00:00
Lukas Eder
b88ce315f5 [#1005] The INSERT INTO .. VALUES .. syntax may cause type-safety issues in some databases. VALUES should be converted before binding - added integration test 2011-12-18 17:52:38 +00:00
Lukas Eder
ba236e720e [#1003] Sybase / SQL Server / MySQL / Ingres / H2 / Derby INSERT .. RETURNING returns null if a table has an IDENTITY column, but no main unique key 2011-12-18 17:27:56 +00:00
Lukas Eder
2b477494e9 [#984] Detach IDENTITY column tests from unique key tests, create a dedicated test suite instead 2011-12-18 16:55:29 +00:00
Lukas Eder
40049c9c87 [#1001] Identity.getField() should return TableField<R, T> instead of Field<T> 2011-12-18 16:49:31 +00:00
Lukas Eder
abb9fba1ce [#998] Enhance MERGE statement for Oracle extensions: WHEN MATCHED THEN UPDATE .. WHERE .. DELETE WHERE .. / WHEN NOT MATCHED THEN INSERT .. WHERE .. 2011-12-16 15:40:45 +00:00
Lukas Eder
08108d7a6e Updated supported databases 2011-12-16 08:32:38 +00:00
Lukas Eder
d85bf620a3 [#995] Routines Don't Respect SchemaMapping - Github issue #8 2011-12-14 21:38:30 +00:00
Lukas Eder
fdb86d4a32 [#990] Problems when encoding arbitrary byte[] as String(byte[]) in inlined SQL 2011-12-11 21:54:16 +00:00
Lukas Eder
14d7651368 [#991] Add Query.bind(String, Object) and Query.bind(int, Object) to easily modify existing bind values 2011-12-11 17:04:08 +00:00
Lukas Eder
95d2c615e4 [#992] Document thrown DataTypeException in Convert methods 2011-12-11 16:28:49 +00:00
Lukas Eder
ea48c9dcd0 [#914] Allow for modifying bind values of existing QueryParts / Queries
[#980] Add support for named parameters, to better interact with Spring
2011-12-11 16:06:50 +00:00
Lukas Eder
de42b79cb5 Upgraded H2 from 1.3.161 to 1.3.162 2011-12-10 17:59:32 +00:00
Lukas Eder
1447cf7a3f [#981] Cannot insertInto(table("my_table")), as plain SQL tables return Table<Record>, not Table<TableRecord>. Relax bound on R - Added integration tests 2011-12-10 16:45:00 +00:00
Lukas Eder
71fafbb728 [#988] Change Factory.field(String) to return Field<Object> instead of Field<?> 2011-12-10 16:44:36 +00:00
Lukas Eder
123b2cca0b [#981] Cannot insertInto(table("my_table")), as plain SQL tables return Table<Record>, not Table<TableRecord>. Relax bound on R - Fixed INSERT 2011-12-10 16:06:06 +00:00
Lukas Eder
fcca200ee7 [#981] Cannot insertInto(table("my_table")), as plain SQL tables return Table<Record>, not Table<TableRecord>. Relax bound on R - Fixed UPDATE 2011-12-10 15:54:32 +00:00
Lukas Eder
449333c143 [#981] Cannot insertInto(table("my_table")), as plain SQL tables return Table<Record>, not Table<TableRecord>. Relax bound on R - Fixed DELETE, MERGE 2011-12-10 15:51:12 +00:00
Lukas Eder
6a8f570740 Removed unneeded test .class files 2011-12-10 14:23:31 +00:00
Lukas Eder
ed312aa01f [#986] Postgres / DB2 / Sybase ASE foreign-key namespace is unique-per-table, jOOQ forces all foreign keys from all tables into same namespace 2011-12-10 13:40:05 +00:00
Lukas Eder
9b1e1497da [#677] Add type-mapping configuration, enforcing types for columns 2011-12-09 19:19:32 +00:00
Lukas Eder
b5060b6de8 [#979] Record.from() sets all changed flags to true. That's not necessarily correct in the event of storing the record back to the DB
[#985] AbstractRecord.equals() does not correctly compare arrays. Compare them using Arrays.asList()
2011-12-09 16:32:31 +00:00
Lukas Eder
91accf8cad [#978] Fixed test cases to circumvent schema mapping problems 2011-12-09 13:02:27 +00:00
Lukas Eder
c16ffd117f Added some Javadoc to SchemaMapping 2011-12-09 13:00:54 +00:00
Lukas Eder
8509ecdcb4 Release 2.0.1-SNAPSHOT 2011-12-04 17:32:12 +00:00
Lukas Eder
0e0e3eac86 [#968] Allow for custom enum types, configured in the code generator 2011-12-04 17:29:11 +00:00
Lukas Eder
3b0426cf85 [#977] EnumType renders name() instead of getLiteral() in Convert.convert() method 2011-12-04 16:23:51 +00:00
Lukas Eder
ad58e65156 Document case-insensitive regex possibility 2011-12-04 15:50:50 +00:00
Lukas Eder
79dbdb4d77 [#974] Add Schema.getTable(String), getSequence(String), getUDT(String) for better runtime Schema meta-navigation 2011-12-04 14:21:43 +00:00
Lukas Eder
9ad262e651 [#975] Add Sequence.getName(), getSchema(), getDataType() 2011-12-04 14:08:19 +00:00
Lukas Eder
f2bb68b986 [#973] EnumType renders name() instead of getLiteral() in formatXXX() methods 2011-12-04 13:48:52 +00:00
Lukas Eder
98de6b1fc9 [#691] Add support for Oracle CURSOR REF IN / INOUT parameters - This works already. Only integration tests needed 2011-12-02 10:13:35 +00:00
Lukas Eder
ae892047c5 Manual update: Clarified "configuration" in the section about stored procedures 2011-12-02 09:00:21 +00:00
Lukas Eder
d1f49fda13 d 2011-12-02 08:55:31 +00:00
Lukas Eder
94eeb423ec Release 2.0.0 - Updated website and manual 2011-11-27 20:43:39 +00:00
Lukas Eder
496c333e93 Release 2.0.0 2011-11-27 15:07:11 +00:00