Having worked with Hibernate for about 5 years i can honestly say that it's
the right solution to the wrong problem.
I think a CQRS-approach with entities in a non-relational store and forking
off statistics/query-data off to a store suitable for data mining is the way
to go.

Basically querying in Hibernate is a mess:

1) Query by example... who uses that?
2) Criteria, a DSL that doesn't even offer type safe queries? WTF?
3) HQL, works good until you realize that you've hit the HQL wall and need
to go with SQL
4) SQL, to the metal, but you get the possibility to retrieve entities with
it ({relation.*}-syntax) gets the job done

Also, there are a lot of quirks and secret ninja techniques you have to be
aware of to get everything to behave like you expect.

I'm not saying it's totally worthless, I'm just saying that I don't believe
in the problem.

On Wed, Jul 14, 2010 at 2:55 PM, Fabrizio Giudici <
[email protected]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 7/14/10 14:40 , jitesh dundas wrote:
> >
> >
> > Let us not blame Hibernate for everuything friends..There is more
> > than what meets the eye..
>
> But that's the point. You started saying that Hibernate is good
> because it provides a good abstraction, and now got to the conclusion that
> sometimes you need to understand a lot of inner details. So, maybe is
> not such a good abstraction, right?
>
> - --
> Fabrizio Giudici - Java Architect, Project Manager
> Tidalwave s.a.s. - "We make Java work. Everywhere."
> java.net/blog/fabriziogiudici - www.tidalwave.it/people
> [email protected]
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkw9s9wACgkQeDweFqgUGxd2QACeLI7FPuIJHnBjk2hatWinXU87
> qG8AoKhX8Py/v44oLcGNkHtbNRPQMC7U
> =QHbd
> -----END PGP SIGNATURE-----
>
> --
> You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<javaposse%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/javaposse?hl=en.
>
>


-- 
Viktor Klang
| "A complex system that works is invariably
| found to have evolved from a simple system
| that worked." - John Gall

Akka - the Actor Kernel: Akkasource.org
Twttr: twitter.com/viktorklang

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to