Skip to main content



      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 11:59 Go to next message
Eclipse UserFriend
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 08:52 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Proper EntityManger in multi-thread App
Next Topic:Suggestion: commit() method returning the number of committed.
Goto Forum:
  


Current Time: Tue Jul 08 08:19:17 EDT 2025

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

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

Back to the top