Fornax-Platform
Forum

 « Return to Thread: Error - Hibernate Cartridge.

Re: Error - Hibernate Cartridge.

by deepshar027 :: Rate this Message:

Reply to Author | View in Thread

Darius, You are right.I was having an old version of persistence profile.
I updated it and it worked fine!

Thanks for your help!

Deepak.

Darius Jockel wrote:
It looks like you use an old version of the profile.

The generator wants to access the property fetch, but can not find it.

Does the profile contain a tagged value 'fetch' for fields?
You expolre the profile inside MagicDraw or Eclipse. The stereotype <<CollectionElement>> should have the property 'fetch'.

Maybe you put the model + profile into another lacation.
Please adjust the property
#The persistence profile
profile.persistence.file = model/Persistence.profile.uml
This property should target the currend profile. You can overwrite it by place it in the workflow.properties or another properties file read by your workflow.

Regards
Darius

 « Return to Thread: Error - Hibernate Cartridge.