This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 184165 - Warning about the Java 6 source level is displayed even for JPA 1.0
Summary: Warning about the Java 6 source level is displayed even for JPA 1.0
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-14 13:58 UTC by Petr Jiricka
Modified: 2010-04-16 04:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2010-04-14 13:58:09 UTC
1. Create a new Web project with GlassFish 2.1.1 as the target server (or WebLogic 10.3)
2. Go to Entity Classes from Database wizard
3. Select datasource and tables, click next

On the next panel, you see the warning that "Source level 1.6 is recommended for JPA 2.0. ...". This should not be shown, as this is a JPA 1.0 project.
Comment 1 Sergey Petrov 2010-04-15 09:14:20 UTC
http://hg.netbeans.org/web-main/rev/7b118bb2049a
fixed
Comment 2 Petr Jiricka 2010-04-15 09:31:23 UTC
Thanks Sergey. So did you check that for the other wizards it also now works as expected?
Comment 3 Sergey Petrov 2010-04-15 09:34:23 UTC
Other wizards use provider's combobox and version is determined on provider selection. Should work without this fix.
Comment 4 Quality Engineering 2010-04-16 04:20:02 UTC
Integrated into 'main-golden', will be available in build *201004160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7b118bb2049a
User: Sergey B. Petrov <sj-nb@netbeans.org>
Log: #184165 determine default/first providr in entity from db properly