on 04-21-2020 1:22 PM
Hi,
I have an exsting DB module in an MTA project in cloud foundry and I have my tables and views created and data maintained in this DB instance .
I'm starting off a new MTA project, but i would still need to access the same DB tables and views from my first project here in the second MTA project . Is there anyway to achieve this ?
Please check out my repository access-hdi-with-synonyms as Synonyms are the way to go to access other HDI containers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I never tried this myself. Have you tried to add another HDI resource in the MTA.yaml file of the new project and use the same service instance/HDI container name?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried creating a resource in the 2nd MTA with the following :
resources:
- name: hdi_tinyworlddb
parameters:
config:
schema: TINYWORLDMTA_HDI_TINYWORLDDB_1
properties:
hdi-container-name: tinyworldmta-hditinyworlddb-I34537FqwYlBuu5cjwm9eU
type: com.sap.xs.hdi-container
where
I hope this is what you meant?
It doesnt seem to bring any of the tables,views in the new instance that gets created when i build 2nd MTA DB module when i check the new instance via database explorer.
User | Count |
---|---|
82 | |
11 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.