ScalikeJDBC
dotty
Our great sponsors
ScalikeJDBC | dotty | |
---|---|---|
4 | 71 | |
1,255 | 5,669 | |
0.2% | 2.1% | |
8.9 | 10.0 | |
4 days ago | 3 days ago | |
Scala | Scala | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ScalikeJDBC
-
What are the possible ways to connect with MYSQL using scala
You can also try http://scalikejdbc.org which is my personal favorite.
-
Scala 3 RDBMS Libraries
Maybe not what you're looking for but ScalikeJDBC is published for Scala 3 since version 4.0.0.
- Query DSL in Scala 3
-
From First Principles: Why Scala?
I have had poor experiences with "fancy" SQL libraries in multiple languages when I go past basic operations. This includes Slick and Quill in Scala.
I don't remember what the problems were with Slick that leave such a bad feeling when I hear its name -- that was 5 years ago -- but I had problems with Quill just last year. I was trying to use it to generate an efficient "in" query against a two column composite primary key, and nothing seemed to work. Since it uses macro magic, one of my attempts triggered an internal compiler error instead of normal compiler feedback.
I ended up dropping Quill for ScalikeJDBC:
http://scalikejdbc.org/
It seems to be less popular/active than other libraries, but it is dead simple to use, even for developers new to Scala. I write exactly the SQL I want just like I would in psql. There is little-to-no magic [1]. I think that the only slightly magical feature I use is ensure that variable interpolation into SQL ("SQLInterpolation") prevents injection attacks.
[1] It actually has capabilities to automatically map tables/columns into different structures and generate code for you, but my team doesn't use any of that. We just write SQL.
dotty
-
RustRover ā A Standalone Rust IDE by JetBrains
Dotty? Was it still the name later?
http://dotty.epfl.ch/
-
Does the fthomas/refined library work differently in Scala 3?
I think this might be related to this issue.
-
`boundary/break`: do you use it ? what do you do with it ?
You can look (and EPFL collect feedback) about EPFL implementation of async/await: https://github.com/lampepfl/async. Also you can look at dotty ticket about this: https://github.com/lampepfl/dotty/pull/16739
-
Iron updates: turning opaque types into value objects
The reason Iām not currently an opaque type user as they do not play well with the tagless final style we use, though I am patiently awaiting some attention on my bug report: https://github.com/lampepfl/dotty/issues/17281
-
Reconnecting with Scala. What's new?
Links: - https://dotty.epfl.ch/ - https://scala-native.org/en/stable/ - https://www.scala-js.org/ - https://typelevel.org/ - https://zio.dev/ - https://github.com/scala-native/scala-native/pull/3120 - https://github.com/lampepfl/dotty/pull/16517 - https://dotty.epfl.ch/docs/reference/experimental/index.html - https://scala-cli.virtuslab.org/ - https://scalameta.org/metals/ - https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html - https://www.scala-lang.org/blog/2023/04/18/faster-scalajs-development-with-frontend-tooling.html - https://www.scala-lang.org/blog/2022/08/17/long-term-compatibility-plans.html
-
About Scala-Native
Scala Native has much more control on how the Scala AST is compiled, and can easier workaround platform limitations, eg. lazy vals in Scala 3 required reflection config for Native Image (see this and that), while in Scala Native we could mitigate problems with unsupported usage inside in other ways within the compiler plugin.
-
I've started writing a book on Scala 3 Macros
By the way, you might be interested in this recent PR which overhauls the scala 3 macro docs: https://github.com/lampepfl/dotty/pull/17060.
-
What is scala's modern Web API framework?
For example, this issue (https://github.com/lampepfl/dotty/issues/12840) was blocking the migration, it was reported more than a year ago and the fix was finally released a month ago (https://github.com/lampepfl/dotty/releases/tag/3.3.0-RC2).
-
scala 3 does not have :javap. Does anyone have any tips how to get around this.
For the record, there is an implementation of :javap which is close to being done but might need a volunteer to get it over the finish line: https://github.com/lampepfl/dotty/pull/12210
-
Is the Scala Center really working on Scala 4?
im glad to tell you that in 3.3.0 a lot of these -Wunused lints will be supported: see https://github.com/lampepfl/dotty/pull/16157
What are some alternatives?
Slick - Slick (Scala Language Integrated Connection Kit) is a modern database query and access library for Scala
sbt - sbt, the interactive build tool
doobie - Functional JDBC layer for Scala.
Scalatex - Programmable, Typesafe Document Generation
Quill - Compile-time Language Integrated Queries for Scala
scalajs-benchmark - Benchmarks: write in Scala or JS, run in your browser. Live demo:
Anorm - The Anorm database library
Mill - Your shiny new Java/Scala build tool!
Squeryl - A Scala DSL for talking with databases with minimum verbosity and maximum type safety
scalafmt - This repo is now a fork of --->
Relate - Performant database access in Scala
Metals - Scala language server with rich IDE features š