を決めることができませんでした:Hibernateは、私はこのエラーとこだわっているタイプ
org.hibernate.MappingException: Could not determine type for: com.mywebsite.entity.Image, at table: User, for columns: [org.hibernate.mapping.Column(profilePhoto)]
私はそれが多くのことを尋ねてきた知っているが、私はこれにこだわっています。それは時間しようとしてと私は仕事何かを見つけることができませんが...ここで
は私の2クラスである:
@Entity
public class Image extends com.mywebsite.entity.Entity{
//System
@Id
@GeneratedValue
private int id;
[...]
}
@Entity
public class User extends com.mywebsite.entity.Entity{
//System
@Id
@GeneratedValue
private int id;
[...]
//Data
private Image profilePhoto;
[...]
}
誰かが私を助けることができますか?
この行の前に注釈がありませんか? 'プライベートImage profilePhoto;' –
[可能重複](http://stackoverflow.com/questions/26416881/hibernate-mapping-exception-could-not-determine-type-for) –
私はそこに "プライベートStringパスワード; " – Antoine