Book a Demo

Author Topic: Java annotations  (Read 4160 times)

andyd

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
  • Hi
    • View Profile
Java annotations
« on: October 28, 2004, 05:26:31 pm »
I'm getting quite interested in EJB3 which (IMHO) simplifies EJB development considerably.  Unfortunately EA doesn't seem to like Java 5 annotations.
Syntax something like...
@Entity
@Table (name = "sometable")
public class SomeClass
{
@Id public int getId(){return id;}
public void setId(int val){id = val;}
......
...
.
}

Would be very useful if EA could atleast store class/method and attribute level annotations with code forward/reverse engineering. Even if there are no gui elements to edit within the model.

Any plans for this? if so any idea on timescales?

Many thanks.

Andy.