Hi!

Change

cas.audit.jdbc.ddlAuto=create-drop

to

cas.audit.jdbc.ddlAuto=create

Regards


El martes, 11 de abril de 2017, 11:11:45 (UTC+1), shruti halgekar escribió:
>
> Hi,
>
> I am working on CAS 5, whenever I start the server, COM_AUDIT_TRAIL is 
> getting drop and its getting recreated.
>
> Is there any way or settings in cas.properties to prevent this table from 
> dropping and recreating on every server start up?
>
> Hibernate: drop table COM_AUDIT_TRAIL if exists
> Hibernate: create table COM_AUDIT_TRAIL (id bigint generated by default as 
> identity (start with 1), AUD_ACTION varchar(255), APPLIC_CD varchar(255), 
> AUD_CLIENT_IP varchar(255), AUD_DATE TIMESTAMP DEFAULT CURRENT_TIMESTAMP 
> not null, AUD_RESOURCE varchar(255), AUD_SERVER_IP varchar(255), AUD_USER 
> varchar(255), primary key (id))
>
> Thank you in advance.
>

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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/5a0c90cd-c4c5-471b-a43c-de136fd67b68%40apereo.org.

Reply via email to