[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6148) Resolve generic type parameters

Hardy Ferentschik (JIRA) noreply at atlassian.com
Thu Apr 21 08:13:59 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42122#action_42122 ] 

Hardy Ferentschik commented on HHH-6148:
----------------------------------------

As part of the mapping via annotation the type of persistent properties have to be discovered. For example in this case:
{code}
	@Entity
	class Bar<T> {
		@Id
		@GeneratedValue
		private T id;

		public int test;
	}

	@Entity
	public class Foo extends Bar<Integer> {
	}
{code}
So far this was the responsibility of commons annotations. Without this library we need a replacement. Currently I am thinking about https://github.com/cowtowncoder/java-classmate

> Resolve generic type parameters
> -------------------------------
>
>                 Key: HHH-6148
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6148
>             Project: Hibernate Core
>          Issue Type: Sub-task
>          Components: metamodel
>            Reporter: Hardy Ferentschik
>            Assignee: Hardy Ferentschik
>             Fix For: 4.0.0.Alpha3
>
>


-- 
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