db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Ease of use for annotations
Date Fri, 29 Jun 2007 20:56:48 GMT
Another thing about annotations <--> xml.

In xml, we have
<field name="department" column="DEPARTMENT"/>
<field name="department" >
   <column name="DEPARTMENT"/>

In annotations, it's
@Field (columns=@Column(name="DEPARTMENT"))
Department department;

Department department;

It would be nice if we could have @Column("DEPARTMENT") instead of  

Also @Field (column="DEPARTMENT")


Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!

View raw message