OneToMany relationship without new entity
Solution 1:
You can use @ElementCollection
mapping I think this is what are you looking for.
@ElementCollection(fetch=FetchType.LAZY)
@CollectionTable(name="TUBES", joinColumns=@JoinColumn(name="role_id"))
@Column(name="tube")
private List<String> tubes;
Update:
dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.0-api</artifactId>
<version>1.0.0.Final</version>
</dependency>
**Update2:**
import javax.persistence.CollectionTable;
import javax.persistence.Column;
import javax.persistence.ElementCollection;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Table;