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. 14:37:07, skrev Tom Ware <tom.ware@xxxxxxxxxx>:
Is the code attached to this bug any help?

https://bugs.eclipse.org/bugs/show_bug.cgi?id=337467

If so, you can subclass PostgreSQLPlatform to make use of that code and enable
it by specifying the name of your subclass in the persistence unit property
"eclipselink.target-database".
 
It looks like that code makes EL able to read blobs, but not to write them, or generate correct schema. Does EL offer a mechanism to override default-implementations of built-in types, so that one can make a custom Blob-type and have EL use it for all JPA-fields of type=Blob?
 
--
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