wood burning stoves 2.0*
The moose likes Testing and the fly likes Junit test in Oracle Database function Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Junit test in Oracle Database function" Watch "Junit test in Oracle Database function" New topic

Junit test in Oracle Database function

raka oscr

Joined: Mar 02, 2013
Posts: 25

The above mentioned code is my java code to pass the parameters in pl/sql function. I need to test this function using Junit test. How can I test this dynamically using Junit test methodology. I am unaware of Junit test. Can anyone please guide me?

Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30116

I recommend getting a book like "Test Driven" that gives examples of how to use JUnit to test database code. For learning JUnit itself, you can use the online tutorials. Or you could start with the tutorials and test a simpler method first.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
It is sorta covered in the JavaRanch Style Guide.
subject: Junit test in Oracle Database function
Similar Threads
Java won't send SQL query
Connection Pooling
doubt in creating connections..
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
java stored procedure problems