[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6984) statistics for transactions are incremented even when stats are disabled

Scott Marlow (JIRA) noreply at atlassian.com
Thu Jan 19 09:59:10 EST 2012


statistics for transactions are incremented even when stats are disabled
------------------------------------------------------------------------

                 Key: HHH-6984
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6984
             Project: Hibernate ORM
          Issue Type: Bug
          Components: core
    Affects Versions: 4.0.1
            Reporter: Scott Marlow
            Assignee: Scott Marlow
             Fix For: 4.1.0


if we build another 4.0.x, it would be good to fix in that also.

AS7 command line interface showing statistics when they should be disabled:

{quote}
[standalone at localhost:9999 /] /deployment=demo.war/subsystem=jpa/hibernate-persistence-unit=demo.war#loginDatabase:read-resource(include-runtime=true)
{
    "outcome" => "success",
    "result" => {
        "close-statement-count" => 0L,
        "collection" => undefined,
        "collection-fetch-count" => 0L,
        "collection-load-count" => 0L,
        "collection-recreated-count" => 0L,
        "collection-remove-count" => 0L,
        "collection-update-count" => 0L,
        "completed-transaction-count" => 7L,
        "connect-count" => 7L,
        "enabled" => false,
        "entity-cache" => undefined,
        "entity-delete-count" => 0L,
        "entity-fetch-count" => 0L,
        "entity-insert-count" => 0L,
        "entity-load-count" => 0L,
        "entity-update-count" => 0L,
        "flush-count" => 0L,
        "optimistic-failure-count" => 0L,
        "prepared-statement-count" => 7L,
        "query-cache" => undefined,
        "query-cache-hit-count" => 0L,
        "query-cache-miss-count" => 0L,
        "query-cache-put-count" => 0L,
        "query-execution-count" => 0L,
        "query-execution-max-time" => 0L,
        "query-execution-max-time-query-string" => undefined,
        "second-level-cache-hit-count" => 0L,
        "second-level-cache-miss-count" => 0L,
        "second-level-cache-put-count" => 0L,
        "session-close-count" => 0L,
        "session-open-count" => 0L,
        "successful-transaction-count" => 6L,
        "entity" => {"org.jboss.as.quickstarts.login.User" => undefined}
{quote}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list