Ebean ORM | pgjdbc | |
---|---|---|
7 | 14 | |
1,429 | 1,416 | |
0.0% | 0.9% | |
9.5 | 9.3 | |
15 days ago | 6 days ago | |
Java | Java | |
Apache License 2.0 | BSD 2-clause "Simplified" License |
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.
Ebean ORM
- loom and database drivers
-
How do you guys go about the persistence layer?
You can have a look at https://ebean.io/ ... better control over the generated SQL, multiple levels of abstraction, can generate DB migrations and run the DB migrations, transparent encryption support, SQL 2011 history support, test against docker containers.
- O que estou fazendo?? Um projetinho de estudo.
-
What do you whish for Spring 6?
There is https://ebean.io/ and looks like it a community driven alternative to jOOQ.
-
Do you use code generators in your IDEs or some external ones? If so, which ones?
Ebean ORM https://ebean.io/ was built to somewhat rival JPA (and JDBI) Btw: you can use java 16 records with ebean as DTOs, EmbeddedId and also as read only entity beans (and JPA implementations could similarly do so).
-
20 years of Hibernate
Ebean is pretty good: https://ebean.io
-
Stop Using JPA/Hibernate
I wouldn't call it micro, but https://ebean.io/ is pretty nice.
pgjdbc
-
Password may not contain: select, insert, update, delete, drop
The method doAppendEscapeLiteral (Line 66) is a good example; https://github.com/pgjdbc/pgjdbc/blob/master/pgjdbc/src/main...
I didn’t take notes all the way down, but at the end of the day this method is invoked when a prepared statements’ parameters are being bound
-
Everything People Don't Get About CVEs
Let's take CVE-2022-21724 which has a base score of 9.8 - Critical from NVD. This vulnerability has the following description on GitHub link:
- For daily Java programmers: after almost one decade of Java 8, are streams and lambdas fully adopted by the Java community?
-
KTor and non-blocking sql
Virtual threads are great but db drivers still have to tweak (mainly to remove synchronized I/O) to be compatible with loom. Postgres just recently merged the changes for loom https://github.com/pgjdbc/pgjdbc/issues/1951
-
loom and database drivers
You can see it for example in the Postgres driver here or the MS SQL driver here. Oracle of course has already released their driver as Loom ready.
- Embracing Virtual Threads with Spring
-
Java 19
See here for details, one of the Project Loom mainainers chimes in with the bad news -- looks like a Loom supported solution is a ways off, so rewriting library/application code that uses synchronized is the only way to actually benefit from Loom's virtual threads.
-
Why is Spring so slow in TechEmpower benchmark?
Any chance you could add a thought / opinion to https://github.com/pgjdbc/pgjdbc/issues/1951 ? Around synchronized & ReentrantLock etc. Any input would be greatly appreciated.
-
I feel like this should be in every model, class and function just to be sure.
This is about types defined outside your business and that means you possibly don't have a chance to do better, e.g. PgPreparedStatement from PostreSQL driver.
- Postgres Java lib returns wrong numeric value after 5 reads
What are some alternatives?
Hibernate - Hibernate's core Object/Relational Mapping functionality
pgjdbc-ng - A new JDBC driver for PostgreSQL aimed at supporting the advanced features of JDBC and Postgres
MyBatis - MyBatis SQL mapper framework for Java
HikariCP - 光 HikariCP・A solid, high-performance, JDBC connection pool at last.
Spring Data JPA - Simplifies the development of creating a JPA-based data access layer.
Trino - Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
Ktorm - A lightweight ORM framework for Kotlin with strong-typed SQL DSL and sequence APIs.
jOOQ - jOOQ is the best way to write SQL in Java
OrmLite - Core ORMLite functionality that provides a lite Java ORM in conjunction with ormlite-jdbc or ormlite-android
zgc - The Z Garbage Collector https://wiki.openjdk.org/display/zgc
Exposed - Kotlin SQL Framework
H2 - H2 is an embeddable RDBMS written in Java.