]
Hardy Ferentschik updated HSEARCH-296:
--------------------------------------
Fix Version/s: 3.1.0
Expose managed entity class via a Projection constant
-----------------------------------------------------
Key: HSEARCH-296
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-296
Project: Hibernate Search
Issue Type: New Feature
Environment: all
Reporter: Jesse McLaughlin
Assignee: Hardy Ferentschik
Fix For: 3.1.0
Expose managed entity class via a projection constant.
It's currently possible to get the entity class using: ProjectionConstants.DOCUMENT,
and then:
((Document)tuple[0]).getField("_hibernate_class")
But it would be nice to have the equivalent available as a first class projection
constant.
Looks like this is currently a TODO in the source code for
org.hibernate.search.ProjectionConstants. But you can't vote on a TODO! :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: