Hibernate includes:
- a Statistics interface (org.hibernate.stat.Statistics) and
- a StatisticImplementor interface (org.hibernate.stat.spi.StatisticsImplementor) that extends the first interface, and
- a StatisticImpl class (org.hibernate.stat.internal.StatisticsImpl) that implements StatisticsImplementor
If I want to use a custom implementation of the interface StatisticsImplementor, how can I get Hibernate to use instances of that class?
Is there some Factory I override to produce my customized StatisticImpl? Or some configuration field where I giveits fully qualified class name?
My goal is for Hibernate to use my custom class anywhere it would currently use the out-of-the-box StatisticImpl.
Thanks,
Tom