HANA Could not find table/view
I am trying to connect HANA database which is running in Google Cloud Platform. Here is my Java code, try { Class.forName("com.sap.db.jdbc.Driver"); String url = "jdbc:sap://myhost:39015/?"; String user = "MYUSER"; String password = "PASSWORD"; System.out.println("Connecting to HANA..!"); Connection cn = DriverManager.getConnection(url, user, password); System.out.println("Connection to HANA successful!"); ResultSet rs = cn.createStatement().executeQuery("select * from \"TWEETS\""); rs.next(); System.out.println(rs.getString(1)); } catch (Exception e) { e.printStackTrace(); } The TWEETS table
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.