Another problem we are also experiencing is when using enumerations:

We are storing enumerations as strings in our db with the following annotations
on our property

   @Enumerated(EnumType.STRING)
   @Column(length=15, nullable=false)
   public BankingType getMethod() {
       return method;
   }
   public void setMethod(BankingType method) {
       this.method = method;
   }

When generating sample data it generates random characters, which is incorrect. Is there a way to fix this? If it is not implemented yet I would like to contribute it
to the project but I will need to have a heads up on where to look in the
appfuse-maven-plugin project.

Regards
Juan


Juan Heyns wrote:
Hi guys

We are using a modular project with Struts2 & Hibernate. In our core project
we are using annotated POJOs with @Embedded POJOs. When running
generate on the entity it does not include the fields of the @Embeddable
POJO when creating the sample data.

Is this still an issue in Appfuse 2.0.2? I saw a note in the changlog re to this
issue with a tag 2.0_RC1, should this not be fixed?

Regards
Juan


Reply via email to