fix write to db
Merge branch 'master' of github.com:Andronavt/lv-098_JAVA
fix write to db