- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
which ORM to use?
Mon, 2010-08-30, 20:29
Hi guys,
I'm new to Scala and finding out which ORM solution to use is being
really painfully task.
Basically we have, in one hand, all ORM frameworks developed for java
and using them make me fell a little bit uncomfortable, I mean, I'm
learning Scala 'cause I want a different solution from the ones
offered by the java world, so, why the heck should I continuing using
all those java ORM frameworks and continuing making things in the java
way?
What's the issue here? Is the lack of Scala "native" solution due to
the fact that it's a new whole world that didn't have the time to
build it's own solution? Or, the idea, from the beginning, is to use
java's ORM solutions?
So, whats the best aproach here?
what is the best ORM framework to use with Scala (Hibernate? EBean?, etc, etc)
Thanks in advance
Giba
Mon, 2010-08-30, 20:57
#2
Re: which ORM to use?
Squeryl!
It's native...
On 30 August 2010 20:27, Gilberto Garcia <giba.dmb@gmail.com> wrote:
--
Kevin Wright
mail/google talk: kev.lee.wright@gmail.com
wave: kev.lee.wright@googlewave.com
skype: kev.lee.wright
twitter: @thecoda
It's native...
On 30 August 2010 20:27, Gilberto Garcia <giba.dmb@gmail.com> wrote:
Hi guys,
I'm new to Scala and finding out which ORM solution to use is being
really painfully task.
Basically we have, in one hand, all ORM frameworks developed for java
and using them make me fell a little bit uncomfortable, I mean, I'm
learning Scala 'cause I want a different solution from the ones
offered by the java world, so, why the heck should I continuing using
all those java ORM frameworks and continuing making things in the java
way?
What's the issue here? Is the lack of Scala "native" solution due to
the fact that it's a new whole world that didn't have the time to
build it's own solution? Or, the idea, from the beginning, is to use
java's ORM solutions?
So, whats the best aproach here?
what is the best ORM framework to use with Scala (Hibernate? EBean?, etc, etc)
Thanks in advance
Giba
--
Kevin Wright
mail/google talk: kev.lee.wright@gmail.com
wave: kev.lee.wright@googlewave.com
skype: kev.lee.wright
twitter: @thecoda
Mon, 2010-08-30, 21:07
#3
Re: which ORM to use?
Thanks guys,
I'll check them out.
On Mon, Aug 30, 2010 at 4:40 PM, Christopher Schmidt
wrote:
> There are great ORM solutions for Scala. They provide a very "Scala like"
> implementation.
> Check out:
> Scala Query: http://wiki.github.com/szeiger/scala-query/getting-started
> Squeryl: http://squeryl.org/inserts-updates-delete.html
> Circumflex ORM: http://circumflex.ru/index.html#orm
> While doing a bachelor thesis, we are currently investigating the pros and
> cons of this approaches.
> On Mon, Aug 30, 2010 at 9:27 PM, Gilberto Garcia wrote:
>>
>> Hi guys,
>>
>> I'm new to Scala and finding out which ORM solution to use is being
>> really painfully task.
>>
>> Basically we have, in one hand, all ORM frameworks developed for java
>> and using them make me fell a little bit uncomfortable, I mean, I'm
>> learning Scala 'cause I want a different solution from the ones
>> offered by the java world, so, why the heck should I continuing using
>> all those java ORM frameworks and continuing making things in the java
>> way?
>>
>> What's the issue here? Is the lack of Scala "native" solution due to
>> the fact that it's a new whole world that didn't have the time to
>> build it's own solution? Or, the idea, from the beginning, is to use
>> java's ORM solutions?
>>
>> So, whats the best aproach here?
>> what is the best ORM framework to use with Scala (Hibernate? EBean?, etc,
>> etc)
>>
>> Thanks in advance
>> Giba
>
>
>
> --
> Christopher
> twitter: @fakod
> blog: http://blog.fakod.eu
>
Mon, 2010-08-30, 21:17
#4
Re: which ORM to use?
+1
Squeryl is awesome.
On 30 August 2010 20:40, Kevin Wright wrote:
> Squeryl!
> It's native...
>
> On 30 August 2010 20:27, Gilberto Garcia wrote:
>>
>> Hi guys,
>>
>> I'm new to Scala and finding out which ORM solution to use is being
>> really painfully task.
>>
>> Basically we have, in one hand, all ORM frameworks developed for java
>> and using them make me fell a little bit uncomfortable, I mean, I'm
>> learning Scala 'cause I want a different solution from the ones
>> offered by the java world, so, why the heck should I continuing using
>> all those java ORM frameworks and continuing making things in the java
>> way?
>>
>> What's the issue here? Is the lack of Scala "native" solution due to
>> the fact that it's a new whole world that didn't have the time to
>> build it's own solution? Or, the idea, from the beginning, is to use
>> java's ORM solutions?
>>
>> So, whats the best aproach here?
>> what is the best ORM framework to use with Scala (Hibernate? EBean?, etc,
>> etc)
>>
>> Thanks in advance
>> Giba
>
>
>
> --
> Kevin Wright
>
> mail/google talk: kev.lee.wright@gmail.com
> wave: kev.lee.wright@googlewave.com
> skype: kev.lee.wright
> twitter: @thecoda
>
>
Tue, 2010-08-31, 03:17
#5
Re: which ORM to use?
Don't forget Lift's Mapper and Record.
On Mon, Aug 30, 2010 at 3:40 PM, Christopher Schmidt <fakod666@googlemail.com> wrote:
On Mon, Aug 30, 2010 at 3:40 PM, Christopher Schmidt <fakod666@googlemail.com> wrote:
There are great ORM solutions for Scala. They provide a very "Scala like" implementation.
Check out:Scala Query: http://wiki.github.com/szeiger/scala-query/getting-started Squeryl: http://squeryl.org/inserts-updates-delete.htmlCircumflex ORM: http://circumflex.ru/index.html#orm
While doing a bachelor thesis, we are currently investigating the pros and cons of this approaches.
On Mon, Aug 30, 2010 at 9:27 PM, Gilberto Garcia <giba.dmb@gmail.com> wrote:
Hi guys,
I'm new to Scala and finding out which ORM solution to use is being
really painfully task.
Basically we have, in one hand, all ORM frameworks developed for java
and using them make me fell a little bit uncomfortable, I mean, I'm
learning Scala 'cause I want a different solution from the ones
offered by the java world, so, why the heck should I continuing using
all those java ORM frameworks and continuing making things in the java
way?
What's the issue here? Is the lack of Scala "native" solution due to
the fact that it's a new whole world that didn't have the time to
build it's own solution? Or, the idea, from the beginning, is to use
java's ORM solutions?
So, whats the best aproach here?
what is the best ORM framework to use with Scala (Hibernate? EBean?, etc, etc)
Thanks in advance
Giba
--
Christophertwitter: @fakodblog: http://blog.fakod.eu
Tue, 2010-08-31, 03:27
#6
Re: which ORM to use?
On Mon, Aug 30, 2010 at 8:57 PM, Naftoli Gugenheim wrote:
> Don't forget Lift's Mapper and Record.
http://groups.google.com/group/liftweb/msg/0ca6b2e5e39facc7
While the Lift developers intend to support Mapper for a long time
going forward, their plan is to replace it with Record. With that in
mind, Mapper would not be my first choice as a Scala ORM.
-Mike
>
> On Mon, Aug 30, 2010 at 3:40 PM, Christopher Schmidt
> wrote:
>>
>> There are great ORM solutions for Scala. They provide a very "Scala like"
>> implementation.
>> Check out:
>> Scala Query: http://wiki.github.com/szeiger/scala-query/getting-started
>> Squeryl: http://squeryl.org/inserts-updates-delete.html
>> Circumflex ORM: http://circumflex.ru/index.html#orm
>> While doing a bachelor thesis, we are currently investigating the pros and
>> cons of this approaches.
>> On Mon, Aug 30, 2010 at 9:27 PM, Gilberto Garcia
>> wrote:
>>>
>>> Hi guys,
>>>
>>> I'm new to Scala and finding out which ORM solution to use is being
>>> really painfully task.
>>>
>>> Basically we have, in one hand, all ORM frameworks developed for java
>>> and using them make me fell a little bit uncomfortable, I mean, I'm
>>> learning Scala 'cause I want a different solution from the ones
>>> offered by the java world, so, why the heck should I continuing using
>>> all those java ORM frameworks and continuing making things in the java
>>> way?
>>>
>>> What's the issue here? Is the lack of Scala "native" solution due to
>>> the fact that it's a new whole world that didn't have the time to
>>> build it's own solution? Or, the idea, from the beginning, is to use
>>> java's ORM solutions?
>>>
>>> So, whats the best aproach here?
>>> what is the best ORM framework to use with Scala (Hibernate? EBean?, etc,
>>> etc)
>>>
>>> Thanks in advance
>>> Giba
>>
>>
>>
>> --
>> Christopher
>> twitter: @fakod
>> blog: http://blog.fakod.eu
>
>
Tue, 2010-08-31, 04:07
#7
Re: which ORM to use?
On Mon, Aug 30, 2010 at 7:22 PM, Michael Swierczek <mike.swierczek@gmail.com> wrote:
On Mon, Aug 30, 2010 at 8:57 PM, Naftoli Gugenheim <naftoligug@gmail.com> wrote:
> Don't forget Lift's Mapper and Record.
http://groups.google.com/group/liftweb/msg/0ca6b2e5e39facc7
While the Lift developers intend to support Mapper for a long time
going forward, their plan is to replace it with Record. With that in
mind, Mapper would not be my first choice as a Scala ORM.
Officially, The Lift team will continue to support and enhance Mapper for as long as I'm involved with Lift, and given that I'm 46 and the Benevolent Dictator for Life, I'm hoping that Mapper will be supported for at least 30-40 years.
-Mike
>
> On Mon, Aug 30, 2010 at 3:40 PM, Christopher Schmidt
> <fakod666@googlemail.com> wrote:
>>
>> There are great ORM solutions for Scala. They provide a very "Scala like"
>> implementation.
>> Check out:
>> Scala Query: http://wiki.github.com/szeiger/scala-query/getting-started
>> Squeryl: http://squeryl.org/inserts-updates-delete.html
>> Circumflex ORM: http://circumflex.ru/index.html#orm
>> While doing a bachelor thesis, we are currently investigating the pros and
>> cons of this approaches.
>> On Mon, Aug 30, 2010 at 9:27 PM, Gilberto Garcia <giba.dmb@gmail.com>
>> wrote:
>>>
>>> Hi guys,
>>>
>>> I'm new to Scala and finding out which ORM solution to use is being
>>> really painfully task.
>>>
>>> Basically we have, in one hand, all ORM frameworks developed for java
>>> and using them make me fell a little bit uncomfortable, I mean, I'm
>>> learning Scala 'cause I want a different solution from the ones
>>> offered by the java world, so, why the heck should I continuing using
>>> all those java ORM frameworks and continuing making things in the java
>>> way?
>>>
>>> What's the issue here? Is the lack of Scala "native" solution due to
>>> the fact that it's a new whole world that didn't have the time to
>>> build it's own solution? Or, the idea, from the beginning, is to use
>>> java's ORM solutions?
>>>
>>> So, whats the best aproach here?
>>> what is the best ORM framework to use with Scala (Hibernate? EBean?, etc,
>>> etc)
>>>
>>> Thanks in advance
>>> Giba
>>
>>
>>
>> --
>> Christopher
>> twitter: @fakod
>> blog: http://blog.fakod.eu
>
>
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Blog: http://goodstuff.im
Surf the harmonics
Tue, 2010-08-31, 14:07
#8
Re: which ORM to use?
I apologize then for spreading misinformation. I had interpreted some
of the posts on the Lift mailing list to mean that Mapper would be
supported for a long time but was unofficially deprecated.
-Mike
On Mon, Aug 30, 2010 at 10:03 PM, David Pollak
wrote:
>
>
> On Mon, Aug 30, 2010 at 7:22 PM, Michael Swierczek
> wrote:
>>
>> On Mon, Aug 30, 2010 at 8:57 PM, Naftoli Gugenheim
>> wrote:
>> > Don't forget Lift's Mapper and Record.
>>
>> http://groups.google.com/group/liftweb/msg/0ca6b2e5e39facc7
>>
>> While the Lift developers intend to support Mapper for a long time
>> going forward, their plan is to replace it with Record. With that in
>> mind, Mapper would not be my first choice as a Scala ORM.
>
> Officially, The Lift team will continue to support and enhance Mapper for as
> long as I'm involved with Lift, and given that I'm 46 and the
> Benevolent Dictator for Life, I'm hoping that Mapper will be supported for
> at least 30-40 years.
>
>>
>> -Mike
>>
>>
>> >
>> > On Mon, Aug 30, 2010 at 3:40 PM, Christopher Schmidt
>> > wrote:
>> >>
>> >> There are great ORM solutions for Scala. They provide a very "Scala
>> >> like"
>> >> implementation.
>> >> Check out:
>> >> Scala Query: http://wiki.github.com/szeiger/scala-query/getting-started
>> >> Squeryl: http://squeryl.org/inserts-updates-delete.html
>> >> Circumflex ORM: http://circumflex.ru/index.html#orm
>> >> While doing a bachelor thesis, we are currently investigating the pros
>> >> and
>> >> cons of this approaches.
>> >> On Mon, Aug 30, 2010 at 9:27 PM, Gilberto Garcia
>> >> wrote:
>> >>>
>> >>> Hi guys,
>> >>>
>> >>> I'm new to Scala and finding out which ORM solution to use is being
>> >>> really painfully task.
>> >>>
>> >>> Basically we have, in one hand, all ORM frameworks developed for java
>> >>> and using them make me fell a little bit uncomfortable, I mean, I'm
>> >>> learning Scala 'cause I want a different solution from the ones
>> >>> offered by the java world, so, why the heck should I continuing using
>> >>> all those java ORM frameworks and continuing making things in the java
>> >>> way?
>> >>>
>> >>> What's the issue here? Is the lack of Scala "native" solution due to
>> >>> the fact that it's a new whole world that didn't have the time to
>> >>> build it's own solution? Or, the idea, from the beginning, is to use
>> >>> java's ORM solutions?
>> >>>
>> >>> So, whats the best aproach here?
>> >>> what is the best ORM framework to use with Scala (Hibernate? EBean?,
>> >>> etc,
>> >>> etc)
>> >>>
>> >>> Thanks in advance
>> >>> Giba
>> >>
>> >>
>> >>
>> >> --
>> >> Christopher
>> >> twitter: @fakod
>> >> blog: http://blog.fakod.eu
>> >
>> >
>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Blog: http://goodstuff.im
> Surf the harmonics
>
Tue, 2010-08-31, 14:37
#9
Re: which ORM to use?
You should use O/R Broker of course.
On Mon, Aug 30, 2010 at 2:27 PM, Gilberto Garcia <giba.dmb@gmail.com> wrote:
On Mon, Aug 30, 2010 at 2:27 PM, Gilberto Garcia <giba.dmb@gmail.com> wrote:
Hi guys,
I'm new to Scala and finding out which ORM solution to use is being
really painfully task.
Basically we have, in one hand, all ORM frameworks developed for java
and using them make me fell a little bit uncomfortable, I mean, I'm
learning Scala 'cause I want a different solution from the ones
offered by the java world, so, why the heck should I continuing using
all those java ORM frameworks and continuing making things in the java
way?
What's the issue here? Is the lack of Scala "native" solution due to
the fact that it's a new whole world that didn't have the time to
build it's own solution? Or, the idea, from the beginning, is to use
java's ORM solutions?
So, whats the best aproach here?
what is the best ORM framework to use with Scala (Hibernate? EBean?, etc, etc)
Thanks in advance
Giba
Tue, 2010-08-31, 15:17
#10
Re: which ORM to use?
Hi,Maybe a Framework / ORM entry in the wiki would be useful ?At least to list the different solutions seen in this thread.
I remember when I had to make system calls from Scala, I also found different ways of doing it, but no "one true path" to implement it.
Bruno
I remember when I had to make system calls from Scala, I also found different ways of doing it, but no "one true path" to implement it.
Bruno
Tue, 2010-08-31, 16:37
#11
Re: which ORM to use?
Wow, there are so many options... :D
I'll try to check them out and make a list of "why you should try" and
"why you shouldn't".
thanks again for the replies...
On Tue, Aug 31, 2010 at 11:07 AM, Bruno Vernay wrote:
> Hi,
> Maybe a Framework / ORM entry in the wiki would be useful ?
> At least to list the different solutions seen in this thread.
> I remember when I had to make system calls from Scala, I also found
> different ways of doing it, but no "one true path" to implement it.
> Bruno
>
Tue, 2010-08-31, 22:07
#12
Re: which ORM to use?
Actually, most of the options given are listed in a Stack Overflow question about _non_ ORM libraries to make database queries.
On Tue, Aug 31, 2010 at 11:07, Bruno Vernay <brunovern.a@gmail.com> wrote:
--
Daniel C. Sobral
I travel to the future all the time.
On Tue, Aug 31, 2010 at 11:07, Bruno Vernay <brunovern.a@gmail.com> wrote:
Hi,Maybe a Framework / ORM entry in the wiki would be useful ?At least to list the different solutions seen in this thread.
I remember when I had to make system calls from Scala, I also found different ways of doing it, but no "one true path" to implement it.
Bruno
--
Daniel C. Sobral
I travel to the future all the time.
Wed, 2010-09-01, 08:07
#13
RE: which ORM to use?
Care to share a link?
From: Daniel Sobral [mailto:dcsobral@gmail.com]
Sent: Wednesday, September 01, 2010 12:03 AM
To: Bruno Vernay
Cc: Nils Kilden-Pedersen; Gilberto Garcia; scala-user@listes.epfl.ch
Subject: Re: [scala-user] which ORM to use?
Actually, most of the options given are listed in a Stack Overflow question about _non_ ORM libraries to make database queries.
On Tue, Aug 31, 2010 at 11:07, Bruno Vernay <brunovern.a@gmail.com> wrote:
Hi,
Maybe a Framework / ORM entry in the wiki would be useful ?
At least to list the different solutions seen in this thread.
I remember when I had to make system calls from Scala, I also found different ways of doing it, but no "one true path" to implement it.
Bruno
Wed, 2010-09-01, 12:37
#14
Re: which ORM to use?
Replying to the list: http://stackoverflow.com/questions/1362748/wanted-good-examples-of-scala-database-persistence
On Wed, Sep 1, 2010 at 03:57, Roland Tepp <roland@videobet.com> wrote:
On Wed, Sep 1, 2010 at 03:57, Roland Tepp <roland@videobet.com> wrote:
Care to share a link?
From: Daniel Sobral [mailto:dcsobral@gmail.com]
Sent: Wednesday, September 01, 2010 12:03 AM
To: Bruno Vernay
Cc: Nils Kilden-Pedersen; Gilberto Garcia; scala-user@listes.epfl.ch
Subject: Re: [scala-user] which ORM to use?
Actually, most of the options given are listed in a Stack Overflow question about _non_ ORM libraries to make database queries.
On Tue, Aug 31, 2010 at 11:07, Bruno Vernay <brunovern.a@gmail.com> wrote:
Hi,
Maybe a Framework / ORM entry in the wiki would be useful ?
At least to list the different solutions seen in this thread.
I remember when I had to make system calls from Scala, I also found different ways of doing it, but no "one true path" to implement it.
Bruno
Check out:Scala Query: http://wiki.github.com/szeiger/scala-query/getting-started Squeryl: http://squeryl.org/inserts-updates-delete.htmlCircumflex ORM: http://circumflex.ru/index.html#orm
While doing a bachelor thesis, we are currently investigating the pros and cons of this approaches.
On Mon, Aug 30, 2010 at 9:27 PM, Gilberto Garcia <giba.dmb@gmail.com> wrote:
--
Christophertwitter: @fakodblog: http://blog.fakod.eu