Front-end team keeps saying that they would write multiple queries in the Java layer itself instead of calling a procedure.
I feel that a procedure should be written if logic has more than 1 query.
I keep saying that if there is any error then it would be difficult to debug the code since it is written in Java.
What is your view on this , is it good to write DB logic in Java ? , Pls suggest