• 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: 42967
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..
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic