Results 1 to 2 of 2
  1. #1
    Fred2040 is offline Member
    Join Date
    Jul 2012
    Rep Power

    Question 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:


    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


  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power

    Default 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.

    ** This space for rent **

Similar Threads

  1. Move things in Applet
    By Chasingxsuns in forum New To Java
    Replies: 6
    Last Post: 02-19-2014, 09:21 AM
  2. Help with printing simple things.
    By Aimforthehead in forum New To Java
    Replies: 4
    Last Post: 12-02-2011, 02:01 AM
  3. Need Help. with two simple things
    By Fred1 in forum New To Java
    Replies: 32
    Last Post: 04-28-2011, 03:35 AM
  4. XML, and other things.
    By Tortex in forum New To Java
    Replies: 5
    Last Post: 03-28-2010, 06:53 PM
  5. Replies: 2
    Last Post: 06-30-2007, 04:01 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts