A user will be able to select the database they want to connect to from a drop down box.The program then connects to the database by passing the name to a method that creates an initial context so it can talk with an oracle web logic data source.
and what are the merits and demerits of having more than one session factory.
Now question arise why we should not create more than one session factory in an app.??
For the latest documentation on Visual Studio 2017, see Save data to a database (multiple tables) on docs.
One of the most common scenarios in application development is to display data on a form in a Windows application, edit the data, and send the updated data back to the database.
My problem is what happens if say someone forgets to create the data source for the database but they still add it to the drop down box?