[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-585) New @Persister annotation doesn't declare a default for impl target
Shawn Clowater (JIRA)
noreply at atlassian.com
Thu Mar 22 12:06:09 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-585?page=comments#action_26516 ]
Shawn Clowater commented on ANN-585:
------------------------------------
Actually, there are more annotations that I thought that don't define a default, definitely a bug on their side. I'll go and scurry back into my corner now.
> New @Persister annotation doesn't declare a default for impl target
> -------------------------------------------------------------------
>
> Key: ANN-585
> URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-585
> Project: Hibernate Annotations
> Type: Bug
> Components: binder
> Versions: 3.3.0.ga
> Reporter: Shawn Clowater
> Fix For: 3.3.0.ga
>
>
> Not sure if this is a bug in the Annotations side of things but the new @Persister annotation doesn't define a default for the impl target. There is at least one 3rd party library that I know of (apt) that dies a horrible death when trying to parse the @Persister annotation. It blows a Null Pointer Exception when trying to look for the default.
> Looking at the other annotations it would seem most if not all define a default. The drawback is that the default has to be an actual class, it doesn't seem to accept NULL. I just rolled out into our codebase with a hack that made the default Object.class so that it would compile and parse correctly. I'm not sure if that's the actual solution or not. I would think maybe SingleEntityPersister would be a better default perhaps.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list