[hibernate-issues] [Hibernate-JIRA] Created: (ANN-803) prob :generics type persistance
Christophe (JIRA)
noreply at atlassian.com
Wed Feb 18 11:00:38 EST 2009
prob :generics type persistance
-------------------------------
Key: ANN-803
URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-803
Project: Hibernate Annotations
Issue Type: Bug
Affects Versions: 3.4.0.GA
Reporter: Christophe
Priority: Blocker
I write this code :
@Entity
@Table(name = "markunit")
public class MarkUnit<N> {
private N content;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "id", updatable = false, nullable = false)
private Long id = null;
@Column (name = "name")
private String name;
.....
}
I want to to make persistance with java primitive value or by a bound type list given : date, string, all number...
but is impossible : MarkUnit.content has an unbound type and no explicit target entity
please give me an explicit way to resolve this probleme
best regards
--
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