Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Scout And Hibernate
Scout And Hibernate [message #875671] Wed, 23 May 2012 02:51 Go to next message
Panos Bariamis is currently offline Panos Bariamis
Messages: 2
Registered: May 2012
Junior Member
Hi forum!

I would like to ask if it is a good idea to use hibernate with scout or use the SQL helper class provided by scout?

Has anyone use hibernate with scout before?

Is there a tutorial/example how it could be used?

Thanks,
Panos
Re: Scout And Hibernate [message #875676 is a reply to message #875671] Wed, 23 May 2012 03:03 Go to previous messageGo to next message
Ivan Motsch is currently offline Ivan Motsch
Messages: 83
Registered: March 2010
Member
Using hibernate (or also eclipse link) is a good idea.

Scout itself is not bound to a certain persistence technology.

Scout offers convenience for those not choosing hibernate to being able to use database in an easy way. Therefore the scout sql service is considered as a convenience feature and not a mandatory feature.

Maybe one architectural hint: Use hibernate / jpa on the scout server side of your application, including services, lookup services etc.

But use the scout formdata form bean objects to communicate with the ui forms. That way you have a good separation between client/ui side and server side (ui layer vs. service layer).

[Updated on: Wed, 23 May 2012 03:04]

Report message to a moderator

Re: Scout And Hibernate [message #875681 is a reply to message #875676] Wed, 23 May 2012 03:09 Go to previous messageGo to next message
Panos Bariamis is currently offline Panos Bariamis
Messages: 2
Registered: May 2012
Junior Member
Thanks Ivan for your answer.

Is there a manual explain how i could setup hibernate in scout and how to use it?
Re: Scout And Hibernate [message #895612 is a reply to message #875681] Fri, 13 July 2012 15:26 Go to previous messageGo to next message
anirban c is currently offline anirban c
Messages: 2
Registered: July 2012
Junior Member
Ivan,

I would be interested in hibernate support as well. If you have a few pointers where to start from ?
just started learning up on scout though

-anirban
Re: Scout And Hibernate [message #896110 is a reply to message #895612] Tue, 17 July 2012 05:42 Go to previous messageGo to next message
Andreas Hoegger is currently offline Andreas Hoegger
Messages: 133
Registered: February 2010
Senior Member
I'm working on a Scout Hibernate example. Check https://github.com/ahoegger/scout-hibernate-demo. Requires a Eclipse for Scout Developers featured with eGit from the Juno repository.

Help needed in:

  • Wiki HowTo, description
  • Hibernate KnowHow to have a valid reference implementation


Let me know if your need write access to the github repository.

-andreas
Re: Scout And Hibernate [message #896254 is a reply to message #896110] Tue, 17 July 2012 14:01 Go to previous message
anirban c is currently offline anirban c
Messages: 2
Registered: July 2012
Junior Member
thanks Andreas,

checking it out now and will give it a try with a ref impl with your example

-anirban
Previous Topic:Table status bar
Next Topic:Main menu in SWT client
Goto Forum:
  


Current Time: Thu May 23 05:23:40 EDT 2013

Powered by FUDForum. Page generated in 0.04790 seconds