@Test
public void test_PROCEDURE() throws Exception{
Class .forName( "com.mysql.jdbc.Driver");
Connection connection = DriverManager.getConnection( url, user, password);
CallableStatement callableStatement = connection.prepareCall( "call
SELECT_TESTTWO(?,?)");//调用存储过程
callableStatement .setLong( 1, 1 );
callableStatement .registerOutParameter( 2, Types.VARCHAR);
callableStatement .execute();//执行存储过程
// Assert.assertNotNull(callableStatement);
System .out. println(callableStatement .getString( 2));
}