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

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

Projects
None yet
1 participant
Owner

lukaseder 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;
}

@lukaseder lukaseder added this to the Version 3.3.0 milestone Feb 10, 2014

@lukaseder lukaseder added the R: fixed label Feb 10, 2014

@lukaseder lukaseder closed this Feb 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment