Bean to access any kind of database