[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[aspectj-users] A way to change annotation declaration by aspect or adding an attribute.
|
Hi all,
I have this :
@Column(name="account_category_uuid", nullable=false)
@Id
private java.util.UUID account_category_uuid;
I want an aspect who change :
@Column(name="account_category_uuid", nullable=false)
to
@Column(name="account_category_uuid", nullable=false,
columnDefinition="uuid NOT NULL")
I've a lot of class with this sort of declaration.
I've tried :
declare @field : * *uuid : @Column(columnDefinition="uuid NOT NULL");
but this seems not change the first declaration.
Are there a way to use dynamic construction with declare @field like :
@Column(name=thisjointpoint+"_uuid", nullable=false,
columnDefinition="uuid NOT NULL")
Thanks in advance.
Jean-Jacques.
begin:vcard
fn:Jean-Jacques Peyronel
n:Peyronel;Jean-Jacques
org:TOWA France;Informatique
adr:Ch de la bastide blanche;;Parc GVIO Bat A5;Vitrolles;;13127;France
email;internet:jjpeyronel@xxxxxxxxxxxxxx
title;quoted-printable:D=C3=A9veloppeur
tel;work:04 42 34 01 37
tel;fax:04 42 34 01 45
url:http://www.towa-france.fr
version:2.1
end:vcard
Attachment:
signature.asc
Description: OpenPGP digital signature