File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes hibernate problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate problem." Watch "hibernate problem." New topic

hibernate problem.

vijendra singh

Joined: Oct 31, 2006
Posts: 17
Hi I don't know how the Hibernate Filter works and how does it maintain cache.
But i would like to maintain cache for my application.
In Hibernate when i am using two different application using same database.there when i insert some value in table using hibernate(here i think it maintains some internal cache.)Now when i enter 2nd value(its generating some internal id [reading from and/storing to cahe])
Now when in second application using hibernate again i try to insert some third value to same table i doesn't permit to insert this new value(As what we are thinking here internal hibernate cache is having some conflict with these two self generated ids.)

Can this kind of problem be resolved if i seriously want to use hiberate cache mechanism.

the other thing is that if i create my own cache mechanism (not by hiberanete) maintenane or say the speed will vary as every time updating
values will upload and next time will be able to read from cache.

For big application the time will increase.

Any suggestions.


pascal betz
Ranch Hand

Joined: Jun 19, 2001
Posts: 547
why did you post this again ?
you have to answers in this post:
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Closing duplicate.
[ November 01, 2006: Message edited by: Paul Sturrock ]

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: hibernate problem.
It's not a secret anymore!