"djiska1" wrote : thank you for information.
|
| Now it doesn't have got those errors. Only a
|
| 13:51:56,653 FATAL [PersistenceXmlLoader] test JTA
|
| I've got to do more test. But I now have finished.
|
| Tomorrow i'll follow
|
| thank you
|
|
Forget about that
thank you for information.
Now it doesn't have got those errors. Only a
13:51:56,653 FATAL [PersistenceXmlLoader] test JTA
I've got to do more test. But I now have finished.
Tomorrow i'll follow
thank you
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
Your mapping is wrong.
| [...]
| private List propiedades;
| [...]
|
| @JoinColumn (name = "idEmpleado")
| @OneToMany (cascade = CascadeType.ALL, fetch = FetchType.EAGER,
mappedBy = "idEmpleado")
| public List getPropiedades() {
|
Ok
I send the Propiedad and Empleado class
This is "Empleado"
| package org.jboss.jose.db;
|
| import javax.persistence.*;
| import java.util.*;
|
|
| @Entity
| @Table(name="empleados")
| public class Empleado {
| private int idEmpleado;
| private String nombreA
org.hibernate.MappingException: property not found: idEmpleado on entity
org.jboss.jose.db.Propiedad
You seem to have an association referencing the property idEmpleade in your
Propiedad class that hibernate cannot find.
If you could post your org.jboss.jose.db.Propiedad and Empleado classes so