wood burning stoves 2.0*
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
Author

How to use hibernate in scala

nazir ahmed
Greenhorn

Joined: Aug 02, 2008
Posts: 16
Hi,

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.

regards

Mansur ali.
Lasse Koskela
author
Sheriff

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


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

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

Tabiul
Inca Nauthiz
Greenhorn

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
Greenhorn

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
Greenhorn

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

Joined: Jul 29, 2008
Posts: 3019
    
  35

"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
Bartender

Joined: Nov 08, 2003
Posts: 3476

To the OP:
Scala is a programming language, not a framework
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use hibernate in scala
 
Similar Threads
Hibernate DB Connection MS SQL "AWAITING COMMAND" all The Transaction
How to generate XML from MAP
how to connect FTP server in java
hybernate
Database Cursor and Hibernate