This content has been marked as final.
Show 1 reply
-
1. Re: javax.naming.NameNotFoundException:com not bound.
kasinath Jan 13, 2006 5:39 PM (in response to yzqhorse)name of the par( example u might gavew
persist.PAR
) and the name in ur persistence.xml shuld be same..
what i mean is<?xml version="1.0" encoding="UTF-8"?> <entity-manager> <name>persist</name> <jta-data-source>java:/orderDataSource</jta-data-source> <properties> <property name="hibernate.hbm2ddl.auto" value="create" /> <property name="hibernate.dialect" value="org.hibernate.dialect.OracleDialect" /> </properties> </entity-manager>
Both shuld be the same...
name in persistence.xml and name of .PAR file shuld same then u dont get error
thanks
kasi