The devs don't really seem to know, they just say: Hibernate is wonderful, and it knows the best optimized path to get data.. but they have no supporting evidence, and I dont think they really know! It's a big mystery!
I can't seem to find Hibernate-Datasets
How can we monitor?
How can we control Caching?
How can we control predictive Data?
What datasets/objects is H pulling from?
Mike Sanderscone wrote:We typically see weird-looking queries, and call them Hibernate, does Hibernate always use those?
Example: "select book0_.id as id0, book0_.title as title0..."
Mike Sanderscone wrote:When you use the 'hibernate.show_sql', where does the query appear?
Mike Sanderscone wrote:I understand that Hibernate can 'Predict' what data might be asked for next.. and go out to get that data.. maybe not?
Hibernate seems like it magically goes out to grab data.. How does it know which data to get?
Mike Sanderscone wrote:I understand that Hibernate can 'Predict' what data might be asked for next.. and go out to get that data.. maybe not?
Hibernate seems like it magically goes out to grab data.. How does it know which data to get?
It seems like there has to be a mapping somewhere that says: If I ask for EmployeeId, then go look at MyEmployeeTable..
It doesn't seem to use Views or Stored-Procedures. Does it always look at Tables.
When you use the 'hibernate.show_sql', where does the query appear?
We typically see weird-looking queries, and call them Hibernate, does Hibernate always use those?
Example: "select book0_.id as id0, book0_.title as title0..."
Mike Sanderscone wrote:DBA's believe that Hibernate is over-querying the database (because there are lots of JDBC connections)..
DEV's believe that the Database is causing an issue.. because it's crawling.. but nobody 'really' knows!
Consider Paul's rocket mass heater. |