how to download hibernate documentation

Hello guys I am really sorry for such question. I could not download hibernate official documentation I was using online html version. Is it possible to download pdf of it? http://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html thanks

asked Dec 23, 2016 at 14:53 891 2 2 gold badges 10 10 silver badges 17 17 bronze badges I found docs for 3.3 docs.jboss.org/hibernate/orm/3.3/reference/en/pdf/… but I need 5.2 Commented Dec 23, 2016 at 14:58

6 Answers 6

We bundle the HTML version of the documentation with the final release bundles we post to SourceForge and Bintray.

If you look at our blog post here, click on the SourceForge or Bintray links and download the release archive. Inside the release archive is a documentation directory that contains all various documentation guides for that version's release.

While it may be HTML and not PDF, its at least an offline version either way.

answered Dec 23, 2016 at 15:51 20.9k 4 4 gold badges 46 46 silver badges 75 75 bronze badges

It is now version 6.2.6 and methods get quicker so about 15 seconds after typing (your mileage may vary so do wait Minutes as logging 23193884 bytes written to file should give you a final message) note 44ppm is reasonable so 44pps (Pages Per Second) is blindingly fast.

Note for 64bit start with "C:\Program Files (86)\Mic. for 32bit it is

"C:\Program Files\Microsoft\Edge\Application\msedge.exe" --headless --print-to-pdf="%userprofile%\Desktop\PDFfromCMD.pdf" --no-pdf-header-footer --enable-logging https://docs.jboss.org/hibernate/orm/current/userguide/html_single/Hibernate_User_Guide.html 

[0428/035904.555:INFO:headless_shell.cc(659)] Written to file C:\Users\WDAGUtilityAccount\Desktop\PDFfromCMD.pdf.

For a specific earlier version replace current with say 6.0 , to see the version list use https://docs.jboss.org/hibernate/orm/

I get current pages as a 763 Page PDF

enter image description here

If you just want parts quickly from Asciidoc source download the zip as mentioned above and use the browser extension see https://stackoverflow.com/a/71181730/10802527

answered Apr 28, 2022 at 3:02 11.1k 4 4 gold badges 19 19 silver badges 48 48 bronze badges

Unfortunately, the official Hibernate's documenation sources do not provide us with pdf versions. But, there is the solution to this issue: we can download a single-html version and convert it by some html => pdf tool. The following solution suits for Linux , but you can download according command-line tools for Windows as well:

    Let's create some local folder, go to there and then download the single-html version of the doc with embedded images:

wget --no-parent --recursive --level=inf --page-requisites --wait=1 --reject-regex='index.html\?(.*)' https://docs.jboss.org/hibernate/orm/5.4/javadocs/ 
wkhtmltopdf Hibernate_User_Guide.html Hibernate_User_Guide.pdf 
Or, if you need more configuration options:
wkhtmltopdf --encoding utf-8 --page-size A4 --margin-left 5mm --margin-right 5mm --margin-top 5mm --margin-bottom 5mm Hibernate_User_Guide.html Hibernate_User_Guide.pdf 

P.S. The approach, described above, could be used not only for Hibernate, Spring etc. It is the universal solution for converting almost any single-html document pages to PDF.

answered Nov 10, 2019 at 14:28 Exterminator13 Exterminator13 2,172 1 1 gold badge 23 23 silver badges 28 28 bronze badges

I have used online HTTP Link to PDF tool, particularly https://www.online-convert.com/

answered Apr 27, 2022 at 21:07 773 7 7 silver badges 14 14 bronze badges

I think it is not possible to download a pdf version of the user guide of Hibernate.
But. ;) ;) you could go to that link
(http://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html)
which has all the hibernate user guide and print it as a pdf file. Ctrl+P on your browser and select print as pdf (I don't know if all browser have this functionality. Worst case you will need a plugin).
That's what I did and the resulting pdf is pretty decent.

answered Nov 20, 2018 at 16:01 573 4 4 silver badges 18 18 bronze badges

(Dec 26, 2021)

I finally found a simple GUI-based approach to export the Hibernate documentation as a single PDF file whose table of contents can be read by any PDF viewer software.

First u need to go to the Hibernate releases page and download the Zip archive of your desired version to your local machine. All the docs for Hibernate in the raw AsciiDoc document format is located at the root directory /project/documentation/src/main/asciidoc of the folder unzipped from your Zip archive. U need the Asciidoctor PDF Ruby Gem (an Asciidoctor extension) to convert an AsciiDoc document directly to a PDF document.

Below are all the steps needed to install the extension:

  1. The recommended method to install Ruby is using the Ruby enVironment Manager (RVM), follow all these steps to install it for your OS, recommended to use Homebrew to install the required dependencies.
  2. After the RVM installation in the previous step is complete, run the following CLI command rvm install ruby --default to install the latest stable version of Ruby and select this version as the default one.
  3. After the Ruby installation in the previous step is complete, run the following CLI command gem install asciidoctor-pdf to install the AsciiDoc-to-PDF converter. U might need to follow the Installation Troubleshooting if there is any error during the installation.
  4. Follow my Stackoverflow answer to perform the conversion (just ignore the step to create a single pdf file from multiple .adoc files). Within the asciidoc folder mentioned above, remember to drag a folder of a specific section in the Hibernate doc such as userguide or quickstart to the VSCode IDE before the conversion.