RE: Need help with getting long strings

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

  • Next message: Erik Hatcher: "missing property, but no error"

    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



    This archive was generated by hypermail 2.0.0 : Fri Apr 29 2005 - 12:56:54 EDT