Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-28671

All sakai db schema is recreated on external sitestats db when using "sitestats.externalDb.auto.ddl = true"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0
    • Fix Version/s: 2.5.6
    • Component/s: Sitestats
    • Labels:
      None
    • Previous Issue Keys:
      STAT-90

      Description

      When using an external database for SiteStats tables (see STAT-85), and "sitestats.externalDb.auto.ddl = true" in sakai.properties, all sakai db schema is recreated on the external sitestats db.

      This is due to the fact that the session factory spring bean is using:
      org.sakaiproject.springframework.orm.hibernate.AddableSessionFactoryBean.

      The fix (already tested) is to switch to:
      org.sakaiproject.springframework.orm.hibernate.impl.ClassicLocalSessionFactoryBeanHibernate31

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  nfernandes Nuno Fernandes (Inactive)
                  Reporter:
                  nfernandes Nuno Fernandes (Inactive)
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration