ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: Ibatis and the blob
Date Mon, 18 Sep 2006 14:42:15 GMT
Well, without knowing more of the requirements, it's hard to say, but
in almost all cases, the first step would be to break it into
managable components and data structures.

A 20MB blob is not a data structure.

Maybe you are looking for something more like Prevayler.

Larry


On 9/18/06, soussou97 <dboussebha@yahoo.fr> wrote:
>
> Hi Larry
>
> I have realized of performance with Ibatis and JDBC for getting of BLOB, in
> conclusion when the size is important, Ibatis is not adapted for this kind
> of situation.
> For your question : "Reading a 20M blob to create objects? This just sounds
> to me like an
> application from Hell"
> Which solution you propose ?
>
> Regards;
>
> Larry Meadors-2 wrote:
> >
> > Nope.
> >
> > Why are you using a RowSet?
> >
> > If I were doing this, I'd use a simple prepared statement to a result
> > set to do it.
> >
> > Reading a 20M blob to create objects? This just sounds to me like an
> > application from Hell.
> >
> > Larry
> >
> >
> > On 9/18/06, soussou97 <dboussebha@yahoo.fr> wrote:
> >>
> >> Hi Larry;
> >>
> >> OK I willl ue JDBC + Rowset for getting the blob, have you a example or a
> >> implementaition ?
> >>
> >> Regards;
> >>
> >>
> >> Larry Meadors-2 wrote:
> >> >
> >> > For 20M of data? No.
> >> >
> >> > Larry
> >> >
> >> >
> >> > On 9/18/06, soussou97 <dboussebha@yahoo.fr> wrote:
> >> >>
> >> >> Hi;
> >> >>
> >> >> Please somebody can answer me if  its possible to use Ibatis (last
> >> >> version)
> >> >> for getting a big Blob (20 Mo) from a database (Oracle 10) with of
the
> >> >> good
> >> >> performance ?
> >> >> If yes which lib (InputStream or sql.Blob) I must to use for
> >> extracting
> >> >> the
> >> >> data inside of blob (byte []) ?
> >> >>
> >> >> regards;
> >> >> --
> >> >> View this message in context:
> >> >> http://www.nabble.com/Ibatis-and-the-blob-tf2290439.html#a6361369
> >> >> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Ibatis-and-the-blob-tf2290439.html#a6362935
> >> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Ibatis-and-the-blob-tf2290439.html#a6364829
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>

Mime
View raw message