Programmatic mapping raises exception when a non getter method is parsed by the metadata binder

Description

See this forum post:

https://forum.hibernate.org/viewtopic.php?f=9&t=1006616

The progammatic mapping doesn't seem to work when used inside a Seam application with the bootstrapped EntityManagerFactory. Attached is a simple Seam application (can be built with Maven) that demonstrates the error.

Attachments

2
  • 01 Oct 2010, 09:41 AM
  • 30 Aug 2010, 05:57 PM

Activity

Show:

Emmanuel Bernard October 1, 2010 at 1:46 PM

I've tried on Hardy's jetty based project and the exception is gone.

Emmanuel Bernard October 1, 2010 at 1:45 PM

Emmanuel Bernard October 1, 2010 at 12:36 PM

my bad I did not see the big exception stack you've posted earlier. I need to wake up slightly smiling face

Hardy Ferentschik October 1, 2010 at 11:03 AM

The main exception is:
org.hibernate.search.SearchException: Error in programmatic mapping. Method finalize is not a property getter

Emmanuel Bernard October 1, 2010 at 10:48 AM

Can you attach the exception you see?

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created August 30, 2010 at 5:57 PM
Updated January 27, 2015 at 10:20 PM
Resolved October 1, 2010 at 1:50 PM

Flag notifications