I'm storing large files. Postgres has a limit for blobs and uses a different api for larger stuff. Cut off is 1gb
On Mon, Aug 27, 2018, 7:19 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Alex, > > On 8/24/18 16:08, Alex O'Ree wrote: > > I have a use case where i need to downcast a pooled database > > connection down to the native class that is in use for the driver. > > Unfortunately I don't see any APIs that I can use to do this. Is > > there any backdoors or mechanisms I can use? > > > > Background, I'm using postgres with tomcat 8.5 and need to access > > some postgres specific apis, (the large binary object api). I've > > tried with both the tomcat based pool and the dbp2 connection > > pooling too. > > What's wrong with the existing JDBC APIs for working with BLOBs? It's > been a really long time since anyone has really had to down-cast JDBC > interface types to their implementation types to get around > deficiencies in the APIs. > > - -chris > -----BEGIN PGP SIGNATURE----- > Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ > > iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAluEhucACgkQHPApP6U8 > pFh0WA//X5aXgSlXTvwzOnlJdLVwm1Mpu/6FzHycBgK0S4MGlLggNvqdYs/p+ksz > I6m1vRVPifozU6C7ljAzjOmquN5kG6r00fp4JwK9vehVLBbg991LyGPQe30mQytk > S6b8qtFcBoAobP0j6KE29adSGJ8mwSAXcPE22NqBPlkj5vA1LwyNxxzgFVIL35lJ > M5z6cuEfJDcD4pj4azLzdG63y1hWeSyVdRyNC4YaB7vD74+1p42EWoR37djtWzbg > uvbM/OtsgGZsLeTWNSsR/eiupa0tgnbl99YNIIoSYyYKscS7e00sMs/vV9QxgXYL > VfQSL3RJMQPmkl35mmyLx7tV0ztmNORpeSLKZM0SQBUTyoVTpm5hB5z7SyO9bxo3 > CUOUpKYQsf1z0BIxTgzwBa+Cs97Qpt/Bx8x/3goyIsAhlGWc+07KhzB0qvAz/vv6 > Pzc4GeLttvGHTeX3thSITEfffLNxydnrAZ0gpU/mZl0a64hIJZ9XcGCwU42ZPgaH > CPEK9XmPC409zSIW0qMW5fS3dbIag8H7xxrFweu3aXUx1/jsEav0jHcR2J9NZMj2 > SA6qEM0NO+n5MjYat5KgD1G/kT7uDN4efKjakdApJLRy5mlAoe2z9gfcPozLu2aG > T8SEAvTxd6//sF57l3O0qudXtLSHS4S14QHQsefC+AS8gL4h12Q= > =D95E > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >