[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [eclipselink-users] Exception inserting into Sybase AsE TEXT field
|
- From: James Sutherland <jamesssss@xxxxxxxxx>
- Date: Wed, 10 Jun 2009 06:44:17 -0700 (PDT)
- Delivered-to: eclipselink-users@eclipse.org
You can use a SessionCustomizer to enable stream binding,
session.getLogin().setUsesStreamsForBinding(true);
cmathrusse wrote:
>
> How does EclipseLink perform inserts into CLOB fields? If the current
> implementation is simply performing a setString(param) then truncation
> will occur with the ASE JConnect driver.
>
> I know when I was using iBatis with ASE I had to write a custom type
> handler to ensure that the data was streamed into the database. Is there
> any way that I can provide EclipseLink with a custom type handler to
> perform the insert/update in the same manner?
>
-----
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland
http://www.eclipse.org/eclipselink/
EclipseLink , http://www.oracle.com/technology/products/ias/toplink/
TopLink
Wiki: http://wiki.eclipse.org/EclipseLink EclipseLink ,
http://wiki.oracle.com/page/TopLink TopLink
Forums: http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink ,
http://www.nabble.com/EclipseLink-f26430.html EclipseLink
Book: http://en.wikibooks.org/wiki/Java_Persistence Java Persistence
--
View this message in context: http://www.nabble.com/Exception-inserting-into-Sybase-AsE-TEXT-field-tp23746802p23962630.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.