Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Eclipselink 2.3.2 + composite persistence units + bean validation (jsr303)
Eclipselink 2.3.2 + composite persistence units + bean validation (jsr303) [message #905060] Wed, 29 August 2012 15:59 Go to next message
Maciej Jaśkowski is currently offline Maciej JaśkowskiFriend
Messages: 1
Registered: August 2012
Junior Member
Does any one know why such a configuration is not supported? Or even better how to make it work, anyway?

I say that it doesn't work because one can see in the code of EntityManagerSetupImpl:

if (!isCompositeMember()) {
    addBeanValidationListeners(deployProperties, realClassLoader);

in lines 431-433

which basically means: if the pu in question is composite member then now validation listeners is added.

On the other hand the "master" no validation listener is added too: one can see that several lines above.

I had a look at the source code of EclipseLink 2.3.3 and 2.4.0 and the problem seems to remain there as well.

Could anyone help me with that, please?
Re: Eclipselink 2.3.2 + composite persistence units + bean validation (jsr303) [message #909037 is a reply to message #905060] Thu, 06 September 2012 12:52 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

Are you sure it does not work if you set it on the master persistence unit?

If you are not seeing it working, please log a bug.

James : Wiki : Book : Blog : Twitter
Previous Topic:Proper EntityManger in multi-thread App
Next Topic:Suggestion: commit() method returning the number of committed.
Goto Forum:

Current Time: Sun Jan 17 14:21:41 GMT 2021

Powered by FUDForum. Page generated in 0.01707 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top