Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Blob and PostgreSQL

På mandag 24. juni 2013 kl. 16:23:15, skrev Tom Ware <tom.ware@xxxxxxxxxx>:
There is quite alot of functionality that can be overridden through subclassing
our various database platforms.

You should be able to override buildFieldTypes() in PostgreSQLPlatform to change
what DDL generation will generate.

How is writing to a LOB using OID different than writing to a bytea different in
JDBC?
 
I don't understand the question, what do you mean? For clarity; What I'm after is to use Blob as a JPA-field (and call getBinaryStream to get the data) and be sure the underlying framework (EL) uses streams (not byte-arrays), and having it work with PG's OID type.
 
--
Andreas Joseph Krogh <andreak@xxxxxxxxxxxx>      mob: +47 909 56 963
Senior Software Developer / CTO - OfficeNet AS - http://www.officenet.no
Public key: http://home.officenet.no/~andreak/public_key.asc
 

Back to the top