Re: CMP exception: Attempt to cast instance xxx [java.lang.String] to PersistenceCapable failed. Ensure that it has been enhanced.

2009-03-11 Thread David Blevins
On Mar 10, 2009, at 7:55 AM, Phili wrote: @Stateless @WebService(serviceName = TestWS, portName = TestWSPort, endpointInterface = , targetNamespace = xxx) public class TestWSBean implements TestWS { @PersistenceContext(unitName=TestPU)

CMP exception: Attempt to cast instance xxx [java.lang.String] to PersistenceCapable failed. Ensure that it has been enhanced.

2009-03-10 Thread Phili
Hi i've been playing around with a test project consisting of a cmp entity bean and a simple 1-method-webservice trying to persist on instance of that entity. deployment of the classes went well but i couldnt get an entity-instance persisted. the entity class look something like this