I finally got to disable the generation of "ID",  using extension advice:


around transformation::Transformation::modifyIdAttribute(DomainObject
domainObject) :
    null;


that desactivate the generation of default "ID" in my Entities but generate
other errors.

The problem in using this extension is that if i declare another attribute
as key, the generated code for this attribute hadn't the annotation @Id

any idea??
 


Patrik Nordwall wrote:
> 
> Why wouldn't you like to generate id?
> 
> /Patrik
> 
> 
> MasterBoy wrote:
>> 
>> hi folks, 
>> 
>> I have a problem using sculptor when generating the domain objects.
>> 
>> concerning the system attributes ( id, uuid, version, created by ...) i
>> desactvate them using the sculptor properties file : systemAttributes= ;
>> 
>> but even if i desactivate it, the "id" attibute is generated. and not the
>> others!!!
>> 
>> please, someone have any idea about this issue?
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/problem-with-autogenerated-id-tp28229861s17564p28234228.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to