0 - 2 of 2 tags for jdbc connectivity

Hi is it possible to use modify user statement in the prepared statement as like below.If it is wrong plz correct it....
PreparedStatement pstmt1 = con.prepareStatement("MODIFY USER '"+username+"' AS release password lock;");

I launched a Teradata 14 express on Amazon ec2 following instructions here: http://developer.teradata.com/database/articles/teradata-express-14-0-for-ec2-config-guide
When I try to connect through JDBC from an app, I get the following error. (This used to work fine with another instance last week.)