Skip to Content
author's profile photo Former Member
Former Member

JDBC Connection using System-Alias.....

Hello,

could anybody please post a code snippet that uses a defined system alias in the Portal for a JDBC Connection.

I defined my JDBC System with the according template. But I got stuck calling the database (MS SQL)

Thanks

Walter

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2004 at 09:03 PM

    Hi Walter,

    high-level steps for creating the JDBC-system alias:

    1. Under System Administration : System Configuration create a system from JDBC-template.

    Edit the properties for this new system as follows

    a. In the connection property provide the following:

    Connection URL:

    jdbc:sap:sqlserver://sqlservername:sqlTCPport;DatabaseName=SQLDBName

    Driver Class Name:

    com.sap.portals.jdbc.sqlserver.SQLServerDriver

    b. Under the the user mappings property select admin,user

    c. Under the DQE property sert the user-id/password to the SQL server DB userid (e.g. 'sa' and password)

    c. create a system-alias for this system

    4. Go to User-Administration -->then under User Mappings edit the settings for the user that would be using the system.

    On the far -right hand side of the right-pane select the System-alias created earlier and provide the user-id and password of the DB-user to connect to the DB (e.g. 'sa' and password)

    Then u can proceed to test the connection from the System view and to create the iView.

    I hope these steps will help you.

    Regards,

    Shanker

    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.