Click here to Skip to main content
15,889,651 members
Please Sign up or sign in to vote.
1.00/5 (5 votes)
See more:
I am not getting any clue how I can extract the Excel Data and store it in SQL server table using JAVA. I dont know whether there are any API's in java or not.

I dont want to Convert EXCEL file to CSV or Iterate the whole file. I want to do it by Microsoft ACE OleDB 12.0

I have 32-bit OS(Windows 07), 32 bit MS Office 2010 and 64 bit SQL Server 2008.

Please help me with some links or java code examples.

I dont want to traverse the whole Excel file. I didnt find any solution where i can achieve it using OLEDB.
Posted
Updated 3-Aug-15 5:45am
v2
Comments
Kornfeld Eliyahu Peter 3-Aug-15 6:27am    
No.
But you may show us what have you tried...[^]
Member 11789599 3-Aug-15 11:40am    
I didnt find any solution over this. Using C# with OleDB we can achieve this. But is there any API in java to do this?
[no name] 3-Aug-15 7:22am    
www.google.com will provide you links and example code. We are not a write code to order service.
Member 11789599 3-Aug-15 11:38am    
sorry, i didnt find any solution in google thats why i asked. I need to know whether there is any API or not. Using C# we can do that, but i dont know about java. Thanks for your comment.

1 solution

 
Share this answer
 
Comments
Member 11789599 3-Aug-15 11:47am    
Thanks for your comment. But i dont want to traverse the Excel file. I just want to know whether java has the solution to achieve this using OLEDB. Using C#, it is possible i know.
Richard MacCutchan 3-Aug-15 11:59am    
No not directly, you would need some bridge between Java and .NET.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900