?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”> // cabeçalho
<hibernate-configuration>
<session-factory>
<!-- Database connection settings -->
<property name=“connection.driver_class”>com.mysql.jdbc.Driver</property> //drive usado no meu caso Mysql
<property name=“connection.url”>jdbc:mysql://localhost/customers</property> //local honde estar o meu banco “customers”
<property name=“dialect”>org.hibernate.dialect.MySQLDialect</property>
<property name=“connection.username”>root</property> //usuario do mysql
<property name=“connection.password”>123456</property> //senha do mysql
<!-- Mapping -->
<mapping class=“hibernate.beans.Customers”/> // ???/ este aqui eu não sei o que é
</session-factory>
</hibernate-configuration>
se alguem souber o que essa parte da um aviso, to tentando seguir este exemplo.
http://jroller.com/page/jrjunior?entry=hibernate_annotations_it_is_really