Commit Graph

289 Commits

Author SHA1 Message Date
Lukas Eder
f17452ec77 [#933] Add support for type Character in Record.into(Class<?>) methods and similar
[#936] Accept primitive types, such as int.class for type conversion
2011-11-12 15:29:02 +00:00
Lukas Eder
7334c16340 [#912] Add <R extends Record> R newRecord(Table<R>, Object) as the inverse of various into(Class<?>) methods
[#932] Let the bound of R in TableRecord extend TableRecord<R>, in UpdatableRecord to extend UpdatableRecord<R>
[#934] Don't consider static members in reflection utilities when used with Record.into(Class<?>) and similar methods
[#935] Don't consider final member fields in reflection utilities when used with Record.into(Class<?>) and similar methods
2011-11-12 13:10:38 +00:00
Lukas Eder
16efd8d2fb [#912] Add <R extends Record> R newRecord(Table<R>, Object) as the inverse of various into(Class<?>) methods
[#932] Let the bound of R in TableRecord extend TableRecord<R>, in UpdatableRecord to extend UpdatableRecord<R>
[#934] Don't consider static members in reflection utilities when used with Record.into(Class<?>) and similar methods
[#935] Don't consider final member fields in reflection utilities when used with Record.into(Class<?>) and similar methods
2011-11-12 13:05:57 +00:00
Lukas Eder
37802d86d8 [#931] Allow for conversion between Long and date/time types, and vice versa 2011-11-12 08:27:47 +00:00
Lukas Eder
c2ca42f5de [#930] Support converting date time types to java.util.Calendar 2011-11-11 21:14:33 +00:00
Lukas Eder
3e1d77c6b2 [#926] AbstractRecord.into() fails to convert java.sql.Date into java.util.Date
[#928] Add DataTypeException extending DataAccessException in case something went wrong when converting data types
2011-11-11 19:59:20 +00:00
Lukas Eder
942861daaf [#925] SelectConditionStep should extend SelectConnectByStep, not SelectGroupByStep 2011-11-11 19:27:49 +00:00
Lukas Eder
d4f5207e02 [#925] SelectConditionStep should extend SelectConnectByStep, not SelectGroupByStep 2011-11-11 19:27:12 +00:00
Lukas Eder
01fcc2311a [#924] Generate a reference to every table in a new Tables.java class 2011-11-11 19:09:04 +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
db8ba92e7e [#686] Reduce the internal API leak by preventing access to TableFieldImpl, UDTFieldImpl, and other internal classes - Hide UDTFieldImpl 2011-11-11 16:45:39 +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
c6bcc388cc [#804] Add <R extends Record> to Insert, Update, Delete 2011-11-11 14:18:07 +00:00
Lukas Eder
db6b0e2fcc [#917] Add various Cursor.fetchOneInto() convenience methods 2011-11-11 14:03:33 +00:00
Lukas Eder
66154de826 [#920] Generic type is lost in Cursor.fetchInto(RecordHandler) 2011-11-11 13:55:10 +00:00
Lukas Eder
2c1d157268 [#916] Add <R extends TableRecord<R>> {Record.into(Table<R>) | Result.into(Table<R>) | ResultQuery.fetchInto(Table<R>) | Cursor.fetchInto(Table<R>)}
[#918] Add CustomTable, CustomRecord as base classes for more convenience when used with various into(Table) methods
[#919] Allow for accessing non-public constructors of Record subtypes
2011-11-11 12:38:35 +00:00
Lukas Eder
50d9c31265 [#913] NoClassDefFoundError in JooqUtil.isJPAAvailable() 2011-11-09 18:55:54 +00:00
Lukas Eder
3ef619db26 Fixed Javadoc 2011-11-09 18:55:26 +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
c4dd556887 [#894] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved decode function 2011-11-09 18:16:05 +00:00
Lukas Eder
057068aef6 [#913] NoClassDefFoundError in JooqUtil.isJPAAvailable() 2011-11-09 07:14:35 +00:00
Lukas Eder
ac96662c6e Fixed javac compiler issue 2011-11-08 19:31:23 +00:00
Lukas Eder
a42de9aafb [#894] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved greatest/least functions 2011-11-07 23:00:30 +00:00
Lukas Eder
5d672b666a [#894] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved coalesce 2011-11-07 22:40:16 +00:00
Lukas Eder
2d3662e028 Release 1.6.9 - Documented batch operations 2011-11-07 19:31:18 +00:00
Lukas Eder
643a04bcf5 Merged 1.6.9 release notes 2011-11-07 19:12:37 +00:00
Lukas Eder
bc66875a11 Fixed Factory Javadoc 2011-11-07 18:43:58 +00:00
Lukas Eder
c692af2f2c [#894] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved date functions 2011-11-07 18:20:59 +00:00
Lukas Eder
47c78e0a75 [#894] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved bitwise operations 2011-11-07 17:58:54 +00:00
Lukas Eder
3461ec5164 [#835] Review API typesafety for <T> InsertSetMoreStep set(Field<T> field, T value) and similar methods 2011-11-06 11:39:20 +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
4dbf4dcd09 [#907] Add missing Field.like(Field<T>), notLike(Field<T>) methods to overload the existing Field.like(T), notLike(T) 2011-11-05 13:27:34 +00:00
Lukas Eder
778c553319 [#906] Add more NullPointerException safety to API 2011-11-05 13:21:38 +00:00
Lukas Eder
9c2d322efc [#905] Introduce FetchIntoException as a subtype of DataAccessException for integrity checks in methods like ResultQuery#fetchInto(), etc. 2011-11-05 12:22:42 +00:00
Lukas Eder
267a55b28c [#904] Move SQLDialectNotSupportedException into org.jooq.exception package 2011-11-05 12:14:12 +00:00
Lukas Eder
b4ad902f02 Unified Eclipse settings for imports/static imports. Avoid importing * 2011-11-05 12:07:34 +00:00
Lukas Eder
54e45189cc [#901] Introduce InvalidResultException as a subtype of DataAccessException for integrity checks in methods like ResultQuery#fetchOne(), ResultQuery#fetchMap(), etc. 2011-11-05 11:46:38 +00:00
Lukas Eder
67acab88c0 [#894] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved window functions 2011-11-04 18:13:51 +00:00
Lukas Eder
3197037dd5 [#894] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved window functions
[#902] Make AggregateFunction the base type for constructing window functions
[#903] Field.lag(int, T) erroneously delegates to Field.lead()
2011-11-04 18:05:23 +00:00
Lukas Eder
30dd09dee2 [#891] Let min() max(), etc functions return a new type AggregateFunction. This type can then be used as an entry-point for window functions 2011-11-04 17:20:38 +00:00
Lukas Eder
a610cc851e Added missing LICENSE.txt to all projects 2011-11-04 16:24:41 +00:00
Lukas Eder
a04a5270bc [#897] Add Spring integration project 2011-11-04 16:19:49 +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
da9b69ea98 [#894] Move functions from Field<?> to Factory and make them static - moved math functions 2011-11-04 11:02:45 +00:00
Lukas Eder
0c4a09451e [#894] Move functions from Field<?> to Factory and make them static - moved aggregate functions 2011-10-31 18:08:57 +00:00
Lukas Eder
496aa5ee1d [#893] Simulate ROLLUP function for MySQL, using the WITH ROLLUP modifier 2011-10-31 17:39:05 +00:00
Lukas Eder
7ae02553ea Removed daylight savings tweak 2011-10-31 17:10:25 +00:00
Lukas Eder
e0493dc775 [#661] Add support for bitwise operators
[#895] Add Field.power(Field<? extends Number>)
2011-10-30 20:58:56 +00:00