[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6984?page=c...
]
Scott Marlow updated HHH-6984:
------------------------------
Description:
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@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}
was:
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@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}
Summary: some statistics are incremented even when stats are disabled (was:
statistics for transactions are incremented even when stats are disabled)
some statistics 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 (all of the
non-zero stats should be fixed):
{quote}
[standalone@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