由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - How to get all tables in a schema in Oracle 9i using its JDBC driver?
相关主题
Java调用Oracle存储过程的问题Java GC 为什么不能自动释放jdbc connection?
newbie questionjava后端开发
自己写一个Oracle的JDBC driverJDBC/stored procedure读取性能问题
Quick jdbc question, help needed, thx!Re: OR mapping
MySQL JDBC 问题关于Exception,Catch
JDBC如何获取新加入的记录的索引java.lang.OutOfMemoryError: Java heap space in DB query
用jdbc从oracle pull out的row data怎么分页显示Desperately need help on DB2 connection through jdbc in jsp page
Java笔试题分享-Database[转载] Question 1: refresh view of database?
相关话题的讨论汇总
话题: oracle话题: jdbc话题: 9i话题: tables话题: schema
进入Java版参与讨论
1 (共1页)
f*******4
发帖数: 345
1
I tried DatabaseMetaData.getTables(catalog, schema, "%", new String[]{"TABLE
"}) and got nothing.
I used ResultSetMetaData.getSchemaName(column) and got an empty String.
Anything wrong with the code or Oracle 9i JDBC driver hasn't implemented
those APIs properly?
f*******4
发帖数: 345
2
TABLE
I got it, that was because I didn't specify catalog properly. BTW: I found
out the catalog names using DatabaseMetaData.getSchemas().
But the problem now is, the tables I got are like this
ATSI_CODES
BIN$J5XxEKjaSRfgQAtua5lq1w==$0
BIN$J5XxEKjkSRfgQAtua5lq1w==$0
BIN$J5XxEKjvSRfgQAtua5lq1w==$0
COUNTRY_CODES
ESL_PHASES
EVIDENCE_TYPES
What are those with '$' in them ?
Any nice way to filter them out from the ResultSet?
M*****r
发帖数: 1536
3

They are deleted tables in Oracle recyclebin.

【在 f*******4 的大作中提到】
: TABLE
: I got it, that was because I didn't specify catalog properly. BTW: I found
: out the catalog names using DatabaseMetaData.getSchemas().
: But the problem now is, the tables I got are like this
: ATSI_CODES
: BIN$J5XxEKjaSRfgQAtua5lq1w==$0
: BIN$J5XxEKjkSRfgQAtua5lq1w==$0
: BIN$J5XxEKjvSRfgQAtua5lq1w==$0
: COUNTRY_CODES
: ESL_PHASES

s**o
发帖数: 584
4
purge recyclebin

【在 f*******4 的大作中提到】
: TABLE
: I got it, that was because I didn't specify catalog properly. BTW: I found
: out the catalog names using DatabaseMetaData.getSchemas().
: But the problem now is, the tables I got are like this
: ATSI_CODES
: BIN$J5XxEKjaSRfgQAtua5lq1w==$0
: BIN$J5XxEKjkSRfgQAtua5lq1w==$0
: BIN$J5XxEKjvSRfgQAtua5lq1w==$0
: COUNTRY_CODES
: ESL_PHASES

1 (共1页)
进入Java版参与讨论
相关主题
[转载] Question 1: refresh view of database?MySQL JDBC 问题
Problem running Oracle stored procedure in JavaJDBC如何获取新加入的记录的索引
请问hibernate这个功能如何实现?用jdbc从oracle pull out的row data怎么分页显示
oracle help: pass array to oracle SPJava笔试题分享-Database
Java调用Oracle存储过程的问题Java GC 为什么不能自动释放jdbc connection?
newbie questionjava后端开发
自己写一个Oracle的JDBC driverJDBC/stored procedure读取性能问题
Quick jdbc question, help needed, thx!Re: OR mapping
相关话题的讨论汇总
话题: oracle话题: jdbc话题: 9i话题: tables话题: schema