What a good orm api will work well with scala or erlang

I'm considering scala programming, but I'm really worried about what will happen to my ORM-based applications. I am currently using hibernate as my ORM, and I find it a really reliable tool. I would like to know if any ORM tool is effective, but written in scala, or if sleep mode will work with it without problems. I don't want to start writing endless sql queries (like JDBC days). I also have the same idea about erlang. is there any good ohm there for erlang ?? and I can use erlang with other DBMSs like oracle and mysql with ORM

+1
source share
7 answers

Why not use the fact that you can use the standard Java libraries with Scala and thus use Sleep mode inside Scala ?

+3
source

I do not know ORM written in Scala. M. Odersky’s book Programming in Scala has some code for what is essentially a JDBC DSL wrapper, but this is actually not suitable for you.

But, as Brian says, Scala is pretty much Java compatible, so you can (mostly) just use the Java libraries from Scala.

, , " , Hibernate Scala ". "...". http://www.artima.com/forums/flat.jsp?forum=276&thread=222229 , Scala (, , 2.8 ).

, , , .

, . Erlang JVM- Java, Scala. , , , , Erlang.

+3

Erlang , - , ORM, - , OO . . Mnesia - , , Erlang. ORM , Erlang.

+3

Circumflex. ORM, Scala Scala.

+2

scala , .

scala java , scala java scala.

, ORM, , , .

, , , - ORM scala. scalaz (http://code.google.com/p/scalaz/) JDBC, .

The elevator web development framework ( http://liftweb.net/ ) contains orm, but I'm not sure how easy it can be to use in isolation.

0
source

If you are thinking about Erlang, CouchDB is probably the way to go. I would not want to deal with a relational database with a functional language with immutable data structures.

0
source

There BossDB as part of ChicagoBoss , but it can be used autonomously

0
source

Source: https://habr.com/ru/post/1751661/


All Articles