Modifying annotation attribute value at runtime in java

后端 未结 3 1776
失恋的感觉
失恋的感觉 2021-01-14 02:24

some methods in our model pojos have been annotated like this:

@Column(name=\"cli_clipping_id\", updatable=false, columnDefinition = \"varchar(\" + ModelUtil         


        
3条回答
  •  花落未央
    2021-01-14 03:17

    Though, this is in fact an old thread the Answer two above is incorrect for point 2: actually class anotations can be changed while runtime.

    I am still curious how to get it done for methods.

提交回复
热议问题