Hi all,

During migration from CAS 5 to CAS 6, I encountered an issue:

   - My consent table, originally called `ConsentDecision` , is now renamed 
   to `Consent_Decision`
   - Moreover, the fields name is also changed, same pattern

We have found a solution and want to share here:

   - it is actually changes in *Spring boot* library behavior, detail see 
   this 
      - 
      
https://stackoverflow.com/questions/29087626/entity-class-name-is-transformed-into-sql-table-name-with-underscores
   - Adding this properties should work now:
      - 
      
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
      
Add this here in case other encounter same issue, cheers!

Regards,
Andy

-- 
- 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/184d472b-15a9-48f8-826f-44500156ebb4n%40apereo.org.

Reply via email to