Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Slick

9.2K
1.2K
+ 1
0
Spring Data

602
408
+ 1
0
Add tool

Spring Data vs Slick: What are the differences?

What is Spring Data? Provides a consistent approach to data access – relational, non-relational, map-reduce, and beyond. It makes it easy to use data access technologies, relational and non-relational databases, map-reduce frameworks, and cloud-based data services. This is an umbrella project which contains many subprojects that are specific to a given database.

What is Slick? Database query and access library for Scala. It is a modern database query and access library for Scala. It allows you to work with stored data almost as if you were using Scala collections while at the same time giving you full control over when a database access happens and which data is transferred.

Spring Data and Slick can be categorized as "Database" tools.

Some of the features offered by Spring Data are:

  • Powerful repository
  • Custom object-mapping abstractions
  • Dynamic query derivation

On the other hand, Slick provides the following key features:

  • Seamless data access for your Scala application
  • Write Scala code to query your database
  • All database entities and queries are statically checked at compile-time

Spring Data and Slick are both open source tools. Slick with 2.27K GitHub stars and 542 forks on GitHub appears to be more popular than Spring Data with 58 GitHub stars and 62 GitHub forks.

orat.io, Massdrop, and SpringRole are some of the popular companies that use Slick, whereas Spring Data is used by Monkey Exchange, Hocelot, and apside. Slick has a broader approval, being mentioned in 7789 company stacks & 4 developers stacks; compared to Spring Data, which is listed in 15 company stacks and 42 developer stacks.

Manage your open source components, licenses, and vulnerabilities
Learn More

What is Slick?

It is a modern database query and access library for Scala. It allows you to work with stored data almost as if you were using Scala collections while at the same time giving you full control over when a database access happens and which data is transferred.

What is Spring Data?

It makes it easy to use data access technologies, relational and non-relational databases, map-reduce frameworks, and cloud-based data services. This is an umbrella project which contains many subprojects that are specific to a given database.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Slick?
What companies use Spring Data?
Manage your open source components, licenses, and vulnerabilities
Learn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Slick?
What tools integrate with Spring Data?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Slick and Spring Data?
Quill
It is messaging for teams that focus. Designed from the ground up to make you more productive. Everything in Quill is a thread. Focus on a topic, make decisions, and stay in flow. Choose the conversations you care about and safely filter everything else, knowing that you’re not missing out.
MySQL
The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
PostgreSQL
PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions.
MongoDB
MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
Redis
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.
See all alternatives