Configuration and connections

If you before created connections directly to data sources, you will now use a connections pool and will be necessary to create the data source because you create connection using the data source identifier.


Creating data sources

You have two ways to do this, one of them is creating them using some utility of GNOME-DB or using API functions. Remember the little bug.

There is no problem about calling several times to this function because if you save an existing data source, it is replaced, so it could be advisable[1] to save the data source each time you want to create the connection.


Creating connections

You can see how to create a connection easily in a chapter above.

Notes

[1]But you must think of security if you distribute the source code because people would see the passwords of your databases.