Commit Graph

275 Commits

Author SHA1 Message Date
Lukas Eder
5cf50f1b55 [#430] Add support for the Firebird database - Added SEQUENCE support 2012-08-24 10:21:53 +02:00
Lukas Eder
2de3f18021 [#430] Add support for the Firebird database - Fixed UK and FK behaviour 2012-08-24 10:10:45 +02:00
Lukas Eder
3c8be0ed30 [#430] Add support for the Firebird database - Fixed data types 2012-08-24 08:43:24 +02:00
Lukas Eder
a243b86fc2 [#430] Add support for the Firebird database - initial code generation
contribution
2012-08-24 01:10:27 +02:00
Lukas Eder
cfd5ad417e [#430] Add support for the Firebird database - Added initial code
generation contribution
2012-08-24 01:05:42 +02:00
Lukas Eder
28d4f9a064 [#1678] [REVERT] Order generated procedures in Oracle packages by
ALL_PROCEDURES.SUBPROGRAM_ID instead of PROCEDURE_NAME
[#1683] Oracle code generation regression for 10g. No such column:
ALL_PROCEDURES.OBJECT_ID
2012-08-10 15:05:30 +02:00
Lukas Eder
6a11c02345 [#1678] Order generated procedures in Oracle packages by
ALL_PROCEDURES.SUBPROGRAM_ID instead of PROCEDURE_NAME
2012-08-05 11:20:36 +02:00
Lukas Eder
f4a3e2a4c8 [#457] Add support for Oracle user-defined AGGREGATE functions 2012-08-05 11:14:21 +02:00
Lukas Eder
8070268def [#1664] By default, activate <relations/> in the code generator 2012-08-04 12:49:22 +02:00
Lukas Eder
100681882a [#1339] Add option to generate immutable pojos 2012-07-31 23:59:18 +02:00
Lukas Eder
7313e60b84 Fixed some warnings 2012-07-27 15:53:36 +02:00
Lukas Eder
777d55682e [#1589] Enable Eclipse Javadoc comment processing in project
configuration
2012-07-27 15:49:17 +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
b09bb6b016 Suppressed a compiler warning 2012-07-22 18:29:03 +02:00
Lukas Eder
b001a7c73e Updated Eclipse compiler settings to add Eclipse Juno features 2012-07-19 19:19:45 +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
28b06d7301 Release 2.5.0-SNAPSHOT 2012-07-11 22:24:09 +02:00
Lukas Eder
83cdbb088f Release 2.4.0 - Updated manual 2012-07-08 19:36:47 +02:00
Lukas Eder
6a254af74a Release 2.4.0 2012-07-08 17:22:34 +02:00
Lukas Eder
9b5ed01930 [#1507] Add support for Sybase ASE stored procedures - commented section
of code that doesn't yet work.
2012-06-29 17:02:11 +02:00
Mark
2acd6dc05c added import for Sybase ASE stored procedures; no SQL generation 2012-06-27 13:07:38 +02:00
Lukas Eder
02d0ded70d [#1478] Caching SQLDialect in AbstractDatabase heavily improves code
generation performance
2012-06-03 14:08:26 +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
947d2c6421 [#1463] Add option to let generated Record / POJO objects implement a
common generated interface
2012-06-01 17:47:46 +02:00
Lukas Eder
2725877103 Improve documentation on the possibility of leaving <inputSchema/> empty 2012-05-25 15:02:06 +02:00
Lukas Eder
240117b7d4 [#1419] Add some WARN-level logging when the source-code generator
doesn't generate any artefacts
2012-05-25 14:22:42 +02:00
Lukas Eder
7e32e33e86 [#1418] Support case-insensitive schema names in code generation 2012-05-25 14:19:33 +02:00
Lukas Eder
36d8a90508 Reverted recent developments around XML/CSV export of
INFORMATION_SCHEMA. Such a solution is not maintainable
2012-05-23 22:04:28 +02:00
Lukas Eder
28bf7e14f4 [#1440] Add top-level pom.xml for jooq-parent artefact (GitHub Issue
#14) - Removed duplicate plugin declaration
2012-05-22 19:10:22 +02:00
peter
ea85e102af add parent pom.xml to project 2012-05-22 00:16:28 +02:00
Lukas Eder
d905d6b9e0 [#875] Add XMLGenerator to export an INFORMATION_SCHEMA.xml
[#1434] Add UniqueKeyDefinition.isPrimaryKey() for completeness
[-] Removed
CONSTRAINT_COLUMN_USAGE from HSQLDB generated
INFORMATION_SCHEMA classes
2012-05-20 21:31:01 +02:00
Lukas Eder
e7ccbad907 Created release maven profile to remove gpg signing from regular builds 2012-05-19 14:19:21 +02:00
Lukas Eder
aade4d7026 [#1280] Generate DAO classes and interfaces for POJOs
[#1427] Add Factory.batchStore(Collection<? extends UpdatableRecord<?>>)
for convenience
2012-05-18 18:37:18 +02:00
Lukas Eder
6eb56640df [#1411] Add support for Postgres "any" data type (with quotes!). This
seems to map well to java.lang.Object
2012-05-11 11:15:28 +02:00
Lukas Eder
767574f4c2 Release 2.4.0-SNAPSHOT 2012-05-11 11:07:25 +02:00
Lukas Eder
843b82cccf Release 2.3.1 2012-05-11 10:04:13 +02:00
Lukas Eder
7d7aa5049d [#1406] Compilation errors in generated source code when Postgres stored
procedure parameter is called "NAME"
2012-05-10 18:54:22 +02:00
Lukas Eder
74205afc53 [#1407] Compilation errors in generated source code when Postgres
data-type is "any" (with quotes!)
2012-05-10 18:46:20 +02:00
Lukas Eder
aeb8765d1e Release 2.3.1-SNAPSHOT 2012-05-09 22:45:54 +02:00
Lukas Eder
d11e54a33e [#1409] Postgres code generation broken when not connecting with the
owner of a schema
2012-05-09 22:40:56 +02:00
Lukas Eder
c1a7bd0bee Release 2.3.0 2012-05-06 18:23:11 +02:00
Lukas Eder
24529d2a3b Added missing reference to CUBRID 2012-04-25 21:38:58 +02:00
Lukas Eder
cc61275add Upgraded Eclipse and Plugins 2012-04-22 10:51:58 +02:00
Lukas Eder
ada41ad5ae Upgraded Eclipse and Plugins 2012-04-22 10:21:42 +02:00
Lukas Eder
18e05cea75 [#1324] Code generation error in Oracle 10g when generating stored procedures 2012-04-20 09:35:15 +00:00
Lukas Eder
c304e8702a [#1313] <includes/> and <excludes/> match only table names, not fully qualified names 2012-04-15 17:57:38 +00:00
Lukas Eder
7f48be5af3 [#1308] Oracle's DataTypeDefinition reports the length of a BLOB / CLOB data type to be 4000 2012-04-14 14:23:41 +00:00
Lukas Eder
d99b20b89c [#1279] NullPointerException when leaving <inputSchema/> empty
[#1312] Allow for omitting <inputSchema/>, and generate all available schemata in that case
2012-04-14 13:47:05 +00:00
Lukas Eder
80d051b555 [#1310] Deprecate Factory.literal() in favor of Factory.inline(), and Factory.field() 2012-04-13 11:12:23 +00:00
Lukas Eder
fcf396140e [#1304] Add option to generate JSR-303 @NotNull and @Size annotations to generated POJO's 2012-04-13 09:32:40 +00:00
Lukas Eder
20a1929e2b [#1293] Generate setter methods for JAXB annotated configuration properties 2012-04-12 19:03:37 +00:00
Lukas Eder
a9d517fde2 [#1293] Generate setter methods for JAXB annotated configuration properties
Release 2.3.0-SNAPSHOT
2012-04-12 18:56:25 +00:00
Lukas Eder
6d49519087 [#1286] Add "renderSchema" flag to Settings, to completely disable rendering of schema names
[#1306] Add missing INTERVAL data types to HSQLDBDataType
2012-04-12 18:30:59 +00:00
Lukas Eder
69ce148a40 Release 2.2.1 2012-04-12 16:16:18 +00:00
Lukas Eder
249034d1d8 [#1297] Compilation error in CUBRID generated artefacts referencing OBJECT types 2012-04-10 17:40:47 +00:00
Lukas Eder
bfd039bdcb Release 2.2.0 2012-04-08 13:18:44 +00:00
Lukas Eder
5c5317ea24 [#1257] Add CUBRID support - Fixed sequence generation
[#1257] Add CUBRID support - Fixed dual simulation
2012-04-01 08:45:19 +00:00
Lukas Eder
c105db24ff [#1256] User defined H2 functions codegen bug 2012-04-01 07:51:18 +00:00
Lukas Eder
0eb930cceb [#1257] Add CUBRID support - Added integration tests, fixed many issues, added relations support 2012-03-30 09:03:22 +00:00
Lukas Eder
32b312078e [#1257] Add CUBRID support - Added dialect, factory, jooq-meta support, demodb generation 2012-03-28 18:49:08 +00:00
Lukas Eder
5c6a588eec [#1183] Add support for DEFAULT values in Oracle stored procedure parameters
[#1252] Avoid JDBC escape syntax for stored procedure calls, where this is possible
2012-03-23 11:53:55 +00:00
Lukas Eder
6c92310758 Release 2.2.0-SNAPSHOT 2012-03-20 21:14:00 +00:00
Lukas Eder
0a79ae0660 [#1241] Wrong variable binding when comparing CHAR columns in Derby without explicit casting to VARCHAR . Added test case 2012-03-18 14:09:14 +00:00
Lukas Eder
26e3fc6987 Release 2.1.0 2012-03-18 09:36:11 +00:00
Lukas Eder
4251ec133c [#1137] Exclude MySQL column-level enum types when that column is overridden by a <forcedType/>
[#1237] Don't generate enum classes for columns in MySQL tables that are excluded from code generation
2012-03-16 12:08:32 +00:00
Lukas Eder
9650f0fbd3 [#1232] SQLException when Factory.fetch() does not return a ResultSet 2012-03-16 10:53:32 +00:00
Lukas Eder
993b79d8f6 [#1233] Support custom JDBC properties for jooq-codegen-maven plugin 2012-03-16 10:27:39 +00:00
Lukas Eder
8428b8a8cd [#349] Add SQLite relations support
[#1234] Add Database.getTable(SchemaDefinition, String, boolean) to fetch tables case-insensitively
2012-03-16 10:06:19 +00:00
Lukas Eder
38c865e191 [#1209] Render @javax.persistence.Column(length, precision, scale) properties, if available
[#1224] Add DataTypeDefinition.getLength() to jooq-meta's type system
2012-03-11 12:31:07 +00:00
Lukas Eder
affc61d698 [#1013] Add integration tests for various use-cases involving custom enum types 2012-03-10 16:34:56 +00:00
Lukas Eder
54633e826d [#1218] Add code generation options to generate <customTypes/> referencing a Java type and a Converter - First implementation draft 2012-03-04 19:07:19 +00:00
Lukas Eder
890cd6e89e [#1194] Add ColumnDefinition.isNullable()
[#1208] Render @javax.persistence.Column(nullable = false) property, if available
2012-03-03 19:31:41 +00:00
Lukas Eder
64fd48639c [#1150] Add code generation option to disable generation of records 2012-03-02 17:22:53 +00:00
Lukas Eder
b1fd8f8989 Release 2.1.0-SNAPSHOT 2012-03-02 14:49:37 +00:00
Lukas Eder
76efe128e5 Replaced tabs by spaces 2012-02-28 17:35:28 +00:00
Lukas Eder
0d4d6e005b Re-generated jooq-meta's Oracle SYS schema 2012-02-28 17:19:10 +00:00
Lukas Eder
ba07044227 Release 2.0.6-SNAPSHOT 2012-02-28 17:15:31 +00:00
Lukas Eder
428108b426 Updated copyright date from 2009-2011 to 2009-2012 2012-02-27 18:40:53 +00:00
Lukas Eder
f9b4cc4448 Release 2.0.5 2012-02-26 19:01:06 +00:00
Lukas Eder
1ef8ecaa86 [#1177] Add SQL Console module to jOOQ - updated license 2012-02-23 18:30:58 +00:00
Lukas Eder
0999c86c6f [#1126] codegen - Add attribute for factory name - Removed Definition.getJavaName() again. This feature is sufficiently covered by [#408] and is thus rejected 2012-02-19 07:59:37 +00:00
Lukas Eder
2c60728379 Suppressed warnings 2012-02-18 15:34:42 +00:00
Lukas Eder
43b3f39083 [#1164] Distinguish between Definition.getInputName(), .getOutputName(), .getJavaName()
[#1165] Add constraint name to generated javadoc
2012-02-18 13:58:53 +00:00
Lukas Eder
17a61d8856 [#1149] Allow for optional "http://www.jooq.org/xsd/jooq-codegen-2.0.4.xsd" namespace in jooq-codegen configuration 2012-02-16 20:59:00 +00:00
Lukas Eder
c0764d20c3 [#492] RUNTIME-CONFIG: Add run-time configuration
[#1151] Deprecate SchemaMapping in favour of new runtime configuration
Re-generated jooq-meta artefacts
2012-02-15 21:41:16 +00:00
Lukas Eder
db539ad29c Release 2.0.5-SNAPSHOT 2012-02-15 17:47:33 +00:00
Lukas Eder
1597e34955 Fixed code generation issues 2012-02-12 15:06:28 +00:00
Lukas Eder
8a1ca11662 Release 2.0.4 2012-02-12 14:37:58 +00:00
Lukas Eder
28681a811d [#1136] Add generation option to generate navigation methods 2012-02-12 13:55:50 +00:00
Lukas Eder
bba5e6c7e2 Added documentation to the codegen XSD 2012-02-12 13:43:47 +00:00
Lukas Eder
5f68d70aa7 [#1134] NullPointerException in code generation when a foreign key constraint references a table from another schema that is not being generated 2012-02-12 12:58:42 +00:00
Lukas Eder
e29b417823 [#1133] Compilation errors in generated source code if the same constraint name exists in several schemata 2012-02-12 11:27:10 +00:00
Lukas Eder
c40db95450 [#1096] Add support for generator.generate.unsigned-types in Maven source code generation
[#1108] Add support for multi-schema databases using Maven code generation
2012-02-11 15:03:13 +00:00
Lukas Eder
bdc1ba559d Fixed Javadoc links 2012-02-11 13:47:19 +00:00
Lukas Eder
2c5ed10720 Fixed Javadoc links 2012-02-11 13:34:02 +00:00
Lukas Eder
0f3e0cf5e8 Fixed Javadoc links 2012-02-11 13:11:54 +00:00
Lukas Eder
08684517d1 [#8] Add JPA annotations to generated POJOs 2012-02-11 11:39:31 +00:00
Lukas Eder
08fb1fd521 [#1127] Add support for POJO classes generation 2012-02-10 21:42:37 +00:00
Lukas Eder
855eeb641d [#1095] Move generator.generate.unsigned-types to generator.database namespace 2012-02-04 22:02:10 +00:00
Lukas Eder
d87ec7e3fc [#287] Add support for Oracle TABLE types 2012-02-03 18:01:30 +00:00
Lukas Eder
63b09b69ac [#1057] Support using anonymous array types in Oracle by using ORA_MINING_NUMBER_NT and ORA_MINING_VARCHAR2_NT - Regenerated SYS schema 2012-02-03 17:34:20 +00:00
Lukas Eder
16cebf93a6 [#1057] Support using anonymous array types in Oracle by using ORA_MINING_NUMBER_NT and ORA_MINING_VARCHAR2_NT - Regenerated SYS schema 2012-02-03 17:33:07 +00:00
Lukas Eder
e90b1f4071 [#282] Add support for multi-schema databases 2012-02-03 13:39:37 +00:00
Lukas Eder
5e6b8f7d79 [#282] Add support for multi-schema databases - Re-generated Postgres pg_catalog meta schema 2012-02-03 12:48:48 +00:00
Lukas Eder
9bb49fc234 [#395] Use XML configuration file instead of plain properties file 2012-01-29 21:28:55 +00:00
Lukas Eder
90cfec17b3 Release 2.0.4-SNAPSHOT 2012-01-29 20:49:08 +00:00
Lukas Eder
22d3e3f2c4 [#395] Use XML configuration file instead of plain properties file - Implemented backwards-compatibility 2012-01-29 20:41:39 +00:00
Lukas Eder
e33e8dc7a9 Release 2.0.3 2012-01-29 14:53:35 +00:00
Lukas Eder
a0266fe617 Regenerated the Oracle dictionary views 2012-01-11 18:52:22 +00:00
Lukas Eder
17ca31d27c Release 2.0.2 2012-01-08 15:54:53 +00:00
Lukas Eder
e18deadb7c [#1046] Generate Ingres table and column comments in generated source code 2012-01-07 13:38:46 +00:00
Lukas Eder
83d67f09f9 [#1033] Generate table comments into generated Tables.java as Javadoc 2012-01-05 20:02:40 +00:00
Lukas Eder
d0aa0028ef [#976] CODEGEN: Add type-mapping configuration, rewriting types such as DATE to TIMESTAMP 2012-01-05 19:43:54 +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
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
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
496c333e93 Release 2.0.0 2011-11-27 15:07:11 +00:00
Lukas Eder
cd942db4bb Internalise jOOU to avoid adding a dependency 2011-11-25 19:48:34 +00:00
Lukas Eder
81ade0a70c Release 2.0.0-RC1 2011-11-25 19:16:09 +00:00
Lukas Eder
a153f8c25f Release 2.0.0 2011-11-25 16:29:17 +00:00
Lukas Eder
21283458b1 [#961] Use Oracle's SYS.ALL_SEQUENCES.MAX_VALUE to determine the type of a sequence. 2011-11-22 20:35:57 +00:00
Lukas Eder
81c9131d6d [#958] CODEGEN: Add generation-time schema mapping, allowing for re-writing schemata in jooq-codegen 2011-11-22 19:14:32 +00:00
Lukas Eder
55239a4757 [#960] CODEGEN: Add code generation configuration parameter to avoid using the new UByte, UShort, UInteger, ULong wrappers for UNSIGNED number types 2011-11-21 18:06:57 +00:00
Lukas Eder
35a78808bc [#962] Postgres ordering of generated enum literals is unstable 2011-11-20 20:48:35 +00:00
Lukas Eder
8a60d7ee0f [#519] Add support for MySQL UNSIGNED numeric types 2011-11-20 18:34:49 +00:00
Lukas Eder
41f1fa807f [#799] Add support for Oracle PL/SQL's object-oriented MEMBER PROCEDURES and MEMBER FUNCTIONS
[#957] Add <R> R Factory.newRecord(UDT<R>) for constructing attached UDTRecords
2011-11-18 21:10:36 +00:00
Lukas Eder
f9721d8208 [#939] Include license.txt and readme.txt in .jar files' META-INF directory 2011-11-18 10:25:50 +00:00
Lukas Eder
d5ba94ae38 [#117] Improve DSL support for field and table aliasing (decrease verbosity)
[#938] CODEGEN: Add static/instance table field configuration
2011-11-14 19:47:07 +00:00
Lukas Eder
bec1685cfe [#923] Reduce the internal API leak by moving some utilities to org.jooq.tools 2011-11-11 18:04:41 +00:00
Lukas Eder
61e6c87299 [#686] Reduce the internal API leak by preventing access to TableFieldImpl, UDTFieldImpl, and other internal classes - Hide ParameterImpl 2011-11-11 17:47:23 +00:00
Lukas Eder
2ef7382160 [#686] Reduce the internal API leak by preventing access to TableFieldImpl, UDTFieldImpl, and other internal classes - Hide TableFieldImpl 2011-11-11 16:20:23 +00:00
Lukas Eder
f8681e2671 [#899] Build jOOQ .jar files as bundles to be deployed into OSGI environments - removed OSGI information again from jooq-meta, jooq-codegen 2011-11-09 18:34:25 +00:00
Lukas Eder
081d0e71a1 [#894] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved string functions 2011-11-05 18:04:32 +00:00
Lukas Eder
98fcc1a1bb [#894] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved nvl, nvl2, nullif 2011-11-05 16:59:30 +00:00
Lukas Eder
b4ad902f02 Unified Eclipse settings for imports/static imports. Avoid importing * 2011-11-05 12:07:34 +00:00
Lukas Eder
a610cc851e Added missing LICENSE.txt to all projects 2011-11-04 16:24:41 +00:00
Lukas Eder
007aa862ef [#898] Replace usage of checked SQLException by an unchecked DataAccessException, similar to that of Spring
[#899] Build jOOQ .jar files as bundles to be deployed into OSGI environments
[#900] Purge deprecated API - Prior to 2.0
2011-11-04 16:07:08 +00:00
Lukas Eder
de67521fb4 [#718] Sequences should be mapped to appropriate type (e.g. SMALLINT, INT, BIGINT, etc) 2011-10-30 15:06:20 +00:00
Lukas Eder
35f7a6f065 Release 2.0.0-SNAPSHOT 2011-10-30 14:57:59 +00:00
Lukas Eder
84e1eab570 [#626] Create static function access 2011-10-30 07:19:32 +00:00
Lukas Eder
0e5f8de8c1 Release 1.6.9-SNAPSHOT 2011-10-25 17:47:58 +00:00
Lukas Eder
c0c7e89a3e Release 1.6.8 2011-10-22 15:17:29 +00:00
Lukas Eder
f699d26460 [#773] Execute standalone stored functions as CallableStatement to prevent issues with transactions
[#852] Review stored procedures / functions concept. Merge them all into a single "Routine" type
2011-10-17 17:48:07 +00:00
Lukas Eder
debf27ee01 [#852] Review stored procedures / functions concept. Merge them all into a single "Routine" type - Regenerated integration test schemata
[#854] Add convenience methods Field.isTrue(), isFalse() for conversion of "Y", "YES", "1", "true", "on", etc into a boolean condition
2011-10-08 20:16:21 +00:00
Lukas Eder
e760245eb8 [#852] Review stored procedures / functions concept. Merge them all into a single "Routine" type - Removed some deprecated jooq-meta API. Backwards-compatibility is too complex to achieve in jooq-meta 2011-10-08 18:22:54 +00:00
Lukas Eder
1c9ff85cc9 [#852] Review stored procedures / functions. Merge them all into a single procedure type
[#853] DB2 generated convenience methods for stored functions have unstable ordering
2011-10-02 19:53:27 +00:00