将数据库与应用程序链接 [英] Link database with application

查看:117
本文介绍了将数据库与应用程序链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应用程序可以显示来自oracle企业管理器的日志详细信息?如何链接这两个应用程序和数据库?目的是使管理员易于审核用户.我正在使用jsp/servlet

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

推荐答案

使用LogMiner分析重做日志文件 [ ^ ] @ Oracle数据库实用程序文档
At least try to google it[^]

First hit is this: Using LogMiner to Analyze Redo Log Files[^] @ Oracle Database Utilities Documentation


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");
   }


这篇关于将数据库与应用程序链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆