ls-annotations
spring-data-relational
ls-annotations | spring-data-relational | |
---|---|---|
2 | 11 | |
7 | 728 | |
- | -0.4% | |
0.0 | 9.2 | |
about 1 year ago | 3 days ago | |
Java | Java | |
MIT License | 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.
ls-annotations
-
Jodd – The Unbearable Lightness of Java
I remember the days, when the Spring framework was advertised as a lightweight alternative to Enterprise java beans (ejb); now Spring outgrew the pretence of being lightweight, don't know when that happened. last year i got back to working with java and spring boot, and i was overwhelmed by the prevalence of annotations in the tool.
To cope with all this, i wrote this little project: https://github.com/MoserMichael/ls-annotations
It's a decompiler that is listing all annotations, so it becomes easier to grep a text file in order to detect the dependencies between annotations.
-
Ask HN: What Are You Working On?
https://github.com/MoserMichael/ls-annotations wrote a tool that decompiles jdk byte code files and lists declarations (classes, functions, variables) with annotations only. You can also use it to find all classes/interfaces derived from a given class/inerface - and all the classes/interfaces derived from a given class/interface.
The tool uses the asm library to scan class files and to extract annotations. it can detect annotations with retention policy CLASS and RUNTIME. It can't detect annotations with retention policy SOURCE that are not put into bytecode, for example @Override is one of these.
spring-data-relational
-
You might not need an ORM
What do you think of Spring Data JDBC (https://spring.io/projects/spring-data-jdbc)?
-
Architecture Pitfalls: Don’t use your ORM entities for everything — embrace the SQL!
What do you think of Spring Data JDBC?
-
Where is the Lock annotation in Spring-data-jdbc?
Link to GitHub: https://github.com/spring-projects/spring-data-relational/blob/main/spring-data-relational/src/main/java/org/springframework/data/relational/repository/Lock.java
-
What are some more options or good practices for dynamic SQL query building?
I would ignore the hipster jOOQ and similar and start with Spring Data JDBC https://spring.io/projects/spring-data-jdbc
-
Which ORM framework are you using with Java, and why?
This makes Spring Data JDBC a simple, limited, opinionated ORM.
-
Solution to NullPointerException in java?
Though JPA is fine, and yes hibernate can be used under the hood. When it comes to spring it is mostly what level of abstraction you want. Or you could go with JDBC. And you have a spring data JDBC for having a similar abstraction as to the JPA one.
- Is there a reason to not use Spring Data JPA and Jackson in big projects?
-
Jodd – The Unbearable Lightness of Java
This is not correct. You're thinking Spring Data JPA [1]. Spring Data JDBC [2] does _not_ use any Hibernate nonsense.
[1] https://spring.io/projects/spring-data-jdbc
-
I wrote an MVP in Java and it was actually pleasant
The data moved from the awesome-but-confusing DynamoDB... into PostgreSQL✨, using Spring Data JDBC.
-
20 years of Hibernate
I didn't have much experience with Hibernate and Spring (was using JavaEE prior), it could very possibly be the case, that the team simply misused Hibernate. We might have used n+1 queries, eager loading (although I mildly remember we fixed this), oh and we had the old id generation via sequence in Hibernate, that was really pain to optimize properly. Oracle 11 does not have identity generation. I remembered this only becuase I created an issue at the time. Still not implemented, but can't blame them, who the hell uses sequences as ID generation nowadays.
What are some alternatives?
nanohttpd - Tiny, easily embeddable HTTP server in Java.
MyBatis - MyBatis SQL mapper framework for Java
jodd-json - JSON Java serializer and parser.
high-performance-java-persistence - The High-Performance Java Persistence book and video course code examples
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
JDBI - The Jdbi library provides convenient, idiomatic access to relational databases in Java and other JVM technologies such as Kotlin, Clojure or Scala.
netty-websocket-broadcast-example - An example WebSocket broadcast server using Netty
maplibre-gl-js - MapLibre GL JS - Interactive vector tile maps in WebGL2
cratetorrent - A BitTorrent V1 engine library for Rust (and currently Linux)
Ebean ORM - Ebean ORM