Skip to content

Commit

Permalink
internal db package removed
Browse files Browse the repository at this point in the history
  • Loading branch information
oboehm committed Jan 9, 2019
1 parent e692b48 commit 1b825ac
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 5,119 deletions.
Expand Up @@ -20,12 +20,10 @@

package patterntesting.runtime.monitor.db;

import clazzfish.jdbc.monitor.ProfileMonitor;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import clazzfish.jdbc.monitor.ProfileMonitor;
import patterntesting.runtime.monitor.ProfileStatistic;
import patterntesting.runtime.monitor.db.internal.StasiPreparedStatement;
import patterntesting.runtime.monitor.db.internal.StasiStatement;
import patterntesting.runtime.util.Converter;
import patterntesting.runtime.util.StackTraceScanner;

Expand Down Expand Up @@ -170,7 +168,7 @@ public static void stop(final ProfileMonitor mon, final String command, final Ob
+ mon.getLastTime();
if (LOG.isTraceEnabled()) {
StackTraceElement[] stacktrace = StackTraceScanner.getCallerStackTrace(new Pattern[0],
SqlStatistic.class, StasiStatement.class, StasiPreparedStatement.class);
SqlStatistic.class, clazzfish.jdbc.internal.StasiStatement.class, clazzfish.jdbc.internal.StasiPreparedStatement.class);
LOG.trace("{}\n\t{}", msg, Converter.toLongString(stacktrace).trim());
} else {
LOG.debug("{}.", msg);
Expand Down
Expand Up @@ -28,7 +28,9 @@
*
* @author oliver
* @since 1.4.2 (16.04.2014)
* @deprecated since 2.0, use {@link clazzfish.jdbc.SqlStatisticMBean}
*/
@Deprecated
@Description("SQL statistic for different SQL statements")
public interface SqlStatisticMBean extends ProfileStatisticMBean {

Expand Down

0 comments on commit 1b825ac

Please sign in to comment.