This is my sql script creating the database:
create table product
(id integer identity primary key,
name varchar(50) not null,
price decimal(10,2) not null,
image blob(1024),
category_id integer);
This is my sql script, which inserts data to the database:
INSERT INTO product VALUES (1, 'ProductName', 699.95, load_file('full_path'), 1);
According to HSQLDB, the full path is by default a relative path to database location. So what do i have to give as file path for my image files which are located under /resources/img/? (Spring creates the DB by using this URL:jdbc:hsqldb:mem:testdb)