[hibernate-issues] [JIRA] (HSEARCH-3901) Expose metadata about the annotated type in the context passed to PropertyMappingAnnotationProcessor/TypeMappingAnnotationProcessor

Yoann Rodière (JIRA) jira at hibernate.atlassian.net
Mon Apr 27 05:09:39 EDT 2020


Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) *created* an issue

Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiNzVmZGQzZWM4ZmFmNDRjNzlhZTMzNDFhNWI4YjZkZjgiLCJwIjoiaiJ9 ) / Improvement ( https://hibernate.atlassian.net/browse/HSEARCH-3901?atlOrigin=eyJpIjoiNzVmZGQzZWM4ZmFmNDRjNzlhZTMzNDFhNWI4YjZkZjgiLCJwIjoiaiJ9 ) HSEARCH-3901 ( https://hibernate.atlassian.net/browse/HSEARCH-3901?atlOrigin=eyJpIjoiNzVmZGQzZWM4ZmFmNDRjNzlhZTMzNDFhNWI4YjZkZjgiLCJwIjoiaiJ9 ) Expose metadata about the annotated type in the context passed to PropertyMappingAnnotationProcessor/TypeMappingAnnotationProcessor ( https://hibernate.atlassian.net/browse/HSEARCH-3901?atlOrigin=eyJpIjoiNzVmZGQzZWM4ZmFmNDRjNzlhZTMzNDFhNWI4YjZkZjgiLCJwIjoiaiJ9 )

Issue Type: Improvement Assignee: Unassigned Components: mapper-pojo Created: 27/Apr/2020 02:09 AM Fix Versions: 6.0.0.Beta-backlog-high-priority Priority: Major Reporter: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b )

This will be useful if we ever need to restore annotations with a behavior similar to Search 5.

In particular:

* We need the type of the annotated property, so as to decide whether to use.fullTextField or.genericField when implementing Search 5's @Field annotation.
* We need access to other annotations on the annotated property, in order to support Search 5's @Analyzer , @Normalizer , @SortableField and maybe @NumericField. Maybe we could expose them as markers, similarly to what we did for bridge binding? See org.hibernate.search.mapper.pojo.bridge.builtin.spatial.impl.LatitudeMarker and org.hibernate.search.mapper.pojo.bridge.builtin.spatial.impl.GeoPointBridge.Binder#doBind for example.

( https://hibernate.atlassian.net/browse/HSEARCH-3901#add-comment?atlOrigin=eyJpIjoiNzVmZGQzZWM4ZmFmNDRjNzlhZTMzNDFhNWI4YjZkZjgiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HSEARCH-3901#add-comment?atlOrigin=eyJpIjoiNzVmZGQzZWM4ZmFmNDRjNzlhZTMzNDFhNWI4YjZkZjgiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100125- sha1:c966059 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200427/1031bc8c/attachment.html 


More information about the hibernate-issues mailing list