FlexyPool
Querydsl
FlexyPool | Querydsl | |
---|---|---|
2 | 6 | |
1,048 | 4,575 | |
- | 0.7% | |
0.0 | 4.1 | |
3 months ago | 5 days ago | |
Java | Java | |
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.
FlexyPool
-
Scalable Sequence for PostgreSQL
However, PostgreSQL caches the sequences per-connection (different from Oracle that caches in the instance shared memory). Sequences can be a bottleneck in case of a storm where all have a cold cache, and here is a workaround. Note that re-connecting in PostgreSQL is expensive for many reasons and better fixt that with a connection pool that is not too dynamic (if you need this, you should have a look at FlexiPool)
-
Do you have a github account ? What are you working on as a Java side-project ?
FlexyPool
Querydsl
-
PostgreSQL Is Enough
There is a bit of tooling needed but is already around. For Java for example I had very good experience with a combination of flyway [1] for migrations, testcontainers [2] for making integration tests as easy as unit tests and querydsl [3] for a query and mapping layer.
[1] https://github.com/flyway/flyway
[2] https://java.testcontainers.org/modules/databases/postgres/
[3] https://github.com/querydsl/querydsl
-
Apache Empire-Db: Full SQL Freedom for Java
http://querydsl.com/ also seems similar
-
Useful & Unknown Java Libraries - Piotr's TechBlog
As for JPA: I cannot miss the QueryDSL library for building typesafe queries. Another interesting alternative is Jinq, that provides a java stream api to query entities.
-
You might not need an ORM
> all I really want is a nice API for building queries (that actually supports all underlying database features) and automatic mapping of the results to whatever objects/structs and primitives the language supports.
For Java based solutions, check out https://www.jooq.org/ or http://querydsl.com/
-
How do access sql through java in the real world?
QueryDsl -- http://querydsl.com
- How to build SQL query strings?
What are some alternatives?
HikariCP - 光 HikariCP・A solid, high-performance, JDBC connection pool at last.
jOOQ - jOOQ is the best way to write SQL in Java
Vibur DBCP - Vibur DBCP - concurrent and dynamic JDBC connection pool
JDBI - The Jdbi library provides convenient, idiomatic access to relational databases in Java and other JVM technologies such as Kotlin, Clojure or Scala.
MapDB - MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine.
Jinq - LINQ-style queries for Java 8
Apache Phoenix - Apache Phoenix
Apache Hive - Apache Hive
Crate - CrateDB is a distributed and scalable SQL database for storing and analyzing massive amounts of data in near real-time, even with complex queries. It is PostgreSQL-compatible, and based on Lucene.
Spring Data JPA - Simplifies the development of creating a JPA-based data access layer.
Presto - The official home of the Presto distributed SQL query engine for big data