appcontext added insted of pure jdbc connection