jruby sqlite3 INSERT problem

K

Kenneth McDonald

The following statement:
@db.execute("INSERT INTO log_files VALUES (NULL, ?)", @filename)

is not resulting in a persistent insert into the database (although it
is apparently resulting in a temporary insert). The problem is not a
transactional one, because if I issue a "commit" statement afterwards,
I get an error message stating that no transaction is active. Anyone
have any ideas what might be happening here? The corresponding code
from Python works just fine.

Thanks,
Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,178
Messages
2,570,955
Members
47,509
Latest member
Jack116

Latest Threads

Top