However, if you really like the Micronaut Data or Spring Data repositories, there are good news: Helidon now supports the integration with Micronaut Data (so technically speaking, we could have just borrowed Micronaut data repository). You'll find many examples that address the language's complexities, along with key aspects of SQL used in Microsoft SQL Server, MySQL, Oracle Database, PostgreSQL, and SQLite. If you use SQL in your day-to-day work as a data analyst, data scientist, or data engineer, this popular pocket guide is your ideal on-the-job reference. For the time being, we'll only use the PostgreSQL database for accounts, and not for instance character information.
To save account data, we will want to use a SQL database, in this case a PostgreSQL database.
Before we start saving the characters information, we need to sort out user accounts. When converting textual JSON input into jsonb, the primitive types described by RFC 7159 are effectively mapped onto native PostgreSQL types, as shown in Table 8.23.Therefore, there are some minor additional constraints on what constitutes valid jsonb data that do not apply to the json type, nor to JSON in the abstract, corresponding to limits on what can be represented by the underlying data. You could of course also store the JSON document in a text column (which is part of the SQL standard and supported by Hibernate), but then you would miss out on PostgreSQL. One example for it is PostgreSQL's JSONB data type which allows you to store JSON documents efficiently in a database column. Most databases offer lots of proprietary features in addition to the known SQL standard.