Thank you!
I have a POJO like this (The next codes are all generated by
appfuse:gen-model):
@Entity
@Table(name="MATTHEW",schema="DQTRACER")
public class Matthew extends BaseObject implements Serializable {
    private MatthewId id;
    private String name;
    private String description;

    @EmbeddedId @GeneratedValue(strategy = GenerationType.AUTO)    
    public MatthewId getId() {
        return this.id;
    }
.....
}


@Embeddable
public class MatthewId extends BaseObject implements Serializable {
    private Long id1;
    private Long id2;
...
}.

But when I want to execute :"mvn appfuse:gen -Dentity=Matthew", there will
be some error:  http://www.nabble.com/file/p13742114/test.txt test.txt .

I think: in appfuse1.9.x, we can generate code for POJO with composite ID,
how can i do in appfuse2.x?

thanks a lot
-- 
View this message in context: 
http://www.nabble.com/appfuse%3Agen--POJO-with-composite-ID-tf4803300s2369.html#a13742114
Sent from the AppFuse - User mailing list archive at Nabble.com.

Reply via email to