DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704

I created local database in DB2 called “TestDB” then I created table called “TestTable“.I found that the table is put under schema name is “yasmin“.I am trying to connect to the DB2 database using JDBC but I got this exception I tried many solutions on the internet Like set schema but unfortunately doesn’t work. This is the JDBC code … Read more

No more data to read from socket error

For errors like this you should involve oracle support. Unfortunately you do not mention what oracle release you are using. The error can be related to optimizer bind peeking. Depending on the oracle version different workarounds apply. You have two ways to address this: upgrade to 11.2 set oracle parameter _optim_peek_user_binds = false Of course underscore parameters … Read more

Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

Cause: The error occurred since hibernate is not able to connect to the database.Solution:1. Please ensure that you have a database present at the server referred to in the configuration file eg. “hibernatedb” in this case.2. Please see if the username and password for connecting to the db are correct.3. Check if relevant jars required for … Read more