Dods: features
Jesse Vitrone <[email protected]> Thu, 20 Feb 2003 22:23:30 -0500
| Newsgroups | gmane.comp.java.enhydra.dods |
|---|---|
| Message-ID | <[email protected]> |
I hate to post a question like this w/o reading all the docs first, but
we're short on time to convince my boss to use an O/R mapping tool.
There are 2 key features that we can't seem to find in other open source
tools, and I'm hoping you guys have them.
Simplified examples of what we need:
1) I have class Person that has a String firstName and String lastName
on it. Person.firstName is stored on table_A and Person.lastName is
stored on table_B. Does DODS let me populate 1 class from multiple tables?
2) We have:
class Person {
int id;
String firstName;
String lastName;
}
class Patient extends Person {
String illness;
}
We have Person and Patient tables, both with a primany key "id" column.
When I load a "Patient" with a given ID, I need to be able to give the
"id" that's on the Patient table, not the Person table.
We've tried Hibernate and OJB so far, and neither seems to be able to
handle these situations.
I don't really need an explination of how to do these things with DODS.
Just a "yes we can do that" would be great, then I can dig into the
docs and see how. It's just with the way work is right now, I don't
have the time to dig into the docs, searching for features that don't exist.
Thanks in advance,
Jesse