Thursday, May 31, 2012

Re: sql statement works in local mysql dev instance, but not with google cloud sql

Try logging '[' + someid + "]" and also the byte values of each

something like:

System.out.println("value=[" + someid + "]; bytes=" + Arrays.toString(someid.getBytes("UTF-8"));

Rob


On Thu, May 31, 2012 at 11:02 AM, elmor <eric@ejahn.net> wrote:
pstmt.setString(1, someid);

No comments:

Post a Comment