Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use hibernate in scala

 
nazir ahmed
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doesn't a Google search give you any examples?
 
tabiul mahmood
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I've stopped using Hibernate a couple of months ago. I mentioned some points here.
 
Graham Lea
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
very thanks
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4116
195
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"yfz ws" please check your private messages regarding an important administrative matter.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To the OP:
Scala is a programming language, not a framework
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic