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 175682 - Add Maven volume to all bundled Persistence Providers
Summary: Add Maven volume to all bundled Persistence Providers
Status: VERIFIED INVALID
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-29 16:35 UTC by David Simonek
Modified: 2009-10-30 14:18 UTC (History)
2 users (show)

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 David Simonek 2009-10-29 16:35:22 UTC
Please, add Maven volume to library definitions of all bundled Persistence Providers (TopLink, Hibernate, KODO, OpenJPA
AFAIK) in similar way like you did for EclipseLink in issue 174714. Hopefully you can find maven artifacts for mentioned
libraries easily and that would fix the problem of slow PU dialog in Maven projects. Thank you.
Comment 1 Sergey Petrov 2009-10-29 17:55:01 UTC
I see maven-pom section in configs for:
hibernatelib
j2ee.toplink

kodo and openjpa are not bundled as I can't find appropriate module and libraries are not added to ant based web project.

does it mean this issue is invalid?
Comment 2 David Simonek 2009-10-29 18:47:36 UTC
I see, sorry, at the same time I found maven sections too in providers that you mentioned. Sorry.

Maybe issue is invalid, but can you explain to me, how is it possible that kodo and openjpa works? Where persistence
classes are loaded from? I created PU with kodo and I see no new dependency in the pom.xml, how is it possible?
Comment 3 Sergey Petrov 2009-10-29 19:33:32 UTC
I will try tomorrow, as I never tried kodo/openjpa before. 
in my opinion it's just supported providers and it's on user responsibility to add appropriate jars to nb project and
server classpath if necessary.
Comment 4 Sergey Petrov 2009-10-30 13:42:30 UTC
tried, can't deploy also as kodo files missed, all I know persistence support number of providers (know main provider
class, know specific provider properties etc) and some of supported providers are bundled as libraries with nb, some not.
Comment 5 David Simonek 2009-10-30 14:18:32 UTC
OK, I verified that all with all persistence providers wizard goes fast, very good. Sorry for opening useless report,
but we can be sure that it works OK for users now. Thanks for cooperation.