Hi,
I'm using hibernate anotations and entity manager for persisting my objects. I use eclipse plug-in JSR-220 for this. But somehow i can't configure my classpath manual. When JSR-220 configures my classpath it works well when I try to add them maunally application raises the exception about it can not find entity manager named "mymanager". My persistance.xml file is below. Thank you for your suggestions.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<entity-manager>
<name>mymanager</name>
<class>Human</class>
<properties>
<property name="hibernate.connection.url" value="jdbc:mysql://localhost:3306/human"/>
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
<property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/>
<property name="hibernate.connection.password" value=""/>
<property name="hibernate.connection.username" value="root"/>
</properties>
</entity-manager>