using jdbc and mySQL without throwing exceptions (1 reply)
Hi, i intend to use JDBC in order to connect to a mySQL database. Basically I got JDBC to work in order to read data out of the database and the use it! Now i wanted to use this quite simple...
View Articlequoted identifiers during table creation (1 reply)
When I give quoted identifiers in a PreparedStatement, I get the following error. I would really appreciate any input/advice. If this is not the right way, kindly recommend me an alternative to do...
View ArticleBrowse Large Table in Java? (1 reply)
Hi All, I am writing a Java program (AWT or Swing as interface) to show content of a large table in my mysql database on screen (let's say inside a JList). There is no way I can read the entire table...
View ArticleForward Only navigation in large tables (no replies)
Hi, I need to retrieve several large (>300k rows) results from 100 tables. Each of these tables has 101 columns. Does any of you have an idea about the best strategy ? I am currently planning to...
View ArticleA strange problem while use PreparedStatement in mysql jdbc driver (1 reply)
code is on list: String sql = "select stockid, sum(stocknumber) total from fundstockdetail where quarter=? group by stockid "; st =con.prepareStatement(sql); st.setInt(1,quarter); ResultSet...
View ArticleCaching of "SHOW CREATE PROCEDURE" (1 reply)
It seems that the connector send "SHOW CREATE PROCEDURE" before _all_ calls to procedures. I don't know the impact of this on the server but it seems very unnecessary to do this _all_ the time. Is...
View Articleerror with function (1 reply)
I have made a function nextval to work like the the oracle nextval. I call this from ibatis. this intermittently gives me the following error Caused by: java.sql.SQLException: Column...
View ArticleRecommendations connecting to the database (no replies)
Hi! I am going to use java and mysql for my application, but I'm not really sure of how to use jdbc for the best performance. A short background to what the application will do: capture ip packages...
View Articlewhich my sql connector should be used for java tomcat 6.0.14 (1 reply)
my web site is running fine but not interacting with database so please any one suggest me which my sql connector should be used for java tomcat 6.0.14 (i m using private JVM)
View ArticleHow to Create Database with MySQL on an Application Designed in Java (no...
Hello There, I have an application written in Java lang but database is MySQL. My challenge is to create database and import the data to SQL. Am using MS windows Vista and already have MySQL instance...
View ArticleUnable to connect to MySQL database (no replies)
I installed MySql on Windows 7 and I put the Connector/J in the /lib/ext folder. I'm trying to connect to a database from Java, but I keep getting this error message: "Communications link failure The...
View ArticlemySQL Conncetion with JDBC in OpenOffice (Installproblem) (no replies)
Hello together, I have no idea how to install the CONNECTOR/J in OpenOffice for accessing a mySQL DB in OO Base. I have have downloaded the .jar file. what do I have to do next? Please give me a hint!...
View ArticleON DUPLICATE KEY UPDATE statement not rewritten as multi-value insert in...
Hi. According to the presentation at http://assets.en.oreilly.com/1/event/21/Connector_J%20Performance%20Gems%20Presentation.pdf, Connector/J 5.1.8 and later should rewrite ON DUPLICATE KEY UPDATE...
View ArticleUnable to connect to any hosts due to exception: Connection refused (no replies)
I have a JAVA application that I'm trying to deploy to a new server. The application works fine in my test environment but keeps producing "connection refused" exceptions in the new environment. An...
View Articlei am not able to connect java with mysql (1 reply)
Hi, Sorry,I got your mail id from the Q/A Forum.I have my java application and try to connect with mysql database.But i can't able to get the output,i am getting the Exception error.I think i am not...
View ArticleUnable to connect eclipse with mysql 5.1.50 (1 reply)
AM a newbie tryin to connect eclipse to the mysql database.I have followed the steps as mentioned on wiki but get the following error when i test connection.unable to ping and in details the following...
View ArticleHow to create MYSQL db connection from Intuit webpage (no replies)
Hi, I have created a webpage in Intuit and now need to call a database table from MYSQL. Looking for instructions on how to add the necessary java code into the Intuit webpage. Intuit does not provide...
View ArticleJDBC CallableStatement Registering Output Parameter of Type CURSOR (2 replies)
How to register the output parameter type CURSOR for a procedure call in JDBC?
View ArticleTime Zones and JDBC (1 reply)
Hi, I have a few questions regarding the exact way that Connector/J handles/retrieves/converts Time Zones. Setup: I have a server on which both my MySQL server and JVM are running. My MySQL server's...
View ArticleStatement.executeQuery() hangs (no replies)
Hi, I have several databases at one server. When I run a query using JDBC driver from a Java application, the query against one database hangs while the same query against other databases work fine...
View Article