I ran into an awkward problem.
I need to insert some values into an SQL table.
For that i use an Insert clause, like this:
INSERT INTO `USERS`(`ID`, `FILE`, `PROPERTIES`) VALUES ('1', FILE, '{"attributes":{"LANGUAGE":"ENG","AUTHOR":"John"}}')
My problem is the File value. I don't know how i can insert a File object in these circumstances. And since i cannot pass the value NULL, due to program restrictions, how can i do it?
dbinit.sqlfile to do the inserts before running the application. i'm using a JDBC connection pool, but that doesn't matter here. i just want to know how i can insert a File object into a SQL table @Barett