Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hi,
From an example in Store Form Field Data to Multiple Tables, you can retrieve the default datasource connection directly using the following
// retrieve connection from the default datasource DataSource ds = (DataSource)AppUtil.getApplicationContext().getBean("setupDataSource"); Connection con = ds.getConnection();
Dear Expert,
I did not want to hard code the database user and password at the "Bean shell Form builder" when accessing the joget database. So anyway for us to get the information from the Joget configuration / datasource profile ?
Best Regards
Tony Chu