0 Replies Latest reply on May 20, 2007 1:47 PM by Avihai Marchiano

    Can I create data source at run time

    Avihai Marchiano Novice


      I work with the latest version of JBoss integrated with hibernate.

      I want to create data version control, so I need the ability to create new schema at run time and create a DS that point to this schema.

      The flow is like this:
      1. The user ask to create a private copy of the data
      2. Create new schema for the user
      3. Create a DS for this schema
      4. Create a persistence unit that work with this DS (I still don?t know how to do this in run time)

      Thank you