on 04-28-2009 11:52 AM
Hi All,
I've created a test Table in Dictionary from WD Java with some columns, the same has been archived and deployed to DB.
Now,
1. How & where can i see the Table I deployed?
2. How do i insert the values to the table? What r the option available?
3. Is JNDI lookup the only option to work on this table or can i use JDBC? If yes how?
tnx in advance,
JB
Hi,
1. One way to check the details dic_table, goto SDM
SDM > Login > Target Systems and Deployment SDM Repository > CONFIG_DB
here you can see the Dictionary Project details (no the the table name).
2. For inserting or querying the table deployed, use the below code:
InitialContext iCtx = new InitialContext();
DataSource dS = iCtx.lookup("jdbc/SAPXXXDB");
Connection con = dS.getConnection();
Statement st = con.createStatement();
for local datasoure details, see below path:
SDM > Login > Deployment Parameter Substitutions (click) > check the value of com.sap.datasource.default as SAPXXXDB.
3. Once you are successful till step.2 you can use normal 'java.sql.*' api for using DDL/DML statements.
Thanks,
MS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
check this link
let me know am i apporch is correct or not
bvr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No replies..!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.