|
| ▲ | throwawey1234 an hour ago | parent | next [-] |
| Half of those are not really an issue with the annotation and seem a bit contrived. Thankfully the company that wrote the article has a linter/warning product to help avoid those pitfalls. |
|
| ▲ | fiftyacorn a day ago | parent | prev [-] |
| Im comparing against node equivalent ORMs and find spring consistently better. Yeah ive got to read up on annotations - but when it comes to transactions its always worth revisiting them to check for changes |
| |
| ▲ | tracker1 a day ago | parent [-] | | Meh... await using cn = await pool.connect();
const records = await cn.query<MyType>`
SELECT ...
FROM ...
WHERE ...
`;
for await (const record of records) {
...
}
Oh, spring is so much better... | | |
| ▲ | throwawey1234 an hour ago | parent [-] | | Spring version: var records = jdbcClient
.sql("select * from posts")
.query(Post.class)
.toList();
records.forEach(p -> ...);
|
|
|