We are doing some knowledge discovery in Databases in Java.
We have different databases we know nothing about.
An example scenario: We want to check if an entity has the property name and rename it. In python / js / dynamic languages that would be trivial:
if Object.hasKey(name) => Object.name = "Jordan"
Is there a way to store and manipulate generic objects at all in java? Obviously classes are out of the way, since we don't know the object structure. Hashmaps also don't cut it, because the object can have all SQL types as property-types, and Hashmaps are limited to homogeneous fields.