Commit Graph

516 Commits

Author SHA1 Message Date
Lukas Eder
9caed2164b [#1632] Improve the performance of various DefaultRenderContext methods,
by locally caching Settings values locally
2012-07-27 13:33:15 +02:00
Lukas Eder
a120437579 [#1625] Performance benchmark to show difference between regular
execution and reusing PreparedStatements
2012-07-27 12:55:35 +02:00
Lukas Eder
f3f93dfa29 [#1596] Add support for optimistic locking using generated information
about "timestamp" or "version" columns
2012-07-27 12:35:24 +02:00
Lukas Eder
8155574f65 Fixed execution statistics output 2012-07-27 10:59:37 +02:00
Lukas Eder
a737b76efb [#1547] Support "optimistic locking" in UpdatableRecord.store() and
delete()
-
Implemented optimistic locking using a Settings property, rather than an
additional API method
2012-07-22 17:19:30 +02:00
Lukas Eder
cc9d960ae1 [#1595] Simulate REPEAT() in SQLite 2012-07-19 22:15:29 +02:00
Lukas Eder
12e6e295c6 [#727] Simulate RPAD and LPAD in SQLite 2012-07-19 21:49:28 +02:00
Lukas Eder
723bff2419 [#1582] Add support for Oracle's ORDER SIBLINGS BY clause, in
combination with CONNECT BY
2012-07-19 20:25:47 +02:00
Lukas Eder
7ccc60fe1d [#1587] Generate missing constructors taking DataSource in
schema-specific factories - Regenerated test databases
2012-07-19 19:44:30 +02:00
Lukas Eder
297735c227 Fixed some compiler warnings 2012-07-19 19:25:12 +02:00
Lukas Eder
b001a7c73e Updated Eclipse compiler settings to add Eclipse Juno features 2012-07-19 19:19:45 +02:00
Lukas Eder
11b00a20e9 Fixed some warnings 2012-07-15 17:10:11 +02:00
Lukas Eder
3f85fb95cd [#1547] Support "optimistic locking" in UpdatableRecord.storeLocked()
- Added UpdatableRecord.deleteLocked()
2012-07-15 15:08:12 +02:00
Lukas Eder
b5e7029c60 [#1547] Support "optimistic locking" in UpdatableRecord.storeLocked() -
repeat integration test with another table, to check against more data
types
2012-07-14 16:22:46 +02:00
Lukas Eder
add0476024 [#1547] Support "optimistic locking" in UpdatableRecord.store() 2012-07-14 16:14:10 +02:00
Lukas Eder
adf3848278 [#620] Add support for the SQL:2008 standard LIKE_REGEX operator 2012-07-14 13:34:20 +02:00
Lukas Eder
6090465d95 [#1563] Add support for Oracle SYNONYMs in source code generation -
added PUBLIC synonyms for testing
2012-07-14 11:05:58 +02:00
Lukas Eder
b071472073 [#1566] CONNECT BY related functions are not rendered using the
Settings.getRenderKeywordStyle() property - Fixed two functions, added
test cases for connectByIsLeaf() and connectByIsCycle()
2012-07-14 10:22:34 +02:00
Lukas Eder
4b0b015925 [#1565] Add Factory.connectByRoot(Field<?>) to support the Oracle
CONNECT_BY_ROOT pseudo column
2012-07-13 18:54:14 +02:00
Lukas Eder
660c68675a [#1563] Add support for Oracle SYNONYMs in source code generation -
Regenerated Oracle SYS schema, adding ALL_SYNONYMS
2012-07-13 18:17:44 +02:00
Lukas Eder
ea229d9259 [#1563] Add support for Oracle SYNONYMs in source code generation -
Added SYNONYMs to database
2012-07-13 18:14:28 +02:00
Lukas Eder
43319944d4 [#1557] Inlining floats and doubles doesn't work correctly on all
databases - Test case runs on all databases
2012-07-13 15:43:08 +02:00
Lukas Eder
54a2c887a2 [#1557] Inlining floats and doubles doesn't work correctly on all
databases - Fixed reset.sql scripts, emptying t_639_numbers_table tables
2012-07-13 15:12:28 +02:00
Lukas Eder
e3c23d6722 [#1552] Generate fetchBy[ColumnName] methods in generated DAO classes -
regenerated test schema
2012-07-11 22:18:05 +02:00
Lukas Eder
c95aa4cb7b [#1552] Generate fetchBy[ColumnName] methods in generated DAO classes 2012-07-11 22:17:52 +02:00
Lukas Eder
55f6c2c53b [#1542] Simulate the H2 MERGE syntax in other dialects supporting the
SQL standard MERGE statement - GitHub Issue #18
2012-07-06 22:18:08 +02:00
Lukas Eder
dfdbc9536c [#1541] Add support for the H2 MERGE syntax - GitHub Issue #18 2012-07-06 21:02:11 +02:00
Lukas Eder
e523a9fa6f [#1510] Generate additional setters for foreign keys, accepting records
as arguments - regenerated test data
2012-07-06 19:02:08 +02:00
Lukas Eder
dead419c84 Make test work for larger T_BOOK tables 2012-07-06 15:37:17 +02:00
Lukas Eder
39291b6d64 Regenerated ASE database 2012-07-06 15:25:01 +02:00
Lukas Eder
caae7fd953 [#1536] Add documentation to the FOR UPDATE OF clause, indicating that
DB2 may have stricter requirements regarding updatability of fields
2012-07-06 15:21:47 +02:00
Lukas Eder
c3bfe36153 [#1141] Add Result.intoResultSet() to wrap a Result in a JDBC ResultSet
- Fixed integration test for databases like Oracle, where data type
information may be lost when fetching ResultSet (Integer -> BigDecimal)
2012-07-06 14:17:49 +02:00
Lukas Eder
5c921089ed [#1535] Oracle ROW_NUMBER() OVER() have mandatory ordering clauses. Push
down SELECT-level ORDER BY clause to ranking functions if needed -
Prepared integration tests for a future fix
2012-07-06 14:01:09 +02:00
Lukas Eder
1700d832b7 [#1522] fetch().into(Table) doesn't initialise records correctly, such
that subsequent calls to store() will execute an INSERT, rather than an
UPDATE
2012-07-06 13:27:25 +02:00
Lukas Eder
7dc81a977c [#1525] Generate missing Javadoc to getters for procedure OUT parameters
- Regenerated test data
[#1534] Generate more meaningful Javadoc where "an uncommented item"
stands now - Regenerated test data
2012-07-06 12:40:31 +02:00
Lukas Eder
1152423ada [#1528] Let generated interfaces extend Serializable - regenerated test
data
2012-07-06 12:19:43 +02:00
Lukas Eder
6f5ac2bb9b [#1141] Add Result.intoResultSet() to wrap a Result in a JDBC ResultSet 2012-07-01 16:32:20 +02:00
Lukas Eder
006ec665aa [#1524] Simulate ROW_NUMBER() OVER() in HSQLDB using ROWNUM() 2012-07-01 11:01:17 +02:00
Lukas Eder
577ddd4a60 [#1523] Support ROW_NUMBER() OVER() for the latest version of Derby and
H2, which support it
2012-07-01 10:49:38 +02:00
Lukas Eder
72715a1c7c [#1253] Avoid JDBC escape syntax for date/time literals 2012-06-30 12:21:07 +02:00
Lukas Eder
8abb2a1707 [#1499] Generated members of Tables.java are not final - regenerated
test data
2012-06-30 10:24:30 +02:00
Lukas Eder
e202d6dd75 [#1520] Handle SQL Server's and Sybase ASE's limitations of 2100 or 2000
maximum bind values per query
2012-06-30 08:34:16 +02:00
Lukas Eder
f969ebd565 [#1515] Splitting of large NOT IN conditions is wrong. The parts should
be connected with AND, not with OR
2012-06-29 19:58:20 +02:00
Lukas Eder
5ca80a5b41 [#1490] Compilation error when a SQL Server stored procedure has a
parameter named "value" - regenerated test schema
2012-06-29 19:34:32 +02:00
Lukas Eder
cad539b372 [#1501] Add support for conversion of String to java.sql.{Date, Time,
Timestamp}. GitHub issue #22
2012-06-28 13:15:53 +02:00
Lukas Eder
b44cc4f233 Merge branch 'master' of git@github.com:jOOQ/jOOQ.git
Conflicts:
	jOOQ-codegen/src/main/java/org/jooq/util/DefaultGenerator.java
	jOOQ-meta/src/main/java/org/jooq/util/DefaultIdentityDefinition.java
	jOOQ-meta/src/main/java/org/jooq/util/IdentityDefinition.java
	jOOQ-test/src/org/jooq/test/h2/generatedclasses/Keys.java
	jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/Keys.java
2012-06-03 13:44:00 +02:00
Lukas Eder
b168ff70ef [#1459] Generated Keys.java static class too large (static initialiser
can become bigger than 64kb)
2012-06-03 13:38:29 +02:00
Lukas Eder
bd72bc41af [#1473] Add IdentityDefinition to jooq-meta 2012-06-02 13:25:49 +02:00
Lukas Eder
eb6b5f1ae5 [#1473] Add IdentityDefinition to jooq-meta 2012-06-02 12:29:30 +02:00
Lukas Eder
430c75f0c2 [#1470] Support interface types in ResultQuery.fetchInto(Class),
Result.into(Class), and Record.into(Class) methods, returning a proxy
2012-06-01 19:32:50 +02:00