Hibernate Team |
 |
Joined: Tue Aug 26, 2003 3:00 pm Posts: 1816 Location: Austin, TX
|
I was thinking more of database links in Oracle. Is there a similair concept in SQLServer/Sybase? I mean how would the server running database_1 know how to resolve a reference to database_2?
How would you do the above in JDBC? When you try the mappings you posted with the query, you say "it doesn't seem to work". In what way, exactly, does it not work? Do you get an exception? What does the generated sql look like?
Have you looked at the "schema" attribute of the class element in the mapping document? Will that work?
Sorry, I seem to have more question for you... ;) But I don't know SQLServer very well.
|
|