Skip to Content

How to communicate HANA DB using Java code ?

Hi Expert ,

how to communicate the Java service to Hana SP 12 using ngdbc jar , this jar need to install or present in Java code or it also need to present in HANA DB to connected the Database .



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Sep 07, 2016 at 12:06 PM

    Hello Sumit,

    if you wanna implement a Java application which connects via JDBC to HANA, you just have to add the file to your classpath. You can check the documentation for that: Connect to SAP HANA via JDBC - SAP HANA Developer Guide for SAP HANA Studio - SAP Library

    If you are deploying your Java App to the TomEE Runtime provided by XS Advanced you don't need that file. Just follow the steps as described here: Configure a Database Connection - Introduction to Application Development and Deployment (XS Advanced Model) - SAP Libra…



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.