on 09-29-2005 4:45 AM
Hi
I am about to try JDBC Scenario where data will be
picked from mssql server and posted to R/3.
I have installed jdbc drivers for the same.
Now i have to specify jdbc driver & connection
information
where can I look for this info.
Besides my sql server is here in delhi and my XI is mumbai.
Is it even possible ?
Regards,
deepak
Sharma
Hi,
Ur scenario is jdbc to r/3.
The sender adapter should have the message format:
<resultset>
<row>
<column-name1>column-value</ column-name1>
<column-name2>column-value</ column-name2>
<column-name3>column-value</ column-name3>
</row>
</resultset>
driver for SQL is:
com.microsoft.jdbc.sqlserver.SQLServerDriver
connection is:
jdbc:microsoft:sqlserver://<dbservername>:1433;DatabaseName=<tablename>
regards
priyanka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Priyanka thank you fror your quick reply.
I am a little bit confused about as to
what should my interface look like in jdbc sender side.
I mean where should my select statement
in adapter...
should it like this
jdbcsender
statementname
test
action
TABLE
access
EmployeeID
Lastname
Firstname
Regards,
deepak
Hi Deepak,
For the JDBC sender system , you have to create an outbound message interface and you need to create the message type for some datatype and datatype structure should be look like as follows:
<resultset>
<row>
<column-name1>column-value</ column-name1>
<column-name2>column-value</ column-name2>
<column-name3>column-value</ column-name3>
</row>
</resultset>
But you need to be careful while creating the datatype that , copy and paste the column names from the database table for the safty purpose because in XI these element names are case sensitive. e.g. if some database table column name is "City" in your db then you should use "City" and if it is "CITY" then you should use "CITY".
You need to take care of some more things that do not forget to specify the values for the mandatory parameters of the processing parameters of the sender jdbc adapter.
Hope this will help you. You are most welcome for further query.
Regards
Gopesh
Hi deepak,
JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
Connection = jdbc:microsoft:sqlserver://<sqlserver>:1433;DatabaseName=<dbname>
<i>>>Is it even possible ?</i>
Yes..
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.