Count(*) returns 'Column 'Count' not found' SQLException

I am trying to get the count from a table using the following:

String query = "SELECT COUNT(*) FROM myTable;"

I know that the connection is open and working because I am getting back an SQLException:

'Column 'Count' not found' .

The same command works fine at the command line. I would be grateful for any suggestions as to why JDBC sends my app searching for a field named count in my table whereas the command line returns the expected number.

Thanks.

[494 byte] By [Hitokiria] at [2007-11-27 10:05:05]
# 1
Found the problem, which is mainly my own stupidity . Is it one of Murphy's laws that the quickest way to find the solution to a problem if first embarrass yourself by asking foolish questions? Sorry to have bothered anyone.
Hitokiria at 2007-7-13 0:40:04 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2
Yes, it is.
BalusCa at 2007-7-13 0:40:04 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...