A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Query working in sql worksheet but in the program
Joined: Oct 24, 2013
Feb 04, 2014 18:08:04
yesterday I got a very strange error.
my worked fine in sql worksheet but query didn't work in eclipse.
resultset had no element.
In sql worksheet with same query i got 2 elements.
I've cleaned the project and pressed build all.thereafter I restarted eclipse but I got
same very peculiar output.I dunno how to resolve this problem.
pleas help me out.
thanks in advance.
Joined: May 26, 2003
Feb 04, 2014 20:14:15
The first things to check are:
1) Are you pointing to the same database?
2) Are you using the same user id to connect?
3) Is the data committed?
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: Query working in sql worksheet but in the program
My query works fine at Oracle prompt..fails in JSP page
When Session Closed Data Will be Lost in Hibernate
Strange behaviour when using Oracle TO_CHAR to get day of week
JDBC INSERT error
Sorting problem with HibernateSqlQuery with Websphere
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014