Add sql and hbm