stored procedure calls etc. Frequent switches between the two
contexts will hurt performance seriously. Reference [37] proposes
a way to partition database applications into two parts: one part
runs on the application server, the other part runs on the database
server.