I have created a SQLServer2005 database. I have used MyEclipse to reverse engineer the Entity beans. In several cases I changed the relationships from one-to-many to one-to-one. I have spent a day combing through the entity beans I created ensuring I have the relationships identified correctly. I have ran the annotations through the Sun App Server verifier utility. The application deploys to Glassfish, however, when I run the application, it is throwing an error
java.lang.IllegalStateException: During synchronization a new object was found through a relationship that was not marked cascade PERSIST: com.cm.ejb.bean.entity.ItemPart@1f40964.
at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork$1.iterate(RepeatableWriteUnitOfWork.java:140)
I have tried to trim back the relations where possible so it would be easy to follow. Any suggestions would be greated appreciated.
Russ