Not all databases and their drivers support the SQL BLOB type. This example was tested using the Oracle type-4 driver on Oracle 8i. The example does work on Microsoft Access and Borland JDataStore, but you can modify the program to make it work with a JDataStore database.
The storeDataToTable method first drops the Country table if it exists, creates the Country table, and populates the table with data. The fillDataInComboBox method retrieves the country names and adds them to the combo box. The retrieveFlagInfo(name) method retrieves the flag and description for the specified country name.