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

DefaultRecordMapper does not map nested UDTs onto nested POJOs #3023

Closed
lukaseder opened this issue Feb 10, 2014 · 0 comments

Comments

@lukaseder
Copy link
Member

commented Feb 10, 2014

The following UDT hierarchy:

CREATE TYPE u_street_type AS OBJECT (
  street VARCHAR2(100),
  no VARCHAR2(30)
);

CREATE TYPE u_address_type AS OBJECT (
  street u_street_type,
  zip VARCHAR2(50),
  city VARCHAR2(50)
);

Should be mapped trivially by a jOOQ DefaultRecordMapper onto the following POJO hierarchy:

static class Street {
    public String street;
    public String number;
}

static class Address {
    public Street street;
    public String city;
    public String country;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.