1 Reply Latest reply on Oct 25, 2003 5:41 AM by juha

    Problems with primary key

    gzus

      Hello

      I have a user entity bean, which uses CMP to make the persistence in a MySQL DB. So far so good. As the primary key of the bean, I have the username, which is a String. This works fine, but if the username contains a "-" char, the bean can't find the entity in the DB. Why is that ? Is a "-" char a speciel char which isn't allowed in primary keys or what ? Please help me.

      /Morten N