BEGIN;
CREATE TABLE usage_current (
device_id INT UNIQUE NOT NULL DEFAULT 0,
device_key JSONB PRIMARY KEY,
observation_time TIMESTAMPTZ NOT NULL,
occupied_audio_ports INT NOT NULL,
occupied_video_ports INT NOT NULL,
data_lineage JSONB NOT NULL,
data_lineage_ids INT[] NOT NULL
);
COMMIT;
--
You received this message because you are subscribed to the Google Groups "jOOQ User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I am using forced types. I will be happy to try to put together a test case and share it when I get some time.
Thank you for looking.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "jOOQ User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jooq-user/QtdD24F9v8g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jooq-user+...@googlegroups.com.
I am using forced types. I will be happy to try to put together a test case and share it when I get some time.
Thank you for looking.
On Mon, Jan 9, 2017, 9:50 AM Lukas Eder <lukas...@gmail.com> wrote:
Hi Daniel,Thanks for the report and the heads up on what could be causing this. We have plenty of integration tests checking code generator support for PostgreSQL arrays, so even if the issue might be related to arrays, I cannot reproduce it yet with your table. Do you perhaps have some <forcedTypes/> and/or <userTypes/> that modify this table?Best Regards,Lukas
2017-01-06 23:19 GMT+01:00 Daniel Einspanjer <daniel.einspanjer@designet.com>:Okay, I tracked down the SQL that changed which was triggering it. Here is the table definition. Given the line of code in the error is about parsing an array, I'm suspecting that last column in the table.BEGIN;
CREATE TABLE usage_current (
device_id INT UNIQUE NOT NULL DEFAULT 0,
device_key JSONB PRIMARY KEY,
observation_time TIMESTAMPTZ NOT NULL,
occupied_audio_ports INT NOT NULL,
occupied_video_ports INT NOT NULL,
data_lineage JSONB NOT NULL,
data_lineage_ids INT[] NOT NULL
);
COMMIT;
--
You received this message because you are subscribed to the Google Groups "jOOQ User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "jOOQ User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jooq-user/QtdD24F9v8g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jooq-user+unsubscribe@googlegroups.com.
I've hit this stack-overflow error again, this time in 3.10.0:org.jooq.util.JavaGenerator.getType(JavaGenerator.java:5670)but running the generator in debug shows it seems to be on an INT[] field.One point that I don't know if I omitted before or if at that time I wasn't doing is that I am running the PostgresDatabase to XMLDatabase generator.
Given that, I was able to create a simple test case and I've logged github issue https://github.com/jOOQ/jOOQ/issues/6646
On Monday, January 9, 2017 at 10:23:00 PM UTC-5, Daniel Einspanjer wrote:
I am using forced types. I will be happy to try to put together a test case and share it when I get some time.
Thank you for looking.
On Mon, Jan 9, 2017, 9:50 AM Lukas Eder <lukas...@gmail.com> wrote:
Hi Daniel,Thanks for the report and the heads up on what could be causing this. We have plenty of integration tests checking code generator support for PostgreSQL arrays, so even if the issue might be related to arrays, I cannot reproduce it yet with your table. Do you perhaps have some <forcedTypes/> and/or <userTypes/> that modify this table?Best Regards,Lukas