Hi,
I'm planning an application and am evaluating Hibernate because I'm thinking about possibly using ot for that. My application provides an abstract access to a database (read-only). It's supposed to be able to read data from any tables and return an object with an array property containing the values (like "name" => "dsds", "date" => Date Object etc). That means I want to be able to map any tables to always the same object (of course I don't want to create the classes to map with a one-class-per-table approach everytime I configure a new table). I hope the explanation was understandable.
Does anybody know if or how I could do that using Hibernate? I think it would provide me with a lot of functionality. Would it be maybe sufficient if I would just write my own Loader or Persister class?
|