inserting file into table from jar

Hi

 

I have only just found Liquibase and started to experiment with it. I would like to insert a file into a table. The file is located in the application jar as a templates or resource. I need to extract that file and insert into the table.

 

Can I do this with liquibase?

 

Thanks in advance

 

John

 

 

I have found a way to do this by modifying the source code, and creating a new attribute 'valueBlobResource'. this will now read a resource file from the jar file that is running. Not sure if this the recommended way to achieve this, if not can someone point in the right direction.