Suppres DDL

Skip to first unread message

Joe Manavalan

unread,
Nov 2, 2020, 11:12:05 AM11/2/20
to CAS Community
Using CAS 6.1 with  cas.authn.pac4j.oauth2  and jpa registry with the following configuration  .

All the required default database tables are manually created
While starting tomcat after deploying the war, DDL gets executed and throws sql exception ("table already exist....".) Application works without any error though.

How do we suppress the DDL execution at start of application?

I do have the following in cas.properties
cas.jdbc.genDdl=false
cas.ticket.registry.jpa.user=user
cas.ticket.registry.jpa.password=password
cas.ticket.registry.jpa.url=url
cas.ticket.registry.jpa.dialect=org.hibernate.dialect.Oracle10gDialect
cas.ticket.registry.jpa.jpaLockingTimeout=60
cas.ticket.registry.jpa.autocommit=true
cas.jdbc.genDdl=false

Thanks in advance
Joe

Misagh Moayyed

unread,
Nov 6, 2020, 11:21:24 AM11/6/20
to CAS Community

Joe Manavalan

unread,
Nov 10, 2020, 3:29:27 PM11/10/20
to CAS Community, Misagh Moayyed
Thank you . That took care of it
Reply all
Reply to author
Forward
0 new messages