jdbc with a UDF

2007-06-05 Thread Dave G
I'm getting what appears to be a java reference back from values I return
from a UDF.  The values appear find using php, and in the mysql client. 
The result looks something like:

[EMAIL PROTECTED]

The result should be a string (some representing floats, others as integers).

Any help will be appreciated.  I searched on google and only found where
another person had the same problem, but no solution.

Dave G.




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: jdbc with a UDF

2007-06-05 Thread Dave G
Thanks for the reply.  I tracked the problem down.  Simple problem really,
I was using an old mysql-connector-java jar.  I updated that to the
correct version for my database and it all worked.

What version of of the JDBC driver are you using?
  Good question to ask.  I asked myself that very question shortly after
emailing the list.

Thanks

David Godsey

 Perhaps you could show us the Java code you are using to invoke this
 UDF?  What are you expecting to get back form it? a result set? a
 return code from a function? What version of of the JDBC driver are
 you using?

  - michael


 On 6/5/07, Dave G [EMAIL PROTECTED] wrote:
 I'm getting what appears to be a java reference back from values I
 return
 from a UDF.  The values appear find using php, and in the mysql client.
 The result looks something like:

 [EMAIL PROTECTED]

 The result should be a string (some representing floats, others as
 integers).

 Any help will be appreciated.  I searched on google and only found where
 another person had the same problem, but no solution.

 Dave G.




 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]




 --
  - michael dykman
  - [EMAIL PROTECTED]

  - All models are wrong.  Some models are useful.




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]