See 
https://apereo.github.io/cas/6.1.x/configuration/Configuration-Properties-Common.html#ddl-configuration

and

cas.ticket.registry.jpa.ddl-auto=none

On Monday, November 2, 2020 at 8:12:05 PM UTC+4 [email protected] wrote:

> 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
>

-- 
- 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/7b8a6460-5b7b-4455-aa82-fc314632d992n%40apereo.org.

Reply via email to