Hi Yongping,
Yongping wrote:
I played with AppFuse for a couple of weeks. So far so good. I like it.
I tried to add new DAO, Entity and Service. Everything worked perfectly.
However dbunit seems failed to load test data defined in sample-data.xml
into a little bit special table. I called it a little bit specail because it
has a composite key (Embeddable). I can use hibernate3:hbm2ddl to generate a
table based on that entity class with an embeddedId (relationships between
this new table and other dependant tables are maintained very well). Data in
sample file are loaded into all tables except this one with composite key. I
turned on -e when I run dbunit but didn't get any error or warning messages.
In the end, it reports BUILD SUCCESSDUL but not really.
Any ideas? Thanks
Have you tried turning on Hibernate sql logging?
HTH,
Rob Hills
Waikiki, Western Australia
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]