0
我使用postgres作爲我的數據庫,我想將對象發送給Postgres。我正在使用如何將對象傳遞給postgres
simpleJdbcCall.withCatalogName(datasourceCatalogName).execute(in);
變量在是map<String, Object>
,但我不知道如何使用這個對象的Postgres的領域。 我經歷了一些鏈接,但他們都指定傳遞數組到Postgres。
我使用postgres作爲我的數據庫,我想將對象發送給Postgres。我正在使用如何將對象傳遞給postgres
simpleJdbcCall.withCatalogName(datasourceCatalogName).execute(in);
變量在是map<String, Object>
,但我不知道如何使用這個對象的Postgres的領域。 我經歷了一些鏈接,但他們都指定傳遞數組到Postgres。
我不知道我明白這個問題,但你可以傳遞給從java的postgres序列化的對象。 https://docs.oracle.com/javase/tutorial/jndi/objects/serial.html