I have lot of select queries to integrate with my
java code.
I have two options to select within :
1. Store procedure which returns cursor
2. Prepared statements
Which one should I use ? Which one is the fastest and a correct approach?
Can java experts please put some pros and cons of both approaches?