-
1. Re: Where can I add these variables on JBoss web console like validationQuery, etc?
lylewang Aug 25, 2015 2:34 AM (in response to brightpeoples)You didn't mention the exact version of your JBoss EAP so I assume it's latest EAP 6.4.x (I usually recommend to use the latest version)
It is configured in the <datasource> definition in standalone.xml
You can find the detailed doc here:
Find example datasource definition here:
Btw, as you didn't share your source code I'm not sure how you obtain database connections, but obviously you need to use the JBoss container managed datasource to connect so that these configs can take effect.
-
2. Re: Where can I add these variables on JBoss web console like validationQuery, etc?
brightpeoples Aug 26, 2015 3:04 AM (in response to lylewang)I have used JBoss 6.4.0 and its datasource to connect a database.
I just could not find where the configuration information was.
There was the information at the link.
I sorted out.
Thank you.
-
3. Re: Where can I add these variables on JBoss web console like validationQuery, etc?
lylewang Aug 26, 2015 3:34 AM (in response to brightpeoples)Thanks for feedback.
Feel free to mark this as resolved please if you have sorted it out