Fork me on GitHub
#clojure-nl
<
2019-02-20
>
borkdude08:02:31

mogguh. Looking forward to ClojureD!

gklijs12:02:08

Really need a vacation, getting frustrated by all the different data objects we use in the current Java project. It can be so much better/simpler with Clojure(script) and spec.

thomas12:02:42

we feel your pain @gklijs...

thomas12:02:57

I am fighting some Hibernate :poop:

gklijs12:02:51

Here they're building there own Hibernate..

thomas12:02:26

even better!!!!

hansw14:02:14

ORM is the Vietnam of Computer Science.

hansw14:02:17

fucking JPA/Hibernate is even poisoning the promising Kotlin language community, requiring that people use var

hansw14:02:42

JPA? Just say no πŸ™‚

thomas14:02:01

I agree.... but I don't have a choice in this case...

thomas14:02:32

what most surprised me was the 19k of select calls we did for a single page...

kirill.salykin14:02:59

it must be very big page πŸ™‚

thomas14:02:01

yes... 19k select from queries...

thomas14:02:19

there is quite a lot of data on it... but not that much...

thomas14:02:41

but you can't really tell from the code there are that many

borkdude14:02:59

isn’t there something like hugsql for java? it simplifies things so much.

thomas14:02:07

we increased batchsize and now it is a lot faster...

thomas14:02:21

but we now also get other problems... 😞

thomas14:02:29

no idea... haven't looked

thomas14:02:47

JDBC isn't quite the same... that is just strings at the end

borkdude15:02:12

something like this maybe? https://github.com/juszczakn/shacql I guess can you can also just wrap hugsql with a thin Java API

parrot 10
thomas15:02:13

hmm.... not sure people here would like it... certain people are rather fond of Hibernate I think.