aspose file tools*
The moose likes JDBC and the fly likes what wrong with 1=1 ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "what wrong with 1=1 ?" Watch "what wrong with 1=1 ?" New topic
Author

what wrong with 1=1 ?

Nakata kokuyo
Ranch Hand

Joined: Apr 13, 2005
Posts: 442
good day to all ,

can i know why i having error when i use the following query in my java application with mysql db ?



i get the following error :
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2510
    
  10

Originally posted by Nakata kokuyo:
good day to all ,

can i know why i having error when i use the following query in my java application with mysql db ?
...

...


You forgot the AND between two where clauses.

Regards, Jan


OCUP UML fundamental and ITIL foundation
youtube channel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what wrong with 1=1 ?