Hi, I'm currently using netbeans + Hibernate + DB2 on a projet, but I have not been able to connect to DB2 database on this configuration.
I'm trying to get the connection ready on the creation of the project, but got stuck on the step 4 of the wizzard. I added the Hibernate framework, selected new database connection, and got a new dialog window. There I picked the IBM DB2 Universal driver that is in C:\Program Files\IBM\SQLLIB\java, put the data of my database and when trying to connect I get this error:
Unable to add connection. Cannot establish a connection to jdbc:db2://localhost:50000/TOOLBAR using com.ibm.db2.jcc.DB2Driver ([jcc][t4][201][11237][4.9.78] Connection authorization failure occurred. Reason: Security mechanism not supported. ERRORCODE = -4214, SQLSTATE=28000).
The DB2 setup was done with the default settings.
Does anyone know how to solve this?
Thanks in advance.
|