To remove Hibernate methods completely:
1. Go to Foglight | Application Servers Administration | Java Administration | Agent configuration tab | Edit instrumentation settings.
2. Comment out the entire hibernate custom component in the instrumentation.config.
3. Restart Jboss Application Server.
To remove some Hibernate methods:
1. Go to Foglight | Application Servers Administration | Java Administration | Agent configuration tab | Edit instrumentation settings.
2. Exclude those hibernate methods that are called the most in the instrumentation.config.
3. Restart Jboss Application Server.