Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new RecordType<R extends Record> type to make up for the missing recursive type definition on Record #2571

Closed
lukaseder opened this issue Jun 29, 2013 · 0 comments

Comments

@lukaseder
Copy link
Member

As long as Row and Record do not correctly specify their R types (see #2570), there is no appropriate type to contain both a Field<?>[] and the associated R type for a given context.

This can be circumvented in the 3.x release stream, by adding a redundant RecordType<R>, which can then be used in new API such as the one introduced by Configuration.recordMapperProvider() (see #2311).

The new type is redundant with Row, as it will have almost the same purpose.

lukaseder added a commit that referenced this issue Jun 29, 2013
jOOQ's internal default ReflectionMapper

* [#2311] Add Configuration.recordMapperProvider() to override jOOQ's
internal default ReflectionMapper
* [#2571] Add a new RecordType<R extends Record> type to make up for the
missing recursive type definition on Record
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant