public class Database
extends java.lang.Object
This class contains only one static method. The method is used to read a BLOB from a database.
Tutorials: JDBC, sample code.
Modifier and Type | Class and Description |
---|---|
static class |
Database.DB_Messenger
Design template of the crate with the data necessary for connection to the
database.
|
Constructor and Description |
---|
Database() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
getBlobBytes(Database.DB_Messenger crate)
This method finds the first BLOB returned by the query and retrieves its
content.
|
public static byte[] getBlobBytes(Database.DB_Messenger crate)
crate
- data with an SQL query to connect to the database.