In our application, we fire SQL queries from SB methods. Now whenever we change the query, we need to compile the SB and restart the application server.
To avoid the above scenario, we are planning to create oracle views and to fetch data just fire a "SELECT" on the view. If the query changes, we just have to modify the view, so there is no need to modify SB or restart the application server.
Are there any problems in using views or calling them through SB methods??
Your experience and answers will be highly appreciated.
We are using iPlanet Application server version 6.5 SP1 and database is Oracle 8i.