You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by Christofer Dutz <ch...@c-ware.de> on 2024/04/02 11:42:40 UTC

[DISCUSS] Make enabling "fat-jars" the default for the JDBC module?

Hi all,

so right now, I keep on having the issue, that I keep on needing to re-build IoTDB, as I forgot to enable the “jar-with-dependencies” profile when building the JDBC driver.
I would assume, that when building a native Java client, someone would possibly prefer using the session API and that JDBC is more needed when using IoTDB from a JDBC enabled client.

So, I think it would be better to have the fat-jar enabled per default.

What do you others think?

Chris

Re: [DISCUSS] Make enabling "fat-jars" the default for the JDBC module?

Posted by Wang Critas <cr...@outlook.com>.
+1
JDBC should always be fat-jar

Best regards,
Xuan Wang
________________________________
From: Christofer Dutz <ch...@c-ware.de>
Sent: Tuesday, April 2, 2024 7:58:02 PM
To: dev@iotdb.apache.org <de...@iotdb.apache.org>
Subject: AW: [DISCUSS] Make enabling "fat-jars" the default for the JDBC module?

Yeah …

I know that you can enable that … for some reason IntelliJ seems to keep on forgetting which profiles were enabled every time I pull changes.
I just regularly keep on re-enabling it. But I was questioning, if the JDBC driver shouldn’t have this enabled per default, as I don’t see a benefit of having a slim-jar version.

Chris

Von: Wang Critas <cr...@outlook.com>
Datum: Dienstag, 2. April 2024 um 13:52
An: dev@iotdb.apache.org <de...@iotdb.apache.org>
Betreff: Re: [DISCUSS] Make enabling "fat-jars" the default for the JDBC module?
We will have the corresponding fat-jar when the version is released. Locally, if developing JDBC seems to add jar-with-dependencies manually, it is not troublesome.
Of course, we can also consider adding fat-jar to JDBC in distribution.

Xuan

Best regards,
Xuan Wang
________________________________
From: Christofer Dutz <ch...@c-ware.de>
Sent: Tuesday, April 2, 2024 7:42:40 PM
To: dev@iotdb.apache.org <de...@iotdb.apache.org>
Subject: [DISCUSS] Make enabling "fat-jars" the default for the JDBC module?

Hi all,

so right now, I keep on having the issue, that I keep on needing to re-build IoTDB, as I forgot to enable the “jar-with-dependencies” profile when building the JDBC driver.
I would assume, that when building a native Java client, someone would possibly prefer using the session API and that JDBC is more needed when using IoTDB from a JDBC enabled client.

So, I think it would be better to have the fat-jar enabled per default.

What do you others think?

Chris

AW: [DISCUSS] Make enabling "fat-jars" the default for the JDBC module?

Posted by Christofer Dutz <ch...@c-ware.de>.
Yeah …

I know that you can enable that … for some reason IntelliJ seems to keep on forgetting which profiles were enabled every time I pull changes.
I just regularly keep on re-enabling it. But I was questioning, if the JDBC driver shouldn’t have this enabled per default, as I don’t see a benefit of having a slim-jar version.

Chris

Von: Wang Critas <cr...@outlook.com>
Datum: Dienstag, 2. April 2024 um 13:52
An: dev@iotdb.apache.org <de...@iotdb.apache.org>
Betreff: Re: [DISCUSS] Make enabling "fat-jars" the default for the JDBC module?
We will have the corresponding fat-jar when the version is released. Locally, if developing JDBC seems to add jar-with-dependencies manually, it is not troublesome.
Of course, we can also consider adding fat-jar to JDBC in distribution.

Xuan

Best regards,
Xuan Wang
________________________________
From: Christofer Dutz <ch...@c-ware.de>
Sent: Tuesday, April 2, 2024 7:42:40 PM
To: dev@iotdb.apache.org <de...@iotdb.apache.org>
Subject: [DISCUSS] Make enabling "fat-jars" the default for the JDBC module?

Hi all,

so right now, I keep on having the issue, that I keep on needing to re-build IoTDB, as I forgot to enable the “jar-with-dependencies” profile when building the JDBC driver.
I would assume, that when building a native Java client, someone would possibly prefer using the session API and that JDBC is more needed when using IoTDB from a JDBC enabled client.

So, I think it would be better to have the fat-jar enabled per default.

What do you others think?

Chris

Re: [DISCUSS] Make enabling "fat-jars" the default for the JDBC module?

Posted by Wang Critas <cr...@outlook.com>.
We will have the corresponding fat-jar when the version is released. Locally, if developing JDBC seems to add jar-with-dependencies manually, it is not troublesome.
Of course, we can also consider adding fat-jar to JDBC in distribution.

Xuan

Best regards,
Xuan Wang
________________________________
From: Christofer Dutz <ch...@c-ware.de>
Sent: Tuesday, April 2, 2024 7:42:40 PM
To: dev@iotdb.apache.org <de...@iotdb.apache.org>
Subject: [DISCUSS] Make enabling "fat-jars" the default for the JDBC module?

Hi all,

so right now, I keep on having the issue, that I keep on needing to re-build IoTDB, as I forgot to enable the “jar-with-dependencies” profile when building the JDBC driver.
I would assume, that when building a native Java client, someone would possibly prefer using the session API and that JDBC is more needed when using IoTDB from a JDBC enabled client.

So, I think it would be better to have the fat-jar enabled per default.

What do you others think?

Chris

Re: [DISCUSS] Make enabling "fat-jars" the default for the JDBC module?

Posted by Trevor Hart <tr...@ope.nz>.
I would love this.



I currently use a batch file to build a fat jar (just for JDBC).



Thanks 

Trevor Hart








---- On Wed, 03 Apr 2024 00:42:40 +1300 Christofer Dutz <ch...@c-ware.de> wrote ---



Hi all, 
 
so right now, I keep on having the issue, that I keep on needing to re-build IoTDB, as I forgot to enable the “jar-with-dependencies” profile when building the JDBC driver. 
I would assume, that when building a native Java client, someone would possibly prefer using the session API and that JDBC is more needed when using IoTDB from a JDBC enabled client. 
 
So, I think it would be better to have the fat-jar enabled per default. 
 
What do you others think? 
 
Chris