I'm a fair bit puzzled as to how I can map this class correctly. I have the following class structure (using Immutables):
@Immutable
public interface Aaa {
@Immutable
public interface Bbb {
@Immutable
public interface Ccc {
public abstract String foo();
public abstract String bar();
}
public abstract String foo();
public abstract String bar();
public abstract List<Ccc> cccs();
}
public abstract List<Bbb> bbbs();
}
with keys on bbbs_foo and bbbs_cccs_foo, and the following SQL columns from a Spring JDBC query:
bbbs_foo, bbbs_bar, bbbs_cccs_foo, bbbs_cccs_bar
I keep getting this error:
Could not find Getter for ColumnKey [columnName=bbbs_foo, columnIndex=1, sqlType=12] returning type interface Aaa$Bbb path bbbs.{this}. See https://github.com/arnaudroger/SimpleFlatMapper/wiki/Errors_CSFM_GETTER_NOT_FOUND
I believe it's due to the nested object being an Immutables object as well, but I'm out of ideas at the moment
I'm a fair bit puzzled as to how I can map this class correctly. I have the following class structure (using Immutables):
with keys on
bbbs_foo
andbbbs_cccs_foo
, and the following SQL columns from a Spring JDBC query:I keep getting this error:
I believe it's due to the nested object being an Immutables object as well, but I'm out of ideas at the moment