Hi all,
I'm using Cayenne 1.0a6 with MySQL. I just added new ObjEntity's for
the first time after moving up to 1.0a6, and now I get the error below
with one of the new ObjEntities (the old ones work fine):
I'm attaching the relevant sections of the datamap.map.xml as well -
please let me know if there is anything else to provide.
Any hints will be greatly appreciated.
reinier
org.objectstyle.cayenne.CayenneRuntimeException: Could not find DbEntity
for query with root :class clabo.kfc.domain.Role
Caused by: org.objectstyle.cayenne.CayenneRuntimeException: Could not
find DbEntity for query with root :class clabo.kfc.domain.Role
org.objectstyle.cayenne.access.DataDomain.performQueries(DataDomain.java:404)
org.objectstyle.cayenne.access.DataContext.performQueries(DataContext.java:1020)
org.objectstyle.cayenne.access.DataContext.performQuery(DataContext.java:1112)
org.objectstyle.cayenne.access.DataContext.performQuery(DataContext.java:949)
<db-entity name="ROLE">
<db-attribute name="DESCRIPTION" type="VARCHAR" length="200"/>
<db-attribute name="NAME" type="VARCHAR" length="50"/>
<db-attribute name="ROLE_ID" type="INTEGER" isPrimaryKey="true"
isMandatory="true" length="11"/>
</db-entity>
<obj-entity name="Role" className="clabo.kfc.domain.Role"
dbEntityName="ROLE">
<obj-attribute name="description" type="java.lang.String"
db-attribute-path="DESCRIPTION"/>
<obj-attribute name="name" type="java.lang.String"
db-attribute-path="NAME"/>
</obj-entity>
This archive was generated by hypermail 2.0.0 : Tue Feb 17 2004 - 17:51:48 EST