[cas-user] Re: Suppres DDL

2020-11-10 Thread Joe Manavalan
Thank you . That took care of it

On Friday, November 6, 2020 at 10:21:24 AM UTC-6 Misagh Moayyed wrote:

> 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 joeman...@gmail.com 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/3f640af5-d2af-489b-95dd-5699a4f31b09n%40apereo.org.


[cas-user] Re: Suppres DDL

2020-11-06 Thread Misagh Moayyed
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 joeman...@gmail.com 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 cas-user+unsubscr...@apereo.org.
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.