I have following class that connects to database but when I trye to call the method that saves data I get error "Database is locked". Could some one please help me