posted 20 years ago
There can be a issue with table name.Since it is in lower case.
with example of oracle:
Let say I have a table named "mytable" in oracle.
and If I excute a query
select * from mytable --- it will work
but if I excute following query
SELECT * FROM USER_OBJECTS WHERE OBJECT_NAME='mytable'
It will not work because object name are stored in upper case .
try with
ResultSet rs=md.getPrimaryKeys(null,null,"STUDENT");
also try with adding the "table schema" in your code
[ March 03, 2005: Message edited by: Shailesh Chandra ]
Gravitation cannot be held responsible for people falling in love ~ Albert Einstein