The moose likes Scala and the fly likes How to use hibernate in scala Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other Languages » Scala
Reply 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: 11945
Doesn't a Google search give you any examples?


Author of Test Driven (Manning Publications, 2007) [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: 1
very thanks
Devaka Cooray
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2595

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


Author of ExamLab - the free mock exam kit for SCJP / OCPJP
Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3334

To the OP:
Scala is a programming language, not a framework
 
 
subject: How to use hibernate in scala
 
Threads others viewed
How to generate XML from MAP
hybernate
Database Cursor and Hibernate
Hibernate DB Connection MS SQL "AWAITING COMMAND" all The Transaction
how to connect FTP server in java
IntelliJ Java IDE