... right now, this is how I'm getting the id from save(entity) method:
Serializable save = hibernateTemplate.save(article);
return Integer.valueOf(save.toString());
Being a complete noob to hibernate, I just wonder if this is the proper way to do it? I'll appreciate any advice.
Grateful in advance :-)