Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data type (1111, 'jsonb') not recognized and will be ignored #271

Open
alex123asd123asd opened this issue Apr 21, 2024 · 0 comments
Open

Comments

@alex123asd123asd
Copy link

Hello.
Does it possible to use JSONB in DB Rider Dataset?

My init SQL is:

CREATE TABLE IF NOT EXISTS my_table (
    id TEXT,
    tags JSONB
);

My dataset:

<dataset>
    <my_table id="001" tags="{}"/>
</dataset>

My test:

@Test
@DataSet("/datasets/data.xml")
void test() {
...
}

When runnig test I have the next issue:

12:46:16.816 [main] WARN org.dbunit.util.SQLHelper -- rp_alerts.raw_tags data type (1111, 'jsonb') not recognized and will be ignored. See FAQ for more information.
Caused by: org.dbunit.dataset.NoSuchColumnException: my_table.TAGS -  (Non-uppercase input column: tags) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant