How to access database with Oracle ADF
-
25-10-2019 - |
Question
I'm learning how to use ADF to build a webservice based desktop application.
I already have the code that sync webservice data with local derby database(for cache) from exist project.
Is there anyway to access database directly via ORM/entity or something that ADF generated?
Is creating JPA persistence unit xml files & Toplink sessions a correct way coding with ADF applications?
Solution
(Not sure I've understood you correctly)
To create database connection:
- Application Navigator -> Application Resources panel
- right click on Connections folder -> New connection -> Database...
Then you create Application Module, put Entity Objects there and so on
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow