This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 225324 - No output fro resultSet
Summary: No output fro resultSet
Status: RESOLVED INVALID
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 7.0.1
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-25 09:27 UTC by kartik_1991
Modified: 2013-01-25 10:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image showing code and output (2.85 MB, image/bmp)
2013-01-25 09:27 UTC, kartik_1991
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kartik_1991 2013-01-25 09:27:24 UTC
Created attachment 130623 [details]
image showing code and output

i have used normal select sql query.
With help of statement i executed the query but in console there appears no output even though in SQL 10g XE console ,the query works fine.
please have a look at image and do tell me whether its my syntax error or defect in resultset
Comment 1 Jaroslav Havlin 2013-01-25 09:50:21 UTC
The "bug" is not related to NetBeans Database Support  at all, the problem is somewhere in your code or in configuration.

Are the data really available? Didn't you forget to commit inserted rows in the SQL console?

Consider asking for help in some Java or JDBC mailing list or discussion forum.
You could also get some advice on null handling and coding style.
Comment 2 kartik_1991 2013-01-25 10:23:25 UTC
i have checked the data in SQL and they are present.
is it possible that any java update in netbeans not compatible with oracle i m using.?
Actually almost same code was used in another program by me and it worked fine,but in this case the display is a problem.
Comment 3 Jaroslav Havlin 2013-01-25 10:37:57 UTC
(In reply to comment #2)
> i have checked the data in SQL and they are present.
> is it possible that any java update in netbeans not compatible with oracle i m
> using.?
I doubt it could cause this problem. You might have an incorrect JDBC driver, but I guess that some exception would be thrown to inform you that something went wrong.

> Actually almost same code was used in another program by me and it worked
> fine,but in this case the display is a problem.
This is not really related to the IDE you are using, it's a general Java problem. You can try to run your application outside of the IDE and the result will be probably the same.