Hello, Recently I had a lot of "fun" playing with Blob on Oracle. The thing you need to be aware of is that the way to work with them depends on the driver you use.
So the best way to insert a blob is different if you are using an oracle 9i thin, oracle 9i oci or some more JDBC compliant drivers like the one shipped by I-Net. You really need to consider this when testing Oracle. I might be able to found some code to perform the different insertions if you want. Maybe what I'm saying here is useless... I try to check your code but cvs doesn't want to allow me :-( Hope it helps, Henri On Apr 4, 2005 4:40 PM, Emmanuel Bernard <[EMAIL PROTECTED]> wrote: > Hi, > To support the EJB3 spec, I've implemented 5 new UserType > StringClobType > ChararcterArrayClobType > PrimaryChararcterArrayClobType > ByteArrayBlobType (will be commited tonight) > PrimaryByteArrayBlobType (will be commited tonight) > > I'm really not confident with that since Blob/Clob seems to be a real > mess esp with Oracle. > * Some of you can test them on various DB? > * some Blob/Clob experts can review my code. It has to stay quite portable. > > The code is in Annotations CVS, in src/org.hibernate.type. The test is > in test/org.hibernate.test.annotations.lob > > It does work for HSQLDB. > > Thanks > > -- > Emmanuel Bernard > [EMAIL PROTECTED] > callto://emmanuelbernard > > http://www.hibernate.org > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > hibernate-devel mailing list > hibernate-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel