Examples of unSetSQLExpression()


Examples of com.p6spy.engine.logging.P6LogLoadableOptions.unSetSQLExpression()

    final P6LogLoadableOptions opts = P6LogOptions.getActiveInstance();
   
    opts.setSQLExpression("foo");
    Assert.assertEquals("foo", opts.getSQLExpression());
    Assert.assertNotNull(opts.getSQLExpressionPattern());
    opts.unSetSQLExpression();
    Assert.assertNull(opts.getSQLExpression());
    Assert.assertNull(opts.getSQLExpressionPattern());
  }
 
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.