RE: Need help with getting long strings

From: Gentry, Michael \(Contractor\) ("Gentry,)
Date: Fri Apr 29 2005 - 12:39:57 EDT

  • Next message: Gentry, Michael \(Contractor\): "RE: Need help with getting long strings"

    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
             



    This archive was generated by hypermail 2.0.0 : Fri Apr 29 2005 - 12:40:02 EDT