Can I use hibernate instead of a database?

1. Recently, when I was learning hibernate, a question suddenly occurred to me: can I use hibernate instead of a database to store data? Can it cooperate with hibernate with simple file access?

2. In order to answer this question, I think we should first find out whether hibernate has any intermediates in object mapping. If so, can this intermediate be obtained? If you can, maybe you can save it with a file.

3, personal thinking is greatly inspired, I hope someone can answer the questions, thank you!

Feb.28,2021

  1. H2 HSQL and other embedded databases can be used without configuring another database server. It is generally used in development or test environments
  2. there should be no ready-made hibernate. You may need to write a jdbc driver. It is possible to read and write csv/xml and other files through sql.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bd073a-30cf5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bd073a-30cf5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?