Results 1 to 2 of 2
- 07-26-2012, 09:22 PM #1
Member
- Join Date
- Jul 2012
- Posts
- 1
- Rep Power
- 0
Understanding Hibernate, things it can does or not
Hello there , I understand how I can use hibernate and how it works, it's made for modeling database as objets, and it's very good idea because it makes an estructure on best practices. But, I can't figure out, how it really works on practice.. I mean, how can hibernate does more effective a database storage?
For example in a big database who has logs about people activity, a way to store is:
table____activity
column__userid
column__dateStamp
column__activityname
As you can see, storage could be very complicate in simple things. Example: what happend if I want all week data about one user (between one thousand). You know, this action can delay the server.
So, I asking myself if hibernate can solve things like this and how?..
I appreciate, Best Regards

Fred.gif)
- 07-27-2012, 09:24 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Re: Understanding Hibernate, things it can does or not
You would give hibernate a query (Criteria) that it would use to query the database.
No different to plain JDBC in effect.
All Hibernate does is provide a mapping between objects and database tables/columns. It can cache if you want, it can build those tables if you want, but those are additional to that core of Object-Relational mapping (ORM).Please do not ask for code as refusal often offends.
Similar Threads
-
Help with printing simple things.
By Aimforthehead in forum New To JavaReplies: 4Last Post: 12-02-2011, 01:01 AM -
Need Help. with two simple things
By Fred1 in forum New To JavaReplies: 32Last Post: 04-28-2011, 02:35 AM -
XML, and other things.
By Tortex in forum New To JavaReplies: 5Last Post: 03-28-2010, 05:53 PM -
Move things in Applet
By Chasingxsuns in forum New To JavaReplies: 5Last Post: 07-25-2009, 02:16 AM -
org.hibernate.ejb.Version <clinit> INFO: Hibernate EntityManager 3.2.0.CR1
By Heather in forum JDBCReplies: 2Last Post: 06-30-2007, 03:01 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks