ma and spline with DB connection