Storing huge number of records in hibernate -


i have list more 50k entities attached it. have store each entity row in db .

to store them i'm traversing list , calling below function each node

public serializable create(t entity) throws mycustomexc{     serializable serializable = null;     try{         session session = gethibernatesession();         session.save(entity);     }catch(hibernateexception e){         throw new mycustomexc("error...."+entity,e);     } return serializable; } 

the issue i'm getting error this

jdbcexception e org.hibernate.util.jdbcexceptionreporter logexceptions db2 sql error: sqlcode=-964, sqlstate=57011, sqlerrmc=null, driver=3.62.56  

which means "running out of space in transaction log." now, can't change of transaction log properties.

in hibernate autocommit property false.

what issue here?? should change "session.save(entity)" "session.persist(entity)". let me know if other info needed.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -