persistence icon indicating copy to clipboard operation
persistence copied to clipboard

Provide JPA equivalent to Hibernate Filters

Open lukasj opened this issue 11 years ago • 6 comments

Hello guys,

following this question:

http://stackoverflow.com/questions/19361166/jpa-equivalent-for-hibernate-filters

I would like to suggest that you include JPA equivalent to Hibernate's Filter. I'm using the filters of hibernate quite a lot and I think they are very helpful, so now i'm bound to use hibernate and I can't switch my JPA implementation.

lukasj avatar Jul 28 '14 19:07 lukasj

  • Issue Imported From: https://github.com/javaee/jpa-spec/issues/87
  • Original Issue Raised By:@glassfishrobot
  • Original Issue Assigned To: @ldemichiel

lukasj avatar Aug 31 '18 16:08 lukasj

@glassfishrobot Commented Reported by paranoiabla

lukasj avatar Jul 28 '14 19:07 lukasj

@glassfishrobot Commented c.beikov said: If Filters were added, it would be useful for libraries if we could add them before the EntityManagerFactory is constructed. Also see #12

lukasj avatar Aug 13 '14 08:08 lukasj

@glassfishrobot Commented This issue was imported from java.net JIRA JPA_SPEC-87

lukasj avatar May 05 '17 06:05 lukasj

@ptahchiev Commented Any update on this? Seems to be trivial.

lukasj avatar Mar 18 '18 12:03 lukasj

It appears from this page that EclipseLink has something at least a bit similar to Filters in Hibernate, so perhaps this is a candidate for possible inclusion in JPA 4.

gavinking avatar Aug 21 '23 21:08 gavinking