Im using an odbc-jdbc bridge in my project and I need select 2 pieces of data from the database and save the data to 2 variables on th开发者_开发知识库e java side of my application. Here is an example
I wasnt quite sure how to word the title so sorry about that. I am trying to load some start and stop schedule times into a database but sometimes a start and stop time for the same system will overla
i have DB where some names are written with Lithuanian letters, but when I try to get them using java it ignores Lithuanian letters
I am trying to convert serialclob to string. But I am not successful. I think I am not doing in the correct way. My code is:
When trying to connect the access db i get this error: [Microsoft][ODBC开发者_JAVA技巧 Driver Manager] Data source name not found and no default driver specified
I have the followi开发者_运维技巧ng code which compiles fine but when it runs then it throws the exception that java.lang.ArrarIndexOutOfBoundsException:11, please if you could help what is wrong it w
when I connect to database and execute a query, then if there occurs any exception then I want to fetch only the reason of exception not the full message , so that in my log I can log only the reason
We have c3p0 connection pooling for Sybase.It works fine on Tomcat 7.0 on a 32-bit server.Once we run it on a 64-bit server with tomcat and jre both installed under 64-bit , it throws:
I have very simple code: pstat=con.prepareStatement(\"select typeid from users where username=? and password=?\");
I may be looking for the equivalent of the JDBC-ODBC bridge with the inverse behaviour so that an ODBC query, for example, is translated into a correspond开发者_Python百科ing JDBC query. Does such a t