• Post Reply Bookmark Topic Watch Topic
  • New Topic

Insert list object in database without using loop  RSS feed

partha malik
Posts: 9
Chrome Eclipse IDE Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i have a question about how to save and delete the List<Object> by using spring session without using loop.
I am using hibernate and spring integrated system session = getSessionFactory().getCurrentSession();
i can do it using loop but i think it might be slowing down the system.

public void insertProcessErrorList(List<ProcessError> peList)
throws HibernateException {
session = getSessionFactory().getCurrentSession();

/*for(ProcessError pe : peList)

Thanks in Advance...
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!