How should I write HANA JDBC URL for windows authentification?

Hi,
     I got a HANA configured windows AD authentification, which already be tested successfully on HANA Studio.
     Now my app want to use JDBC to establish a HANA connection, but I have no idea how to append the parameter at the end of the JDBC URL.
     Could someone help me?
Thanks
Spring

Hi Spring,
The URL format is
jdbc:sap://hostnameorip:portnumber
Portnumber is 3<instancenumber>15 -> for a instance 01 should be 30115.
The class is com.sap.db.jdbc.Driver found on ngdbc.jar library (This don't come with Studio, get it on  SAP HANA Client)
Regards, Fernando Da Rós

Similar Messages

  • Can't use JDBC URL for multiple LDAPs

    ColdFusion 8,0,1,195765 Enterprise (Trial)
    We use Oracle OID (LDAP) instead of tnsnames.ora to resolve database connection strings. This is how I specify one LDAP JDBC URL. On the CF admin page, Server Settings, Java and JVM, ColdFusion Class Path is set to C:\oracle\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar. Under Data & Services, Data Sources, create a new source. Set JDBC URL to
    jdbc:oracle:thin:@ldap://mdaoid1.mycompany.com:389/mdad2,cn=OracleContext,dc=mycompany,dc= com
    where mdaoid1 is one of the two Oracle OID servers that resolve connection strings, and mdad2 is an entry in the two OID's sync'ed to each other. That works.
    According to many sources based on Google search for "space separated LDAP URLs", I should be able to add another LDAP server separated by space. Now I append " ldap://mdaoid2.mycompany.com:389/mdad2,cn=OracleContext,dc=mycompany,dc=com" (no quotes, added to indicate leading space) to that string. Upon clicking Submit, I get
    Connection verification failed for data source: orcl10g3
    java.sql.SQLException: For input string: "389 ldap:"
    The root cause was that: java.sql.SQLException: For input string: "389 ldap:"
    (orcl10g3 is the CF data source name I'm creating) Some say I need to replace space with %20 in the double LDAP URL. With %20, I get error
    Connection verification failed for data source: orcl10g3
    java.sql.SQLException: Io exception: JNDI Package failurejavax.naming.InvalidNameException: Invalid name: mdad2,cn=OracleContext,dc=mycompany,dc=com ldap://mdaoid2.mycompany.com:389
    The root cause was that: java.sql.SQLException: Io exception: JNDI Package failurejavax.naming.InvalidNameException: Invalid name: mdad2,cn=OracleContext,dc=mycompany,dc=com ldap://mdaoid2.mycompany.com:389
    Question: How do I add more than one LDAP server to the JDBC URL so I can achieve failover and load balance?
    Yong Huang
    yong321 at yahoo.com

    The message above was posted by me two years ago and was brought to my attention today. Here's a short update: The network team added a load balancer mdaoid in front of, and resolved to, mdaoid1 and mdaoid2 (in round-robin fashion). The problem described in this thread is bypassed because the JDBC URL can simply use one-OID format, in which mdaoid is used as the LDAP server.

  • How to correctly write an MDX expression for a set

    Hello, 
    i've got 2 dimension hierarchies:
    1) [Hierarchy1].[CityOfBirth]
    2) [Hierarchy2].[CityOfResidence]
    Both these hierarchies contain same members - cities
    How do I write an MDX expression for a set containing all possible combinations of both dimensions ([Hierarchy1].[CityOfBirth].Member, [Hierarchy2].[CityOfResidence].Member)
    but excluding those tuples where [Hierarchy1].[CityOfBirth].Member = [Hierarchy2].[CityOfResidence].Member.
    I.e. there shouldn't be tuples like (New York, New York) or (Chicago, Chicago) in the set.

    Hi,
    depending on the structure of your hierarchies, someting like the following should work:
    SELECT
    {} ON 0
    ,Filter
    [Hierarchy1].[CityOfBirth]
    [[Hierarchy2].[CityOfResidence]
    [Hierarchy1].CurrentMember.Name
    <>
    [[Hierarchy2].CurrentMember.Name
    ) ON 1
    FROM [Your Cube];
    The way the cities are expressed should of course be the same: "NY" is different from "New York"
    Something about the same in the adventure works cube for testing.  the two geography hierarchies are here from a different dimension:
    SELECT
    {} ON 0
    ,Filter
    [Customer].[Customer Geography].[Country]
    [Geography].[Geography].[Country]
    [Customer].[Customer Geography].CurrentMember.Name
    <>
    [Geography].[Geography].CurrentMember.Name
    ) ON 1
    FROM [Adventure Works];
    Philip,

  • Hello. I began with the DPS. Is it possible to publish a magazine for a limited, specific target group? For example, in one department of a large company? Or to the responsible for various services? If so, how should I do? Thank you for your help.

    Hello.
    I began with the DPS. Is it possible to publish a magazine for a limited, specific target group? For example, in one department of a large company?
    Or to the responsible for various services? If so, how should I do? Thank you for your help.

    Short answer is yes.
    Click the request for consultation link in Digital Publishing Suite Help | DPS pricing options to receive a price estimate for the DPS license your project.

  • JDBC URL for Two Oracle Nodes

    Hi All,
    I have two DB nodes which are running independently (Mean no RAC), I want to configure JDBC URL for these nodes that if one node goes down my application automatically connected to second one.
    Both nodes have different HOST and SID.
    Regards,
    imran

    Hi jwenting,
    I tried following URL in PL/SQL developer and my fail over is working fine with separate nodes, Only thing i did was i keep SID of both nodes with same name.
    ERS=(DESCRIPTION=(FAILOVER=on)(LOAD_BALANCE=off)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.130)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.133)(PORT=1521)))(CONNECT_DATA=(SID=orcl)))
    But strange when i connected this through JDBC URL like following it gives me error of invalid URL
    jdbc:oracle:thin:@(DESCRIPTION=(FAILOVER=on)(LOAD_BALANCE=off)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.130)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.133)(PORT=1521)))(CONNECT_DATA=(SID=orcl)))
    Regards,
    imran

  • Jdbc url for yahoo finance

    Hey guys,
    Can anyone please help me find out what is the JDBC url for Yahoo Finance Database that stores the values of the historical stock quotes . I desperately need it for my java application in which I require to access the database in order to get the high, low, open, close quotes of a stock index. Any help would be greatly appreciated.
    Thank you,
    Vivek

    Hi!!
    The URL to the database on the yahoo webpage is http://chart.yahoo.com/d . If you go to that link then you will be able to access the database and do a search on it.
    Please reply. Any help will be greatly appreciated.
    Thank you,
    Vivek

  • JDBC URL for Two Oracle Nodes with different SID

    Hi All,
    I have two DB nodes which are running independently (Mean no RAC), I want to configure JDBC URL for these nodes that if one node goes down my application automatically connected to second one.
    Both nodes have different HOST and SID but the tables i am going to access have same structure. we are using this DB for some logging purpose that's why we didn't choose RAC option.
    Regards,
    imran

    For RAC database, I used:
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=port))(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=port)))(CONNECT_DATA=(SERVICE_NAME=servicename)))
    For non RAC database you could ommit LOAD_BALANCE setting, and set correct hostname & port for both nodes. We connected using common service name. If your databases have different service names, then the SID will have to be part of ADDRESS somehow - maybe (SID=sid).
    I have to mention though that unless the main reason behind your decision was lower cost without RAC (and you don't need to store any information apart from logs), it was a wrong decision. If you decide to store any additional information in the database for whatever reason (new requirements), you are in trouble.

  • How should i get the delta data for those new object's previous delta data?

    Hallo all,
    i have 2lis_11_vahdr and i am using a standard and loading delta! now i have appended some new fields in the datasource then in infosource then in ods and infocube..! now how should i get the delta data for those new object's previous delta data???
    Jimmy

    Hi,
    After appending new fields in the datasoure.It is not possible to delta load, u should have to load everything
    Thanks,
    Shreya

  • How can I find itunes 10.1 for windows.  I don't want the cloud in newer version.

    How can I find iTunes 10.1 for windows.  I don't want the cloud, and my iPod touch won't go back to prior versions.

    Had the same problem. Also worked fine on my MacBook, but not on my new iMac. Here's what I did to fix it:
    Archive and Reinstall Mac OS (takes about 40 minutes). This reverted my system back to 10.6.2. Just pop in your Mac OS disc that came with your computer. Mine had 10.6.2 on it, and "Archive and Install" is the default option. When it's done, run software update and update everything. Now it all works fine.
    Somewhere along the way, some file got corrupted somehow. But doing an "archive and install" of your OS undoes whatever file damage was incurred, and allows everything to update normally via Software Update as it should.

  • How to download Adobe Premiere pro CS5 for windows to my new imac 27 inch

    How to download Adobe Premiere pro CS5 for windows to my new imac 27 inch

    IMHO Windows would be the place to start.
    Why do you want to load CS5 for Windows?
    Adobe does produce a version of CS5 that runs on OS X so that it would not be necessary for you to have to screw around with Windows. Personally that would be the way to go and avoid the hassles of Windows.
    Allan

  • How to fix error 3914 of itunes for windows...?

    How to fix error 3914 of itunes for windows...?

    Queries1 :- Where i need to type the above command to get the version of cygwin and make.From the command prompt -- Make sure that the Cygwin Bin directory is set in the Path (Refer to the same doc, 7. Add Cygwin Bin Directory to Path). You could also search for make.exe file to verify the directory where all those executable files are located.
    Thanks,
    Hussein

  • How to use find my iPhone app for windows pc

    How to use find my iPhone app for windows pc ... Is it possible to do..
    Or what is the closest app to do that.,,,,,

    iPhone User Guide (For iOS 5.0 Software)
    iCloud: Find My iPhone
    iCloud: Find My iPhone overview
    iCloud: Set up Find My iPhone

  • How to i purchase a recovery disk for window 7

    how to i purchase a recovery disk for window 7

    Hi:
    Please read this info on the link below for how to order recovery disks.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00810334&lc=en&cc=us&dlc=en
    Paul

  • How Much $ is the Upgrade from CS5 for windows to CS6 for a small business with 3 users?

    How much $ is the Upgrade from CS5 for windows to CS6 for a small business with 3 users?

    Creative Suite 6
    You'll still need to buy 3 licenses, of course...
    Mylenium

  • How Do I Find the Full URL for Linking to Messages in the Forum

    What is the best way to find the URL that links directly to a message I've posted in the forum?
    When I receive an e-mail notifying me that a reply has been posted in a thread I'm subscribe to, there is a link to that reply in a format similar to https://support.mozilla.com/questions/862631'''#answer-279005'''. I discovered that if I hover my mouse over the '''Helpful / Not Helpful''' buttons next to each message when I'm using '''IE9 as my browser''', the specific answer # assigned to any message can be viewed in the status bar at the bottom of the screen (e.g., https://support.mozilla.com/questions/862631/'''vote/279005'''), but I can't figure out how to do this in Firefox.
    Most other forums I post in assign a number to each message in a thread (e.g., message 7 of 25) that has the URL link embedded so that you simply right-click on the message number and choose '''"Copy Link Location"''' to obtain the direct URL for any message.
    Windows Vista Home Premium 32-bit SP2 * NIS 2011 v. 18.6.0.29 * Firefox 8.0.0

    Adobe Reader Touch (Windows Store app with "modern" UI) is not really accessible.
    If you have a device running the Windows 8 operating system (as opposed to the Windows RT operating system), you can install and run Adobe Reader XI (desktop app with classic UI), which offers better accessibility support for screen readers.  It also has the "Read Out Loud" functionality.

Maybe you are looking for

  • IPhone 4 Mailboxes stuck on "Connecting..."

    I've got an iPhone 4 with 4.0.1 which was syncing perfectly with my Exchange account until this afternoon. I had the phone in airplane mode for some time, then turned Airplane Mode = off, and now my email, especially from Exchange, will not sync prop

  • Table subtotals issue

    Hi, i've created a table in OBIEE 10g with following fields: Country Measure A Measure B Now i want add a subtotal for Country Column, so i've clicked on summarization icon on the top of column in Answers. The report goes in error. Query generated by

  • OPC DataSocket error 42 in writing negative values

    I was playing around with OPC and using the DataSocket pallete. Although I've used it reliably for a while and am content, I was baffled by one error. I was hoping someone could explain why this error occurs or how to solve it. In the NI Distributed

  • How to use shift register in this structure?

    Dear All, In order to use less variety of graph, I want to use shift register to manage and send data to graph. But there is not only event structure in my vi, for some reason(because I want to use only one button to control running and stop, and thi

  • Music - I play music at my kids hockey games. What's the best app so I can see the most songs on a play list?

    Music - I play music at my kids hockey games. What's the best app so I can see the most songs on a play list?