]
Diego Plentz resolved ANN-803.
------------------------------
Resolution: Rejected
Assignee: Diego Plentz
Use
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
Assignee: Diego Plentz
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: