Hi All,

Can somebody help me this out?

What is the JPA annotation matching the node attribute in hibernate mapping file?

public class User implements Serializable{
@Node?
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;

}

<hibernate-mapping package="ca.digitrend.ville.vo" default-access="field">

<class name="User" table="Users" node="user">
<id name="id" column="id" node="@id">
<generator class="native"/>
</id>
</class>


</hibernate-mapping>