Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Where are my EclipseLink JPA Facets?(EclipseLink Facets)
Where are my EclipseLink JPA Facets? [message #1150278] Tue, 22 October 2013 17:08 Go to next message
Earl Harris is currently offline Earl HarrisFriend
Messages: 4
Registered: August 2013
Junior Member
From within the Eclipse Standard/SDK Kepler release, I want to use EclipseLink to derive persistent classes for a pre-existing database.

I installed EclipseLink SDK (EclipseLink Target Components) 2.5.1 from the Eclipse Marketplace. (I have other installed plug-ins that support Hibernate, Maven, and SVN).

To build the classes with EclipseLink, I did a "File->Other...".

In the "New, Select a wizard" form, I selected "JPA->JPA Project". (In this form, I see a "Hibernate" folder, but I do not see an "EclipseLink" folder. So, I assume I have to build a JPA application to use EclipseLink).

In the "New JPA Project" wizard form, I added a project name, set the Target runtime to "jre7" (the only option), left the JPA version at "2.1" and left the Configuration at "Default Configuration for jre7". I hit "Next >".

On the next form, I accepted the default values; so I hit "Next >".

Now, I am in a "New JPA Project" form titled "JPA Facet". Unfortunately, my Platform drop down only has "Generic 2.1" and the "Next >" button is inactive. There is a message stating "At least one user library must be selected". I expected to see a list of options that included EclipseLink.

To use EclipseLink, how do I proceed? Do I need to get an EclipseLink JPA Facet? If so, how do I get one? When building a JPA application, what is the role of the user library?
Re: Where are my EclipseLink JPA Facets? [message #1150284 is a reply to message #1150278] Tue, 22 October 2013 17:11 Go to previous message
Earl Harris is currently offline Earl HarrisFriend
Messages: 4
Registered: August 2013
Junior Member
I downloaded Kepler Java EE version of Eclipse and added the EclipseLink plug-in. Then, I had what I needed to get things to work.
When I used a simpler Eclipse, I didn't get the features (facets?) that I needed.
It is unclear why I needed an EE version of Eclipse to get ORM functionality.
Previous Topic:Merge behavior
Next Topic:EclipseLink + JPA + Generic Entity + SINGLE_TABLE Inheritance
Goto Forum:

Current Time: Sun Jul 25 17:15:45 GMT 2021

Powered by FUDForum. Page generated in 0.02439 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top