I hate Hibernate

135 views
Skip to first unread message

李鹏

unread,
Mar 31, 2010, 5:06:29 AM3/31/10
to play-framework
Hi, all:
 
    I want to use Play to create some web applications, everything is nice, except the Hibernate. I met a lot of problems, all because of hibernate. It seems we can insert/delete data easily by hibernate, but there are a lot of unexpect exceptions during development. It will take me several hours to find the reason, and read a lot of articles about hibernate. I really miss the JDBCTemplate of spring. Can play support non-JPA persistent plugins?

Roch Delsalle

unread,
Mar 31, 2010, 7:11:43 AM3/31/10
to play-fr...@googlegroups.com
If you don't like JPA, you can also use Siena:
On Wed, Mar 31, 2010 at 10:06 AM, 李鹏 <nowin...@qq.com> wrote:
Hi, all:
 
    I want to use Play to create some web applications, everything is nice, except the Hibernate. I met a lot of problems, all because of hibernate. It seems we can insert/delete data easily by hibernate, but there are a lot of unexpect exceptions during development. It will take me several hours to find the reason, and read a lot of articles about hibernate. I really miss the JDBCTemplate of spring. Can play support non-JPA persistent plugins?

--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.



--
Roch Delsalle

曹江华

unread,
Mar 31, 2010, 12:37:09 PM3/31/10
to play-fr...@googlegroups.com

John Wells

unread,
Mar 31, 2010, 12:56:09 PM3/31/10
to play-fr...@googlegroups.com
On Wed, Mar 31, 2010 at 12:37 PM, 曹江华 <tujiao.com@gmail.com> wrote:
scooterframework is better.



Please substantiate your claims. How is Scooter better? Seriously? I'm interested.

For me, using something like JPA/Hibernate that has been tested very well versus a custom-developed ORM like Scooter does with its ActiveRecord library is a plus for Play! over Scooter, but of course I haven't tried scooter at all. However, it's frustrating for the rest of us who are sincerely trying to evaluate play when you troll like this and offer nothing to back up your claim.

Fırat KÜÇÜK

unread,
Mar 31, 2010, 1:18:05 PM3/31/10
to play-fr...@googlegroups.com
in my opinion,
Groovy template engine is a big plus over scooter's old fashioned JSP style view aproach.
And hibernate is a proven ORM. I used Toplink and eclipselink before Hibernate.
Hibernate is the best one. And more than this. Play's ORM style simplifies the entity classes.
No need for getters and setters.



2010/3/31 John Wells <li...@sourceillustrated.com>
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.



--
FIRAT KÜÇÜK

Bendanpa

unread,
Mar 31, 2010, 1:55:23 PM3/31/10
to play-framework
We love to see a new Java framework to come out. But it is too early
to claim that it is better than Play without any solid data to support
you.

For sure any framework has its strength and weakness or lacking some
specific features. But I believe that Play is way much maturer than
scooter.

If you are doing some experiments or toy apps you can always
encouraged to use new frameworks. But for serious product apps,
however, my opinion is to stay with mature framework like Play!

Bendanpa

> > play-framewor...@googlegroups.com<play-framework%2Bunsu...@googlegroups.com>

Lyubomir Ivanov

unread,
Apr 1, 2010, 5:00:32 AM4/1/10
to play-framework
We use an ORM called Ebean which uses JPA annotations but is much
simpler. We've developed a small Plugin to deal with Ebean. If you are
interested I can send you the source code. Note that its not very
mature (and that's the reason we did not publish it as a module) but
it's working. If you have some spare time you can try it

李鹏

unread,
Apr 1, 2010, 5:23:48 AM4/1/10
to play-framework
Thank you, I'm interested.
 
And, I want to find some easier persistent frameworks these days. If I found any good framework, I will post here too.
 
 
------------------ Original ------------------
From:  "Lyubomir Ivanov"<liv...@openlinksw.bg>;
Date:  Thu, Apr 1, 2010 05:00 PM
To:  "play-framework"<play-fr...@googlegroups.com>;
Subject:  [play-framework] Re: I hate Hibernate
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.

uud ashr

unread,
Apr 1, 2010, 5:24:36 AM4/1/10
to play-fr...@googlegroups.com
I think Play can do this. Just like if we want to use Siena.
You can use your own DAO. The validation can be done on controller. But you'll won't be able to use CRUD module.

Regards,
uudashr

On Wed, Mar 31, 2010 at 4:06 PM, 李鹏 <nowin...@qq.com> wrote:
Hi, all:
 
    I want to use Play to create some web applications, everything is nice, except the Hibernate. I met a lot of problems, all because of hibernate. It seems we can insert/delete data easily by hibernate, but there are a lot of unexpect exceptions during development. It will take me several hours to find the reason, and read a lot of articles about hibernate. I really miss the JDBCTemplate of spring. Can play support non-JPA persistent plugins?

--

Archer Yongjian Liu

unread,
Apr 26, 2010, 11:40:05 PM4/26/10
to play-fr...@googlegroups.com, 陈荣
But I like Hibernate as well as Datanucleus
--
Thank you.
360.gif
Reply all
Reply to author
Forward
0 new messages