It is only impossible if you want referential integrity John Davidson
On Tue, Feb 8, 2011 at 1:10 PM, Fabio Maulo <[email protected]> wrote: > Jason, > apparently he need a table where connect entities coming from two different > DBs. > > > On Tue, Feb 8, 2011 at 2:35 PM, Jason Meckley <[email protected]>wrote: > >> are the databases on the same server (MS SQL or Oracle) if so then you can >> map the domain to multiple tables/schemas within on session factory. if the >> databases are on separate servers and/or different vendors then you will >> need to use 2 session factories. using the second approach you will also >> need to merge the employee into the 2nd session. >> >> Personally i would try to handle this completely differently so that an >> given operation only has knowledge of a single session. the information is >> then either transient, or references the session. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "nhusers" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/nhusers?hl=en. >> > > > > -- > Fabio Maulo > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
