Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search Coderanch
Advance search
Google search
Register / Login
Mako Mako Makovic
Greenhorn
+ Follow
news
1
Posts
0
Threads
since Feb 03, 2009
Merit badge:
grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads
Recent posts by Mako Mako Makovic
Problem with Hibernate Cache
I had the same problem and solved it putting query in transaction.
I hope it helps.
Session session = HibernateUtil.getSessionFactory().getCurrentSession(); session.beginTransaction(); String query = " from Obj "; List results = session.createQuery(query).list(); session.getTransaction().commit();
show more
15 years ago
Object Relational Mapping