The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

Re: How to Connect to an Excel Spreadsheet using JDBC in Java

I used the above given code to test and it works fine. But when i tried to use INSERT query , i get "java.sql.SQLException:[Microsoft][ODBC excel Driver] Operation must use an updateable query" exception message. Please help me to insert data. Please find the code below.

Re: How to Connect to an Excel Spreadsheet using JDBC in Java

Originally Posted by Devaraj

I used the above given code to test and it works fine. But when i tried to use INSERT query , i get "java.sql.SQLException:[Microsoft][ODBC excel Driver] Operation must use an updateable query" exception message. Please help me to insert data. Please find the code below.

Re: How to Connect to an Excel Spreadsheet using JDBC in Java

Hello ,
My name is Kinjan Ajudiya.
I am new to this forum.
I have question about reading excel file in java.
I have implemented application which read excel file and store it in database.
But this application is limited to single change only.
Means ,if i want to read that file continuously then i cant do in my application.
I want to do such thing, one excel file is currently running.
First my application will read excel file .then change is made to excel file .Say some cell is modified.
Now in next request of file reading i should get that modified cell value .
Is this possible ?
If yes then please let me know ...

Re: How to Connect to an Excel Spreadsheet using JDBC in Java

I found this information very useful, and thank you for sharing. I do have a question I am trying to pull data from Access but the information is stored on a web based application and to get the data I need I have to create a template using word, I can get some of the fields to work but not all of them. This is a project for work and I am trying to get this done and having little luck. Would you be able to give some advice? Or any help would be greatly appreciated.
Thank you

The above mentioned way of selecting the excel sheet is unavailable in vista. I tries configuring it, but no use... Is there a way out to do it directly from netbeans inbuilt server... could you plz help me with that