home.social

#hibernate — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #hibernate, aggregated by home.social.

  1. [Перевод] Победить Hibernate в тестах. Возможно?

    Победить Hibernate в тестах. Сможем? Всем, привет! На связи Михаил Поливаха, технический лидер Open Source проекта Axelix (проект, посвященный помочь вам идентифицировать частые проблемы в Java server-side приложениях, в т.ч в рамках работы с Hibernate). Данная, последняя статья является продолжением небольшой серии статей ответов на вопросы, которые возникли у участников Spring АйО Академии в рамках программы Hibernate. Я рассмотрю оставшиеся последние вопросы, а именно: “Можно ли в тестах как-то проверить, что Hibernate под капотом делает что-то страшное?” Тут очень важно не давать вам “рыбу”, а научить вас рыбачить, т.е. дать вам некоторый фреймворк о том, что стоит держать в уме при работе с Hibernate.

    habr.com/ru/companies/spring_a

    #java #hibernate #axelix #orm #sql #jpa #test #unittesting #springdata #springboot

  2. "A swap file can be used to reserve swap-space within an existing partition & may also be setup inside an encrypted blockdevice's partition."
    So all I had to do is make sure swap file is setup in fstab & just point all resume=UUID= to the UUID of primary partition where the #swap file is & that is it. my brain exploded🤯 from how easy it was.
    p.s. reminder to anyone doing #LUKS it is only as good as the password you pick so pick something good!
    #CryptSetup #Linux #LVM #hibernate #DiskEncryption

  3. Long ago when I was installing #Kali #Linux on my #Dell Latitude E5570 #Laptop
    I went with LVM on LUKS wiki.archlinux.org/title/dm-cr
    & at the time I thought I'd go with a swap file on / (I was unaware of Swap crypt🙄)
    I was never able to get hibernate to work, until now😀...
    Let me say many websites & forums all say if you want hibernate to work on LUKS, you have to go with swap crypt.
    Not true, if you read wiki.archlinux.org/title/Dm-cr
    #CryptSetup #LVM #LUKS #SWAP #hibernate #DiskEncryption

  4. Big news in the #Java world: #Hibernate moving to a foundation, #Commonhouse

    in.relation.to/2024/04/09/hibe

    commonhaus.org

    Seems to be a sensible decision, especially given its enviable wide use.