facebook

Other JPA Provider

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #351934 Reply

    nat101
    Member

    On ME2015 I want to use ObjectDB (http://www.objectdb.com/) as my JPA provider. ObjectDB differs in that it is ALSO the DB. The DB ‘speaks’ JPA and not sql. ObjectDB has 1 jar file containing their specific JPA implementation AND their DB.
    On the standard Eclipse EE IDE, I simply dump the objectdb jar into the WEB-INF lib dir and it works well for a Java EE 6 web project. But ME’s project wizard is too smart and insists I choose a jpa provider as well as a Connection. For the provider I want to say ‘objectdb’ and I don’t want to specify any connection since Objectdb itself is the db (details specified in persistence.xml.).
    To summarize the question, Does ME allow objectdb be a jpa provider like Eclipselink? How?

    Thanks
    nat
    ps ObjectDb also has their own gui query tool. So, I don’t really need ME’s for the objectdb projects. I simply want ME to recognize objectdb as a jpa provider and the usual smart editing features that come along with that.

    #351940 Reply

    support-swapna
    Moderator

    Nat,

    You can create an “ObjectDB” User Library with the required jars and select the User Library as JPA Implementation Type in the wizard for adding JPA Facet (select “Generic 2.1” as Platform).

    A connection is required to use the generation facilities. Since there is no JDBC driver available for ObjectDB currently, you can ignore setting up the connection in the wizard.Please note that you will not be able to use some of the JPA facilities as the connection is not set.

    Hope this helps.
    Let us know if you need further assistance.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Other JPA Provider

You must be logged in to post in the forum log in