Below are the bugs which we found while working with JDeveloper 184.108.40.206.0 and their corresponding work arounds
In JDeveloper 12c there is a feature called add custom operator in view criteria, default operators are commonly using in many places, in some cases we need to have additional operators.
In sql developer we can use In clause parameter directly which jdeveloper doesn’t have by default.
Recently I had migrated the MAF app for one of our client to IOS 9.2 using MAF 2.2.1 and found the issue like below.
The resource could not be loaded because the App Transport Security policy requires the use of a secure connection
Below are the steps to fix the issue
The main complaint against the JDeveloper is that it is very slow..Yes, of course you can increase the heapsize and use 64 bit jdk to speed up the slow jdeveloper.
But still the design view for the page and page fragment is very slow.Sometimes it hangs and creates lot of frustration among the ADF developers.Here is the way you can set the default view as source view for the page and page fragment.
The navigations were slightly confusing in 12.1.3 JDeveloper..Here is the screenshot for the same.
I had a requirement to move a bunch of personalization from one instance to another in my current project.I did lot of googling as well as raised an SR with oracle to find the best way to move the personalizations from one instance to another..And then I gave up on it for sometime and later while researching on a different topic I found out the best way to move adf saved queries and user personalization.
It is as simple as export from the source instance and import into the destination MDS using the EM Console.Let me show the steps here..
I got really excited to hear the news that Oracle JDeveloper 12c released finally.I tried to install the 12c jdeveloper to get my hands dirty but couldn’t even install it :(.
On windows, installer quit abruptly without any error message and on MAC, what the heck happened I don’t even know.Here is the solution to install them successfully on MAC and Windows.
In the last article, I had taken you through the steps required to source control your Oracle ADF apps with the help of code.adfapps.com repository and subversion.Let me show you how to checkout an existing oracle adf project from the code.adfapps.com subversion repository.
High level steps:
1) Connect to Subversion repository using the credentials
2) Open up the Versioning Navigator in the JDeveloper
3) Open up your repository and go to (Trunk or Branches or Tags)
4) Checkout the appropriate project folder by right click on the folder and say checkout
Below are the steps in detail:
In the last article, we had seen how to deploy Oracle ADF app to the java cloud from jdeveloper.In this article, let us create some objects in model project with the Department and Employees table from oracle XE database to deploy those tables to the database cloud.Once you migrate the required tables from the XE database to Database cloud, we can deploy our ADF app to javacloud.
Here are the high level steps.
1) Develop your ADF app locally connecting to the Oracle XE database
2) Migrate the referred tables to the associated database cloud
3) Modify the Root AM’s datasource to database.
4) Deploy the ADF app to the Java Cloud.
It is a very rare sight that a project team with more than 2 developers doesn’t have any source control in place while working on an Oracle ADF development project.If you don’t have source control for Oracle ADF development, then your project needs a better project manager and architect :).
I had created a small project to demonstrate source control with Oracle ADF jdeveloper’s native support for subversion(SVN).We will use the code.adfapps.com for our subversion project hosting.
Below are the high level steps..
1) Create a manual connection to subversion repository from Jdeveloper
2) Click on the Application menu and say version application.
3) Select the repository connection and choose whether to version control to trunk,tags or branch(Put it in Trunk for the first time)
4) That’s it.. We are done with source control..No, there are lot of challenges still.We will cover them one by one in the 5 part series.
For now, let us look at the above steps in detail.
Oracle public cloud simplifies the process of deploying your application and keep it running without much of a headache specially if you don’t have full fledged IT team to maintain the application.You need to register for Oracle Cloud Java Trial account with the below url.
Once the trial activation is done, you will receive username/password to login to identity console(Probably in your junk email :) )
Let us go over the steps in detail.
This is a very interesting issue which totally got me stumped as the application was working perfectly fine in 220.127.116.11 and then migrating the app to 18.104.22.168 resulted in the below error while uploading the file to a blob column.
Cannot create an object of type:oracle.jbo.domain.BlobDomain from type:weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB with value:weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB@114
Solution is as below.
In the last part of this series, I had explained you about how to checkout an Oracle ADF project from subversion and run the page from JDeveloper.In this part, I will explain you how to make changes to the checkout project and commit changes to the subversion repository using the pending changes tab in JDeveloper.
High Level steps:
1) Make a change to the jsf page
2) Open up the pending changes tab
3) Select the changed files and click on commit button
4) Provide a commit message to commit the changes to repository.
Above steps in detail:
This is the feature you must have been used to if you had used forms developer and I missed this with the previous version of jdeveloper, specially during the OAF development days.But here is the relief in the 11g version of JDeveloper.I noticed this option while opening the jdeveloper 11g version 22.214.171.124 and came as a tip in jdeveloper.
Lets see how we can use this option.
I had faced an issue with resource bundle variable resolver library after upgrading adf from 126.96.36.199 to 188.8.131.52.
Caused by: java.lang.ClassNotFoundException: javax.faces.el.VariableResolver
at java.lang.ClassLoader.defineClass1(Native Method)
This course is available on the below link now.
There is a huge form user has filled up and suddenly by mistake she clicked on another button in the page which took her to another page.All her changes are gone..This will be a typical scenario which could have been handled in the development stage, if the team knows the best practices around the web page development.Now you know the use case and lets see how we can implement the solution in Oracle ADF.
It is indeed a pain to work in an Oracle ADF project where there are multiple developers and everyone names their objects according to their wish.We had the same kind of issue in my previous Oracle ADF Development project.This has to be the first priority before even starting the coding.If not, you are in for a big shock when you look at the object names in future :)
Oracle JDeveloper comes with a great feature to tackle this scenario and does a wonderful job.Let us look at the steps to implement the same.
History columns in Oracle ADF is a very convenient builtin functionality which takes out a little bit pain out of the developers to maintain the who columns.It is very simple to implement and have to be done at the Entity Object level.Below are the list of History or WHO columns available in Oracle ADF.