on 12-05-2012 2:43 AM
I want to create tables, write some data to store some information in Portal Database.
How can I access SAP Portal's database and create these tables?
Hi Suhaas,
You have different ways to achive this:
- Create in NWDS a component of type 'Dictionary' to create the tables, and access them using JPA (Java Persistence API).
- Use CAF (SAP Composite Application Framework).
Regards,
Roberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Here you have some information:
- Providing Java Dictionary Tables and Data Types: http://help.sap.com/saphelp_nw73ehp1/helpdata/en/48/58df4dc34f58d9e10000000a421937/content.htm?frame...
- JPA: It is Java standard, so you can find a lot of information about it:
http://www.objectdb.com/java/jpa/getting/started
- Composing Services with CAF:
Maybe is easier Dictionary Components + JPA.
Regards,
Roberto
Hi ,
I remember doing this. I created a table using a dictionary project in NWDS . After you deploy the dictionary project, the table will be created in the portal database.
You can then create a system object of type JDBC, with appropriate query string pointing to portal database .
Access this system object in the code using IConnectorGatewayService
Regards,
Adren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.