Bobby,

There are properties here, 
https://apereo.github.io/cas/6.1.x/configuration/Configuration-Properties-Common.html#database-settings

one of them is
# ${configurationKey}.autocommit=false

where configurationKey would be something like cas.authn.jdbc.blah[0] (I have 
not configured database connectivity).

autocommit set in CAS controls the ORM that connects to the database and is 
independent of database config.

Ray

On Wed, 2019-11-27 at 14:55 -0800, Bobby Esfandiari wrote:
Hi Andy,

Are you referring to the autocommit property of the connection or the database?
I'm using a postgresql database that has autocommit=true by default.
However, while debugging CAS I noticed that 
getJdbcTemplate().getDataSource().getConnection().getAutoCommit() returns false.
Manually setting it to true does not seem to be possible, at least not on the 
object that is wired up by default.

Once again, really appreciate the assist.

Thanks,
Bobby


On Tuesday, November 26, 2019 at 5:28:26 PM UTC-8, Andy Ng wrote:
Hi Bobby,

See if you can try autocommit=true, as suggeested by this here: 
https://groups.google.com/a/apereo.org/forum/#!topic/cas-user/Kf-dB0b_OuQ

If that would helps or not...\


Cheers!
- Andy

--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca<mailto:r...@uvic.ca>

I respectfully acknowledge that my place of work is located within the 
ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
WSÁNEĆ Nations.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/85e726a275d07e60ce4cd6f997f71ff90ced0357.camel%40uvic.ca.

Reply via email to