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

Summary: Spring improvement required: JPA 2.0 support does not need a persistence.xml in Spring
Product: javaee Reporter: hantsy <hantsy>
Component: SpringAssignee: Martin Fousek <marfous>
Status: RESOLVED WONTFIX    
Severity: normal CC: pjiricka
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

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