简体   繁体   中英

hibernate session error

I use hibernate for persistence. when i call the method :

Session s = getCurrentSession();
s.flush();

i geth the following message :

[toString() unavailable - no suspended threads]

and it just stops running after the s.flush() method.

I'm using JBoss IDE 1.6 and the message is shown within the Variables window when debugging.

do you have any idea how to solve that ?

Doesn't the message say it all: toString() is unavailable as no thread is suspended. If you want to see the actual value in your debugging view, well, suspend a thread.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM