Thursday 27 August 2015

ADF BC With No Database Connection

Sometimes user need programmatic View object with no database connection.

If you want to disable database access for ADF BC application, you will need to update bc4j.xcf. I would recommend to update this file from outside, not from JDeveloper - otherwise you may experience errors - seems like JDeveloper IDE is constantly scanning changes from bc4j.xcfg. Make sure to update bc4j.xcfg, for example RequiresConnection=false





Update <Custom JDBCDataSource="java:comp/env/jdbc/Connection1DS"/> with <Custom RequiresConnection="false" password=""/> at both the places. 

No comments:

Post a Comment