I'm trying to connect with nHibernate and Unhaddins in different machines , each has a database in Oracle. They have different tables with different database.
I'll need to read a table, let's call it as C_SM_SEND
.
Inside this Table, I have a column called Body
, that will contain a XML.
Another process will read this table, get this XML and will insert his values to another Table, let's name it as PC_TO_SM_PRIM_DATA
. Let's not worry about columns, or the names of Table.
What's matter now is: I'll have to read one table in one DB in one Machine => "MACHINE1/ORCL", reading a table named "C_SM_SEND", and insert values in another table of another DB of another Machine => "MACHINE2/SERV", writing a table named PC_TO_SM_PRIM_DATA.
Also, remember: The mapping of each table is different!
I've read some articles than explain how NHibernate connects to different machines, using uNHAddIns, none of what I've read worked.
My application is being made to standards MVVM, IoC, and also use the repository.
I've read also this article of Fabio Maulo, but no success:
Configure Session Factory Providers
Any help will be welcome.
Best Regards,
Gustavo.