Complete views and working on hibernate issues