Menu
Date

2016

How to Export or Import oracle database using CLI

SQL, Unix By Dec 20, 2016 No Comments

Oracle database is providing some command line tools to import or export any schema , data of a schema or the total oracle database from one to another. These tools come along with the oracle database installation by default.Exporting: There are two command tools to export database exp and expdp. exp command: Open the console and give the exp command on…

Error: [ADF security error] The method getDBTransaction on class oracle.jbo.server.EntityImpl is not permitted

[JDev 12.2.1.0] I have created an EntityObject from database table and assigned an expression to its key attribute to get the value from a database sequance (See this post to know how to assign a db sequence to a property in entity object ). But while building the project, I got the below error. Error(11,53): [Static type checking] – [ADF security error]…

TypeError: h.apply is not a function

This is a Knockout JS error. I faced this issue when I am trying to invoke click action of a link created. My link statement is like below. <a data-bind=”attr:{id:Reqid},text: Title,click: $(‘#popup1’).ojPopup(‘open’, ‘#btnTitle’)”></a> And on click of this link, I am getting the below error. TypeError: h.apply is not a function This is because the click handler needs to be…

How to open device camera or picture gallery from Oracle MAF app

MAF provides a device feature method getPicture() to open the device camera or picture gallery. You can create binding to it if you want to open camera on the app. But if you want to handle this from java code in MAF, then check the below post.Below is the code should be used to access the camera from the java…

WindowManager: android.view.WindowLeaked: Activity has leaked window

While developing an android mobile app, I received this error. In the mobile app, on click of back button, a dialog will be opened with few buttons including “Exit”. On click of exit, I have given (Activity context).finish(); but it is throwing the below error.WindowManager: android.view.WindowLeaked: Activity <app package> has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{45500950 V.E….. R……. 0,0-640,929} that was originally added here…

How to invoke HTTP methods like PUT,PATCH and DELETE using HttpURLConnection

     I am invoking REST web services using HttpURLConnection. Few of the rest services have operations like PUT, PATCH, and DELETE. While passing these methods in setRequestMethod() of HttpURLConnection object, I am getting the below error in response. java.net.ProtocolException: Invalid HTTP method: PATCH To avoid this error and to let the HttpURLConnection execute these methods, there is a workaround…

Cordova Plugin is not added to Oracle MAF

Issue: I faced an issue where I could not able to add few cordova plugins to Oracle MAF application. I could able to select the plugin but after selected, it is not added to MAF and not showing any error also.Solution: Check the value of the attribute xmlns of the tag plugin in the plugin.xml file under the corddova plugin folder. Generally it…

Adding a custom css/skin file to a Oracle MAF application

When we want to apply our own css to a Oracle MAF application, we need to configure a custom css file to it. Below is the procedure to know how to add a custom css/skin file to a MAF application. Right click on ApplicationController project -> select CSS File -> enter css file name. Below is the default path of…

How to integrate or configure InAppBrowser Cordova plugin in Oracle MAF

I have created a video to show how to integrate a Cordova plugin in Oracle MAF to show InAppBrowser in a mobile app. Click here to watch the video. This video also shows the procedure to integrate any other Cordova plugin with the Oracle MAF.The MAF version 2.1 with JDeveloper 12c is used in this example. Below are the steps to…

Hi, Welcome here.
JOIN OUR NEWSLETTER
And get notified everytime we publish a new blog post.