Class DatabaseAdaptor

java.lang.Object
org.eclipse.jetty.session.DatabaseAdaptor

public class DatabaseAdaptor extends Object
Handles differences between databases.

Postgres uses the getBytes and setBinaryStream methods to access a "bytea" datatype, which can be up to 1Gb of binary data. MySQL is happy to use the "blob" type and getBlob() methods instead.