Problem running FirstExample,
September 2, 2009 at 2:15 PM
Nice tutorial sir. But it seems that I can't run the FirstExample properly
Exception in thread "main" org.hibernate.exception.GenericJDBCException:Cannot open connection at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92) ...(other errors) Caused by: java.sql.SQLException: Unable to connect to any hosts due to exception: java.net.SocketException: java.net.ConnectException: Connection refused
I tried to sniff the transaction through wireshark but no transaction is done between the db and the program.