arnaudroger / SimpleFlatMapper

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
http://simpleflatmapper.org
MIT License
437 stars 76 forks source link

disable speculative index property finding by default #665

Closed arnaudroger closed 5 years ago

arnaudroger commented 5 years ago

for a class

class A {
   List<B> cols;
}
class B {
  String a;
}

for the following column cols_a,cols_b it will map

cols_a -> cols[0].a
cols_b -> cols[1]

which can be quote confusing when dealing with mismatched property on joins.