Não. Assim:
Code:
@Entity
public class Pessoa {
Integer idPessoa;
Telefone telefoneComercial;
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
public Integer getIdPessoa() {
return idPessoa;
}
public Telefone getTelefoneComercial() {
return telefoneComercial;
}
//setters omitidos
}
Entendeu?