Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean leLayoutNovo(String schema, int idUsuario) {
- Session session = this.getSessionPronta();
- try {
- String sql = "select layoutNovo from usuario where id = " + idUsuario;
- SQLQuery query = session.createSQLQuery(sql);
- } finally {
- session.close();
- }
- }
Add Comment
Please, Sign In to add comment