Fast and Easy mapping from database and csv to POJO. A java micro ORM, lightweight alternative to iBatis and Hibernate. Fast Csv Parser and Csv Mapper
435
stars
76
forks
source link
Join with List of inheritance example #705
Closed
moifort closed 4 years ago
I just create this issue only for documentation or maybe to know if is the best way to do it.
So this is my sample I try to use inheritance with join mapping, and I take some time to make it work. Hope this sample will help other like me!
I know is not the perfect way to implement it, but it's for the example. Hope I will help all the developers!
Implementation
AttributeType
described byList<Rule>
Rules
implemented byListRule
,MinRule
,MaxRule
,StepRule
Java
DB schema and data
attribute_type
tableattribute_type_rules
tableCode
SimpleFlatMapper
Sample
Result