File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Scala and the fly likes How to use hibernate in scala Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Scala
Bookmark "How to use hibernate in scala " Watch "How to use hibernate in scala " New topic

How to use hibernate in scala

nazir ahmed

Joined: Aug 02, 2008
Posts: 16

i am using scala frame work. also i am using hibernate .
how to integrate a scala and hibernate. can you send sample code ..

i am select the list value from mysql DB USING hibernate.

i am retrive a value using scala frame work. is it possible. send sample code.


Mansur ali.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Doesn't a Google search give you any examples?

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
tabiul mahmood

Joined: Sep 17, 2009
Posts: 18
I do not think integrating Hibernate and Scala should be any different from using hibernate in Java. Scala is just another language that runs in JVM like java. Of course you cannot use scala specific features when calling Hibernate Class as those are still in Java. So my feeling is that do how you normally integrate hibernate in a java application and use scala for your own business logic

Inca Nauthiz

Joined: Nov 21, 2008
Posts: 8
Sorry, I've stopped using Hibernate a couple of months ago. I mentioned some points here.

If you use Scala, please try my Web framework and ORM and let me know, what you think about it. TIA.
Graham Lea

Joined: Feb 01, 2010
Posts: 1
I've put together a blog post about how to use Scala, Spring, Hibernate and Maven together which you might find helpful.
yfz ws

Joined: Sep 04, 2009
Posts: 2
very thanks
Devaka Cooray
ExamLab Creator

Joined: Jul 29, 2008
Posts: 3929

"yfz ws" please check your private messages regarding an important administrative matter.

Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

To the OP:
Scala is a programming language, not a framework
I agree. Here's the link:
subject: How to use hibernate in scala
It's not a secret anymore!