(maint) Update the jdbc functions in SqlDatabse

Prior to this commit ragtime was using deprecated jdbc functions for the
SqlDatabase record type. This commit updates these calls using the new
jdbc functions which pass the database mapping as an argument.