3 Replies Latest reply on Oct 3, 2007 11:11 AM by tcunning

    JPA based Hibernate Gateway?

    amcclure

      Is it posible to use the Hibernate Gateway with JPA based configuration (persistence.xml instead of hibernate.cfg.xml)?

      We do not use hibernate.cfg.xml at all, but it appears that the Hibernate Gateway requires this. If I cannot get by without having a hibernate.cfg.xml, is there a simple way of keeping our current persistence.xml (with class based mapping annotations) and only add the hibernate.cfg.xml as needed (no database connection information, class information, mapping information, etc.)?

      Thank you,
      Anthony McClure