Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Cannot retrieve the HANA Catalog Name

$
0
0

Hi all,

 

I have a Java program that has to connect to a HANA database via JDBC to do some CRUD operations.

 

When I create the JDBC connection I try to retrieve the Catalog Name of the HANA db, but it is null.

 

These are the steps that I do:

 

java.sql.Connection conn = getConnection(); // get the connection from the Context

String catalogName = conn.getCatalog();

 

catalogName is null!

 

I am using Java 1.6 and the application runs on JBoss 7.

 

Please,

can anyone help me?


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>