I just came across that config property as your message came in :) Thanks for the explanation Ray, it makes sense now that the ORM is picking up that property when initializing everything that I saw during debugging.
That did do the trick, thanks everyone! On Wednesday, November 27, 2019 at 3:14:13 PM UTC-8, rbon wrote: > > 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 | [email protected] <javascript:> > > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/c55226c3-d1be-42cc-9290-54d0c67904d4%40apereo.org.
