On 23/08/09 7:41 AM, Nishant Neeraj wrote:
I have been trying to get a demo with Cayenne. Looks like
Cayenne does not like the schema the DAOs created are a mess. They have
texts like $importUtils.addType(${rel.TargetEntity.ClientClassName})
where you expect a method paramter.

Review the steps in the tutorial with regard to cgen (if you are using 
ant/maven) [1] or using the modeler to generate the entity classes. Yours are 
the raw templates without having velocity transform them into the final files. 
Make sure you have the velocity jar in your classpath.

Ari Maniatis


[1] http://cayenne.apache.org/doc/cgen.html

-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Reply via email to