Re: James H2 database

Benoit TELLIER <[email protected]> Tue, 4 Feb 2025 08:22:00 +0000
Newsgroups gmane.comp.jakarta.james.user
Message-ID <[email protected]>
First H2 is a SQL embedded database cf https://www.h2database.com/html/main.html 

"Welcome to H2, the Java SQL database."

Second you would need to load the jdbc driver for 2 and probably add H2 jars and dependencies on the classpath. How to do this will differ depending of if you use Spring or guice

Guice: https://github.com/apache/james-project/tree/master/server/apps/jpa-app#using-alternative-jdbc-drivers 

Spring: Drop jars into the libs folder and configure h2 jdbc driver
-- 

Best regards,

Benoit TELLIER

General manager of Linagora VIETNAM.
Product owner for Team-Mail product.
Chairman of the Apache James project.

Mail: [email protected]
Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal)


On Feb 4, 2025 2:08 AM, from Ilya Terskov <[email protected]>Hi guys. Looking for info many tells that most nosql fast database. And if
i understand right it java based so driver in james already here? I need
change in database configs and install h2 ofc. Tell me please how it work
with james?