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 207070 - Spring improvement required: JPA 2.0 support does not need a persistence.xml in Spring
Summary: Spring improvement required: JPA 2.0 support does not need a persistence.xml ...
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Spring (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-09 16:06 UTC by hantsy
Modified: 2016-07-07 08:54 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hantsy 2012-01-09 16:06:27 UTC
Spring 3.1 improved a JPA2 support, it does not need a persistence.xml file.
NetBeans should recognize this change.
Comment 1 Martin Fousek 2012-01-10 08:35:32 UTC
Thanks for entering this issue but since it's available just in currently not supported (and also not bundled) Spring 3.1, I'm targeting this into next releases. Anyway there is easy workaround by using the persistence.xml file.
Comment 2 Sergey Petrov 2012-02-28 08:06:57 UTC
Is it really jpa 2.0 feature? (or just spring 3.1 vendor specific)
Comment 3 hantsy 2012-02-28 08:18:06 UTC
this should be a specific feature brought by Spring 3.1.
Comment 4 Martin Fousek 2012-02-28 08:22:56 UTC
AFAIK it's just Spring specific feature.

BTW, if you would be interested in Spring3.1 + JPA more, this looked to me like quite good article:
http://www.baeldung.com/2011/12/13/the-persistence-layer-with-spring-3-1-and-jpa/
Comment 5 Martin Balin 2016-07-07 08:54:52 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss