0 Replies Latest reply on May 3, 2006 10:51 AM by sdawson

    Using SchemaExport with EJB3 Embeddable (unit testing)

    sdawson

      Hello,

      I've set up Embeddable EJB3 to do some self contained unit testing. I'd like to be able to drop/create the schema while I test (in addition to when we bootstrap).

      What's the easiest way to invoke SchemaExport in EmbeddableEJB3? Do I have to manually create the hibernate Configuration object, or is there a service provided?

      Thanks,
      Sean Dawson