> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate 
> Configuration DTD 3.0//EN" 
> "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
> <hibernate-configuration>
>   <session-factory>
>     <property name="hibernate.show_sql">true</property>
>
>     <property name="hibernate.current_session_context_class">thread</property>
>     <property 
> name="hibernate.transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
>     <!--property name="hibernate.use_sql_comments">true</property-->
>     <mapping resource="model/User.hbm.xml"/>
>   </session-factory>
> </hibernate-configuration>

Baru nyadar ternyata pake Hibernate mapping xml, udah coba pake
hibernate annotation? lebih cocok dan udah pasti jalan sih, udha coba
berkali2 dengan struktur project yang sama selalu berhasil.

--

regards

Kirim email ke