Question about default JPA platform [message #618871] |
Wed, 17 March 2010 15:26  |
Eclipse User |
|
|
|
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?
|
|
|
|
Powered by
FUDForum. Page generated in 0.05593 seconds