inserting into an (Postgresql 10) interval type column using JPA

2022-03-30 Thread mkr...@trialfire.com
Hi, I have some JSON data represents an eCommerce product subscription, it looks kinda like the example below. I'm trying to insert this data into a Postgres table { subscriptionID:'1234', sku:'12346', every: '6 weeks' } I have a pojo that reflects the above public class

Re: inserting into an (Postgresql 10) interval type column using JPA

2022-03-31 Thread mkr...@trialfire.com
otSupportedException(); } @Override public void get(BindingGetSQLInputContext ctx) throws SQLException { throw new SQLFeatureNotSupportedException(); } } On Thursday, March 31, 2022 at 8:43:01 AM UTC-6 mkr...@trialfire.com wrote: > The custom binding did the trick. As always you ar