String as Primary Key

From: Fredrik Liden (flide..ranslate.com)
Date: Fri Feb 18 2005 - 21:42:06 EST

  • Next message: Fredrik Liden: "RE: String as Primary Key"

    Is it a requirement that the PK be a numeric value?
    I'm using varchar but now I keep getting an error message when I try to
    obtain the dataObject using:

    (Budget) DataObjectUtils.objectForPK(context,Budget.class,"1");

    Or is it something with the parameter to the ObjectForPK?

    Fredrik Liden



    This archive was generated by hypermail 2.0.0 : Fri Feb 18 2005 - 21:41:49 EST