I have created TN ,IS and MWS database components using DBConfigurator.But DBAs have provided me only one user to connect to all 3 Schemas.
Please tell me while setting up JDBC pools ,what all properties I need to setup to limit the schema usage.
I have already tried this one :
jdbc:wm:oracle://elgwmdev:1527;serviceName=webm82d;TableFilter=‘’.‘WMB2B_IS’
User : WEBM
Pwd: *******
WEBM is the user DBAs has provided with all permissions provided.
but it’s not able to view tables under WMB2B_IS schema.
User DB Component
WMB2B_IS IS Product
WMB2B_TN TN Product
WM_MWS MWS Product
Then DBA created a one user called “WEBM” and grant select,insert,delete,update roles to this user on Schemas - WB2B_IS ,WMB2B_TN,WM_MWS.
(Note : DBA created WEBM just as user ,it has no objects underlying it but it has access to other schemas)
So in JDBC Pool connections ,we are using a schema user (WEBM) instead of schema owner (WMB2B_IS,WMB2B_TN,WM_MWS).
Now while passing connection parameters ,
jdbc:wm:oracle://elgwmdev:1527;serviceName=webm82d
User : WEBM
pwd : *******
I need a param to pass the schema owner name (WMB2B_IS , WMB2B_TN or WM_MWS).And as per guide for DataDirect Connect JDBC 4.2 driver ,I don’t see any param provided to pass the schema name.
It seems like it’s a driver limitation and we have to use schema owner as User while estabilishing connection.
But why do you have to create different schemas for each PRODUCT instead of selecting as ALL option for WEBM user account?
So that when you create pool alias def just point/reference the Functional alias for TN/ISCore/Internal/Process Engine/ProcessAudit the same associated pool alias.
Hope you got my point and it should work and IS can access to all the main tables.
We want to keep TN schema separate from IS schema to prevent any database related issues .
And moreover , this is not the reason for my issue.
DBAs can’t share schema owner password with application ,that’s why they created a user (WEBM) to access those schemas and asked us to use this user for JDBC Pool connection.
Yes , I raised a request today .Will share once I receive any update.
So far I did google, it seems it’s JDBC direct driver limitation that it doesn’t have any = thing to define Schema name.
For JDBC adapter connections though ,we have this option property called TableFilter=.WMB2B_IS.I used it and it works perfect.