The 2.6 beta (on labs.adobe.com) has annotations support built in - you
have to use the HibernateAnnotationsAssembler instead of the
HibernateAssembler in your data-management-config.xml.  It is not too
hard to add to 2.5.1 if you need it there too... there are some new jar
files you need to add and you need to override a method in the
HibernateAssembler to specify a different class to bootstrap the
configuration.   The source for this is also in the 2.6 beta if you want
to check it out.

 

Jeff

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mathieu Fernandez
Sent: Wednesday, April 30, 2008 3:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Use hibernate annotations with LiveCycle Data
Services

 

Hello,
I'm trying to use hibernate annotations with LiveCycle Data Services.
My problem is when I launch my server I have this error :
"An annotationConfiguration instance is required to use <mapping 
class="...">"
So I would like to know how enabling annotation configuration?
Thanks

 

Reply via email to