[jboss-user] [JNDI/Naming/Network] - SQL query missinterperted in JBOSS. How can I correct it?

badam571 do-not-reply at jboss.com
Thu Aug 21 16:25:27 EDT 2008


Hi everyone

This is really an embarassing issue. I am using JBOSS & Sybase.  In the following statement:

Statment stmt = connection.createStatement();
boolean results= stmt.execute(sqlCommand);


When I ran the query directly from sql client, it ran correctly.  But when ran it from the application, it missed interperted the sql statement. Any concatenated parameter name with white spaces was wrongly read.

Is there anyone has any idea?

Best Regards
badam571

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171879#4171879

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171879



More information about the jboss-user mailing list