Flush « Connection « JPA Q&A





1. is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'    stackoverflow.com

We are using the hibernate and we are test with the test cases we are getting the below error like is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' Please suggest.. ...

2. Not getting auto-flush behavior with a JNDI datasource    forum.hibernate.org

Hi, if i configure the connection with the property "connection.url" i get the auto-flush behavior as expected. But, if i configure the connection with the property "connection.datasource" hibernate stops auto-flushing which means i can't see the results of any write operation i perform. I've tried setting "transaction.flush_before_completion" to true but i still get the same behaviour. I'm using Hibernate 3.3.1.GA Any ...