Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java Mysql query problem

807606Apr 15 2007 — edited Apr 16 2007
Hy .
I am executing a query from a Jframe and the result are displayed in a JTable. The problem is the following: in the db table I have an IP address stored as an Integer , and in order to see the ip "correctly " x.x.x.x , I have to write in the select like this SELECT INET_NTOA(IP_SRC)......... ;
in Mysql the result are displayed ,also in Java when in the query is without INET_NTOA() there are data displayed , but when in JAVA the query has INET_NTOA () no data is being displayed!!
what can I do ???pls Help
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 14 2007
Added on Apr 15 2007
21 comments
314 views