Skip to Main Content

Java Database Connectivity (JDBC)

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 and sql CONCAT_WS

843859May 7 2007 — edited May 7 2007
I am using a JTable to display tables from a mysql server
and this is what happens
Everything works fine except when in my views i have a collumn which is made fom a concatenation
Here is an example: CONCAT_WS(':',SW.NAME,B.NAME,SP.PORT)
this in my table is display as [B@2cdf...
while CONCAT_WS(':',SW.NAME,B.NAME)
is display as aswitch:aname which is exactly what i want
Can somebody tell me why java or jtable do not like more than 2 attribute for the concat
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 4 2007
Added on May 7 2007
2 comments
171 views