With SmartGWT3.1 Pro.
1) Is there a way to set the user/password dynamically, instead of the one that is used in server.properties?
2) Can I have a SQLDataSource that is registered in the session instead of the app context?
3) Can I set/get a DataSource JDBC connection dynamically?
I know that this type of system architecture is not recomended, but some functions/tables in our DB requires to identify what user is connected, and I can't change the user once the JDBC connection is made.
What do you guys suggest?
1) Is there a way to set the user/password dynamically, instead of the one that is used in server.properties?
2) Can I have a SQLDataSource that is registered in the session instead of the app context?
3) Can I set/get a DataSource JDBC connection dynamically?
I know that this type of system architecture is not recomended, but some functions/tables in our DB requires to identify what user is connected, and I can't change the user once the JDBC connection is made.
What do you guys suggest?
Comment