Hi,

- download 5.0.10 overlay
- add dependency

<dependency>
    <groupId>org.apereo.cas</groupId>
    <artifactId>cas-server-support-jpa-service-registry</artifactId>
    <version>${cas.version}</version></dependency>

- add properties
cas.serviceRegistry.jpa.url=jdbc:mysql://cas-url
cas.serviceRegistry.jpa.user=
cas.serviceRegistry.jpa.password=
cas.serviceRegistry.jpa.driverClass=com.mysql.jdbc.Driver
cas.serviceRegistry.jpa.healthQuery=
cas.serviceRegistry.jpa.ddlAuto=none
cas.serviceRegistry.jpa.dialect=org.hibernate.dialect.MySQLDialect



you'll get:


PersistenceException: org.hibernate.WrongClassException: Object [id=16] was
not of the specified subclass
[org.apereo.cas.services.AbstractRegisteredService] : Discriminator:
oauthcba

-- 
- 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/CAB623R_fUBRr8eSJy-R0uYEOJYGTE0UYn4s9URbuU807nJM4Qw%40mail.gmail.com.

Reply via email to