Re: SFieldBlob convenience constructors

Franck Routier <[email protected]> Wed, 30 Jun 2010 16:26:04 +0200
Newsgroups gmane.comp.java.orm.simpleorm
Organization Axège sarl
Message-ID <1277907964.7811.7.camel@franck-laptop>
Hi,

actualy the first does exist (it is even the only constructor
available) :

	public SFieldBlob(SRecordMeta meta, String columnName, int maxSize,
			SFieldFlags... pvals) {
		super(meta, columnName, pvals);
		setMaxSize(maxSize); 
	}

As for the second one, it means you can have a SFieldBlob without a max
size. I don't use blobs myself, so I don't really know if this makes
sense...

Franck

Le mercredi 30 juin 2010 à 16:00 +0200, Noel Grandin a écrit :
>   
> Hi
> 
> For convenience and symmetry with the other types, SFieldBlob needs
> constructors that look like:
> 
>     public SFieldBlob(SRecordMeta meta, String columnName, int
> maxSize)
> 
>     public SFieldBlob(SRecordMeta meta, String columnName)
> 
> 
> Thanks, 
>    Noel Grandin
> 
> 
> 
> 
> 
> 
> ______________________________________________________________________
> Disclaimer: http://www.peralex.com/disclaimer.html
> 
> 
> 
> 
> 






------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/SimpleORM/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/SimpleORM/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/