RutledgePaulV / q-builders

Type safe database agnostic query builders.
MIT License
55 stars 26 forks source link

Enums fields don't work with the java.util.Predicate visitor #9

Closed RutledgePaulV closed 8 years ago

RutledgePaulV commented 8 years ago

This is due to the way that the predicate visitor accesses fields via name on the java objects (by converting to a jackson json node and traversing by path). Instead we should really be using an object graph framework that just accesses the field directly.

RutledgePaulV commented 8 years ago

Resolved by switching to apache-commons FieldUtils