Does this help at all?

https://github.com/Unicon/cas-mfa/issues/53



>>> Alex Olson <[email protected]> 02/26/15 4:49 PM >>>
     We are running CAS 3.5.3, and use the JPAServiceRegistryDaoImpl to
persist registered services. There’s a problem though, in that our
Services Registry Management UI can read from the database but does not
write to it. Turning logging up to trace and looking  at an attempted
save shows:
 2015-02-26 14:35:05,532 TRACE
[org.hibernate.action.internal.UnresolvedEntityInsertActions] - No 
entity insert actions have non-nullable, transient entity dependencies. 
 2015-02-26 14:35:05,532 TRACE
[org.hibernate.event.internal.AbstractSaveEventListener] - Persistent
instance  of: org.jasig.cas.services.RegisteredServiceImpl 
 2015-02-26 14:35:05,532 TRACE
[org.hibernate.event.internal.DefaultPersistEventListener] - Ignoring
persistent  instance
 
 
 What are some possible culprits? We have the registry configured like
so:
       <bean id="entityManagerFactory"
           
class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
          <property name="dataSource" ref="dataSource"/>
          <property name="jpaVendorAdapter">
              <bean
class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
                  <property name="generateDdl" value="false"/>
                   <property name="showSql" value="false"/>
               </bean>
          </property>
          <property name="jpaProperties">
               <props>
                   <prop
key="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</prop>
                  <prop key="hibernate.hbm2ddl.auto">update</prop>
                  <prop key="hibernate.default_schema">cas</prop>
               </props>
          </property>
       </bean>
  
 
       <bean  id="transactionManager"
class="org.springframework.orm.jpa.JpaTransactionManager">
          <property name="entityManagerFactory"
ref="entityManagerFactory"/>
       </bean>
  
 
       <tx:annotation-driven transaction-manager="transactionManager"/>
 
 
 
 Thanks!
    --
 Alex K. Olson
 
 
 
 -- 
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user   

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to