Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

inserting values in the Excel sheet

 
pappitha swaminathan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
could you please help me in inserting values into the excel sheet using jdbc???
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the right tool for the job - JDBC is an API to access databases. A library like Apache POI, on the other hand, is perfect for handling XLS and XLSX files.
 
vineet dhar
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
pappitha swaminathan wrote:Hi all,
could you please help me in inserting values into the excel sheet using jdbc???




You can use the Type 1 JDBC Driver to enter the values into the Excel Sheet....i.e. Microsoft JDBC-ODBC driver..but check the version of jdk,,it might be deprecated..
 
Prateek Jauhari
Greenhorn
Posts: 26
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why you wanna use JDBC for excel insertion. ?
POI interface is good tool to handle excel operations in JAVA
 
pappitha swaminathan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vineet dhar wrote:
pappitha swaminathan wrote:Hi all,
could you please help me in inserting values into the excel sheet using jdbc???




You can use the Type 1 JDBC Driver to enter the values into the Excel Sheet....i.e. Microsoft JDBC-ODBC driver..but check the version of jdk,,it might be deprecated..


yeah i used but its not working.. throwing an exception..
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!