File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes How Oracle's automated test load DB file? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "How Oracle Watch "How Oracle New topic
Author

How Oracle's automated test load DB file?

Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 289
We have to name the database access class to Data.java because the Oracle has an automated test run using Data instance.
In Data.java, we don't need to define a load data method to load the DB file. How can the automated test load DB file?
In Roberto's test, there is a DAOFactory class that loads all the data. But not everyone has DAOFactory to load the data.
Will I fail the automated test if I don't have a DAOFactory class?
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 4351

There is no requirement that the database file should be loaded.

The read()-method could simply open the file, move file pointer to record location, read the record and close the file. No need to load database file.

A DAOFactory is not a (must) requirement, so you won't fail if you don't provide one.


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How Oracle's automated test load DB file?
 
Similar Threads
NX: Two questions
add new method in Interface DB
Official Replies from Sun Microsystems
DAOFactory.getDbManager
B&S Database Access Design