{"id":26777845,"url":"https://github.com/linux-china/dbunit-pg-ext","last_synced_at":"2026-04-20T10:32:09.817Z","repository":{"id":284269523,"uuid":"954387576","full_name":"linux-china/dbunit-pg-ext","owner":"linux-china","description":"DBUnit PostgreSQL Extension: add json, jsonb and vector data types support","archived":false,"fork":false,"pushed_at":"2025-12-06T06:18:45.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-08T23:47:55.432Z","etag":null,"topics":["dbunit","json","postgresql","vector"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linux-china.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-25T02:19:45.000Z","updated_at":"2026-01-14T15:55:24.000Z","dependencies_parsed_at":"2025-05-06T06:01:04.845Z","dependency_job_id":null,"html_url":"https://github.com/linux-china/dbunit-pg-ext","commit_stats":null,"previous_names":["linux-china/dbunit-pg-ext"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/linux-china/dbunit-pg-ext","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Fdbunit-pg-ext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Fdbunit-pg-ext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Fdbunit-pg-ext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Fdbunit-pg-ext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linux-china","download_url":"https://codeload.github.com/linux-china/dbunit-pg-ext/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Fdbunit-pg-ext/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32043004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dbunit","json","postgresql","vector"],"created_at":"2025-03-29T05:18:13.121Z","updated_at":"2026-04-20T10:32:09.806Z","avatar_url":"https://github.com/linux-china.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"DBUnit PostgreSQL Extension\n=============================\n\ndbunit-pg-ext is an extension for DBUnit to add more features for PostgreSQL.\n\nData types of `PostgresqlDataTypeFactory`:\n\n- `uuid`\n- `interval`\n- `inet`\n- `geometry`\n- `citext`\n\nData types of `PostgresqlExtraDataTypeFactory`:\n\n- `json` and `jsonb`\n- `XML`\n- `vector`: https://github.com/pgvector/pgvector\n- `money`\n- `_text`: array of text\n- range: `int4range`, `int8range`, `numrange`, `tsrange`, `tstzrange`, `daterange`\n- `hstore`: key-value pairs\n- `ltree`: tree-like structure\n\nExtra classes:\n\n- `PostgresqlExtraDataTypeFactory`: extend `PostgresqlDataTypeFactory` and more data types for PostgreSQL\n- `PgConnection`: DBUnit `IDatabaseConnection` with `PostgresqlExtraDataTypeFactory`\n\n# Get Started\n\nAdd dependency in pom.xml:\n\n```xml\n\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.mvnsearch\u003c/groupId\u003e\n    \u003cartifactId\u003edbunit-pg-ext\u003c/artifactId\u003e\n    \u003cversion\u003e0.1.3\u003c/version\u003e\n\u003c/dependency\u003e\n````\n\n# dbunit-maven-plugin configuration\n\n```xml\n\n\u003cplugin\u003e\n    \u003cgroupId\u003eorg.dbunit\u003c/groupId\u003e\n    \u003cartifactId\u003edbunit-maven-plugin\u003c/artifactId\u003e\n    \u003cversion\u003e1.2.0\u003c/version\u003e\n    \u003cdependencies\u003e\n        \u003cdependency\u003e\n            \u003cgroupId\u003eorg.postgresql\u003c/groupId\u003e\n            \u003cartifactId\u003epostgresql\u003c/artifactId\u003e\n            \u003cversion\u003e42.7.5\u003c/version\u003e\n        \u003c/dependency\u003e\n        \u003cdependency\u003e\n            \u003cgroupId\u003eorg.mvnsearch\u003c/groupId\u003e\n            \u003cartifactId\u003edbunit-pg-ext\u003c/artifactId\u003e\n            \u003cversion\u003e0.1.3\u003c/version\u003e\n        \u003c/dependency\u003e\n    \u003c/dependencies\u003e\n    \u003cconfiguration\u003e\n        \u003cdbconfig\u003e\n            \u003cdatatypeFactory\u003eorg.mvnsearch.dbunit.ext.postgresql.PostgresqlExtraDataTypeFactory\u003c/datatypeFactory\u003e\n        \u003c/dbconfig\u003e\n    \u003c/configuration\u003e\n\u003c/plugin\u003e\n\n```\n\n# References\n\n* PostgreSQL Data Types: https://www.postgresql.org/docs/current/datatype.html\n* DBUnit: https://www.dbunit.org/howto.html\n* DbUnit and JSON column type support: https://stackoverflow.com/questions/52845001/dbunit-and-json-column-type-support\n* DbUnit Extractor: https://plugins.jetbrains.com/plugin/7958-dbunit-extractor\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinux-china%2Fdbunit-pg-ext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinux-china%2Fdbunit-pg-ext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinux-china%2Fdbunit-pg-ext/lists"}