Skip to content

EzShops 2.5.9: SQL transaction repository fails with "DataSourceJdbcStore does not support flat-map operations" #84

Open

Description

@thekillerch

Hi,

I’m testing EzShops 2.5.9 on a Folia 26.2 server and I’m running into an issue with SQL transaction logging.

My setup is:

Folia 26.2
Java 26
EzShops 2.5.9
VaultUnlocked 2.20.2
EternalEconomy 1.0.1
MariaDB 12.3.2

MariaDB itself seems to be working fine. On startup EzShops says:

Shop transactions: using SQL-backed transaction repository.
Player shops: using Jaloquent storage (JDBC adapter).
EzShops plugin enabled.

The problem happens whenever I sell something, for example:

/shop sell IRON_INGOT 10

The sale itself seems to work, but every time I do it I get this error in console:

DataSourceJdbcStore does not support flat-map operations.
Register a table with TableRegistry.register(...) so that
ModelRepository routes all operations through the SQL path.

There is also:

Failed to find model:

and the stack trace points to:

JaloquentTransactionRepository.record
ShopTransactionPersistenceListener.onSale
ShopTransactionService.sell

So it looks like the database connection is working, but something goes wrong when EzShops tries to save the transaction.

Is this a bug in the Jaloquent transaction repository, or am I missing something in the configuration?

Also, is there a way to use a different storage backend for transaction history while keeping MariaDB/Jaloquent for player shops?

I can send the full config and stack trace if useful.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions