[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-6984) some statistics are incremented even when stats are disabled

Gail Badner (JIRA) noreply at atlassian.com
Wed Feb 8 00:54:12 EST 2012


     [ https://hibernate.onjira.com/browse/HHH-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gail Badner resolved HHH-6984.
------------------------------

    Resolution: Fixed

Backported to 3.6 branch.

> some statistics are incremented even when stats are disabled
> ------------------------------------------------------------
>
>                 Key: HHH-6984
>                 URL: https://hibernate.onjira.com/browse/HHH-6984
>             Project: Hibernate ORM
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 4.0.1
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>             Fix For: 3.6.10, 4.1.0
>
>         Attachments: HHH-6984_3_6.patch
>
>
> 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 (all of the non-zero stats should be fixed):
> {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