RE: Need help with getting long strings

From: Dhruti Ramani (dhrutiraman..ahoo.com)
Date: Fri Apr 29 2005 - 13:42:01 EDT

  • Next message: Andrus Adamchik: "Re: missing property, but no error"

    ya I just tried that and it works now. Thank you so much.
     
    Denna

    "Gentry, Michael (Contractor)" <michael_gentr..anniemae.com> wrote:
    No, you do not have to specify a maximum number.

    -----Original Message-----
    From: Dhruti Ramani [mailto:dhrutiraman..ahoo.com]
    Sent: Friday, April 29, 2005 12:48 PM
    To: cayenne-use..bjectstyle.org
    Subject: RE: Need help with getting long strings

    Thanks both of you for replying.
     
    but if I use any of the types that you have specified, still I have to define max. numbers, right?

    "Gentry, Michael (Contractor)" <michael_gentr..anniemae.com> wrote:
    In the DbEntity, use a LONGVARCHAR or LONGVARBINARY or BLOB or CLOB (whichever makes more sense) ... I think in PostgreSQL you'll have a TEXTA type (but I'm pretty rusty on that right now).

    -----Original Message-----
    From: Dhruti Ramani [mailto:dhrutiraman..ahoo.com]
    Sent: Friday, April 29, 2005 12:35 PM
    To: Cayenne-User
    Subject: Need help with getting long strings

    Hi,
     
    I think i have posted this question before but I missed the answer.
     
    i am using postgres as database. One of my field (java String) has to be really long so user can store as much as they want. And I don't know the limit. Is it possible to do this in cayenne modeler? Right now I have that field as VARCHAR but in that I have to define max. no. of characters.
     
    Any comments?
     
    Denna
     

    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com

    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com



    This archive was generated by hypermail 2.0.0 : Fri Apr 29 2005 - 13:42:03 EDT