Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » Question about default JPA platform
Question about default JPA platform [message #618871] Wed, 17 March 2010 19:26 Go to next message
Leonard Theivendra is currently offline Leonard TheivendraFriend
Messages: 36
Registered: July 2009
Hi running into an issue so posting here for some help.. so we have defined two JPA platform definitions one for 1.0 and 2.0, and marked them both as default="true". When creating a JPA 2.0 project, our 2.0 platform gets chosen as default, but when creating a 1.0 project, the Generic 1.0 platform gets defaulted.

In looking over JptCorePlugin.getDefaultJpaPlatformId(String jpaFacetVersion), it appears to be due to the logic in there discovering our 2.0 platform as the default but then rejecting it since the facet level is 1.0, and therefore defaulting to the Generic one.

I guess Dali looks at one specific setting for the default JPA platform from the preferences. But is there a way to specify a preference setting for the default platform separately for 1.0 and 2.0 facet levels?
Re: Question about default JPA platform [message #618872 is a reply to message #618871] Wed, 17 March 2010 21:28 Go to previous message
Paul Fullbright is currently offline Paul FullbrightFriend
Messages: 201
Registered: July 2009
Senior Member
The problem is currently that there's only one preference string for a platform. It's not keyed by JPA facet version. I agree that this should be handled on a per-facet version basis.

Would you mind entering an ER?
Previous Topic:EclipseLink, DDL and INTERACT_WITH_DB
Next Topic:Creating New JPA Project - Configuration Options
Goto Forum:

Current Time: Sun Jun 13 09:28:33 GMT 2021

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

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

Back to the top