Updated to generic DAO

add support for oracle and sql server default providers