Skip to main content



      Home
Home » Eclipse Projects » Dali » Question about default JPA platform
Question about default JPA platform [message #618871] Wed, 17 March 2010 15:26 Go to next message
Eclipse UserFriend
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 17:28 Go to previous message
Eclipse UserFriend
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: Fri Jul 04 03:57:59 EDT 2025

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

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

Back to the top