Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8765567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:18:55+00:00 2026-06-13T16:18:55+00:00

I’m interested in Qi4j but I don’t know how well it fits with SQL

  • 0

I’m interested in Qi4j but I don’t know how well it fits with SQL databases.

I would like to know what does Qi4j provide to support SQL databases ?

Thanks !

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T16:18:57+00:00Added an answer on June 13, 2026 at 4:18 pm

    Qi4j SQL support is, like everything Qi4j, an opt-in collection of libraries and extensions.

    First, you can use Qi4j in applications that already use something else to handle persistence (JDBC, JPA or any other technology). The Qi4j core is small and you are free to use, or not, librairies and extensions present in the SDK.

    If you don’t want to use Qi4j persistence support (ie. Entities and Query API) you still can leverage the SQL Library that allows you to manage DataSources (connection pools) as Qi4j Services. As stated in the documentation, the SQL Library give you CircuitBreaker Library and Qi4j I/O API integration for free. Moreover you can choose to either import an existing DataSource (useful if you deploy your application in a container and you want that container to manage the DataSource), or use any of the following connection pools implementations: Apache DBCP, C3P0 or BoneCP. See http://qi4j.org/latest/library-sql.html

    Qi4j persistence relies on Entities stored in an EntityStore. The SDK provides many EntityStore implementations including one based on SQL databases. There’s support for the following databases: PostgreSQL, MySQL, MariaDB, SQLite (embedded), H2 (embedded or server), and Apache Derby (aka. Oracle JavaDB, both in embedded and server modes). See http://qi4j.org/latest/extension-es-sql.html

    Qi4j Query API relies on Index/Query services. Again, the SDK provides several implementations including one based on SQL databases. At the time of writing it supports only PostgreSQL as a backend but work is being done to support as many SQL databases as the SQL EntityStore. See http://qi4j.org/latest/extension-indexing-sql.html

    Finally, an application sample demonstrates how to use all the SQL support provided by the Qi4j SDK for you to get started from. See http://qi4j.org/latest/sample-sql-support.html

    /Paul

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I would like to run a str_replace or preg_replace which looks for certain words
I would like to count the length of a string with PHP. The string
Does anyone know how can I replace this 2 symbol below from the string
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I've got a string that has curly quotes in it. I'd like to replace
I am trying to render a haml file in a javascript response like so:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.