Click here to Skip to main content
15,889,651 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
It is possible for application to display log detail information from oracle enterprise manager?how to link those two application and database?the purpose is easy for admin to audit the user. I'm using jsp/ servlet
Posted
Updated 29-Nov-11 22:39pm
v4

At least try to google it[^]

First hit is this: Using LogMiner to Analyze Redo Log Files[^] @ Oracle Database Utilities Documentation
 
Share this answer
 
Connection con = DriverManager.getConnection (
                     "jdbc:odbc:wombat", "login", "password");
   Statement stmt = con.createStatement();
   ResultSet rs = stmt.executeQuery("SELECT a, b, c FROM Table1");
   while (rs.next()) {
       int x = getInt("a");
       String s = getString("b");
       float f = getFloat("c");
   }
 
Share this answer
 
Comments
TorstenH. 30-Nov-11 5:39am    
he does not want to read from the database - he wants to see the log.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900