Code Generation Directory

2023-07-08 Thread Kevin Jones
generated relative to the base directory). What I'd like is to get the code generated in my current project directory. I can call .withBasedir("$projectDir") but that doesn't feel right to me. Should this "just work"? Thanks, Kevin Jones -- You received this

Re: Code Generation Directory

2023-07-10 Thread Kevin Jones
plicitly what $projectDir > means to you, which is a well known, documented variable, does seem quite > alright, no? Why wouldn't it be? > > See: > https://docs.gradle.org/current/dsl/org.gradle.api.Project.html#N14F19 > > Cheers, > Lukas > > On Sat, Jul 8, 2023 at

Using a value in a 'like'

2023-07-14 Thread Kevin Jones
I have SQL something like this SELECT * from A join B on A.Name like CONCAT ('%', B.Name, '%") Is that possible in JOOQ? Thanks, Kevin -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emai

Re: Using a value in a 'like'

2023-07-14 Thread Kevin Jones
cat(inline('%'), B.Name, inline('%'))); > > Note that it is unlikely that your database will be able to use an index > for this join, so be certain your datasets don’t grow too big here or > you’ll have bad performance. > > Alf Lervåg > > 14. jul. 2023 kl.

Re: Code Generation Directory

2023-08-03 Thread Kevin Jones
f launching the Postgres server in a Testcontainer > instance, apply DB migrations using Flyway and *then* run the jOOQ code > gen, once the DB is fully up and "ready" with all the tables/etc in place.) > > What does your use case look like more in detail, I guess you run this &

Re: Code Generation Directory

2023-08-05 Thread Kevin Jones
If I don't set the base directory when I create the task the generation seems to fail silently. The task runs OK but there's no output (I do a full search of the disk on my Mac and there's nothing). The generation takes the same time as when output is produced so it's doing something. If I leave o

NullPointerException in Generated Code

2024-01-08 Thread Kevin Jones
Hi, I'm running on Kotlin 1.9.22 with the Java 17 toolchain. I've hitting a problem after upgrading from JOO! 3.18.7 to 3.19.x Database is MariaDB Using Gradle as the build system My code has not changed but when I run my app now I'm getting this java.lang.NullPointerException: Parameter specif

Re: NullPointerException in Generated Code

2024-01-08 Thread Kevin Jones
your message. Can you show your code that calls the where() > function? > > On Mon, Jan 8, 2024 at 12:35 PM Kevin Jones > wrote: > >> Hi, >> >> I'm running on Kotlin 1.9.22 with the Java 17 toolchain. >> >> I've hitting a problem after upgradin

Re: NullPointerException in Generated Code

2024-01-08 Thread Kevin Jones
Thanks Lukas. I look forward to the release. Kevin Jones KnowledgeSpike On Mon, 8 Jan 2024 at 13:37, Lukas Eder wrote: > Ah, I get it now. This is caused by jOOQ internals calling > TableImpl.where((Condition) null) in order to transform the expression into > an InlineDerivedTable

Kotlin and theJOOQ Plugin

2024-01-16 Thread Kevin Jones
into the correct directory and everything complies but the plugin also creates it's own sourceSet at "./generated/java" is there anyway to prevent that? Thanks, Kevin Jones -- You received this message because you are subscribed to the Google Groups "jOOQ User Group"

Re: Kotlin and theJOOQ Plugin

2024-01-16 Thread Kevin Jones
:09 PM Lukas Eder wrote: > Hi Kevin, > > On Tue, Jan 16, 2024 at 11:39 AM Kevin Jones > wrote: > >> Hey Lukas, >> >> thanks for the fixes in JOOQ 3.19.2 for Kotlin, that is all working now. >> >> One issue I'm having though is with the JOOQ plugin

JOOQ Tooling

2024-01-24 Thread Kevin Jones
Hey Lukas, is there a way to take a JOOQ expression (and a dialect) and see what the generated SQL looks like without actually running the 'real' code? i.e. some tool or API I can use to decode the DSL into SQL, Thanks Kevin -- You received this message because you are subscribed to the Goog

Re: jOOQ+Liquibase+docker

2024-03-14 Thread Kevin Jones
mport org.testcontainers.containers.PostgreSQLContainer >>>>>>>>> >>>>>>>>> >>>>>>>>> On Thursday, February 22, 2024 at 10:06:49 PM UTC+9 Pasha >>>>>>>>> Finkelshtein wrote: >>>>&g

Re: jOOQ+Liquibase+docker

2024-04-05 Thread Kevin Jones
> Thank you in advance! > On Thursday 14 March 2024 at 19:49:14 UTC+1 Lukas Eder wrote: > >> Hi Kevin, >> >> Thanks for the example project. I can reproduce the issue with your >> instructions. Will look into it tomorrow. >> >> On Thu, Mar 14, 2024

Re: jOOQ+Liquibase+docker

2024-04-30 Thread Kevin Jones
2024 at 4:34 PM Kevin Jones wrote: > The 3.19.7 version of the plugin still fails, I'm guessing you haven't had > a chance to look at it yet. > > I've now reported the issue to Jetbrains as well, > > > https://youtrack.jetbrains.com/issue/IDEA-350872/JOOQ-P

SQLite group_concat(distinct...)

2024-05-08 Thread Kevin Jones
the default separator (I think). This is the Kotlin DSL, Jooq version 3.19.7 -- Kevin Jones KnowledgeSpike -- 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, s

Re: SQLite group_concat(distinct...)

2024-05-09 Thread Kevin Jones
Thanks Lucas, Kevin Jones KnowledgeSpike On Thu, 9 May 2024 at 09:21, Lukas Eder wrote: > Hi Kevin, > > Thanks for your message. The method was introduced with jOOQ 3.18: > https://github.com/jOOQ/jOOQ/issues/13986 > > As you can see from the @Support annotation on th

Proguard

2024-06-09 Thread Kevin Jones
" java.lang.IncompatibleClassChangeError: class org.jooq.FieldOrConstraint cannot extend sealed interface org.jooq.TableElement This is running a KMP application on the desktop (if that helps) Any help would be greatly appreciated! -- Kevin Jones KnowledgeSpike -- You received this message bec

Re: Proguard

2024-06-09 Thread Kevin Jones
So, in the proguard rules -keep interface org.jooq.** { ; } -keep class org.jooq.** { *; } Seems to work! Kevin On Sunday, June 9, 2024 at 12:40:36 PM UTC+1 Kevin Jones wrote: > Does anybody here have any experience using JOOQ with Proguard? > > > First I have these warnin

Re: Proguard

2024-06-10 Thread Kevin Jones
ery esoteric concept in > neither Maven, module-info.java, or even OSGi. It should be possible to at > least configure Proguard to drop all such warnings, assuming the relevant > libraries correctly handle optionality. > > On Sun, Jun 9, 2024 at 1:40 PM Kevin Jones > wrote: >

3.19.10 Release Breaks My Build

2024-06-19 Thread Kevin Jones
Hi Lucas, I'm using Gradle, which I know you love! I've just tried to update my build to 3.19.10, literally by changing the JOOQ version number from 3.19.9 to 3.19.10 and the build breaks. This is a Compose-Desktop app which is using the Kotlin Multiplatform plugin, that uses a couple of sourc

Re: 3.19.10 Release Breaks My Build

2024-06-19 Thread Kevin Jones
e output directory to a source set in >> your case? >> >> On Wed, Jun 19, 2024 at 5:06 PM Lukas Eder wrote: >> >>> Hi Kevin >>> >>> May I tempt you to kindly provide a reproducer >>> >>> Lukas >>> >>> On Wednesday, Ju

Re: 3.19.10 Release Breaks My Build

2024-06-20 Thread Kevin Jones
That should work. I’ll give it a go when I’m back at my computer, Kevin Jones KnowledgeSpike On Thu, 20 Jun 2024 at 14:36, Lukas Eder wrote: > In any case, the workaround should be to explicitly create the main source > set in your build script, yes? > > On Thursday, June 20, 2

Re: 3.19.10 Release Breaks My Build

2024-06-24 Thread Kevin Jones
Hey Lucas, Thanks for your quick response, as always, Kevin Jones KnowledgeSpike On Mon, 24 Jun 2024 at 08:20, Lukas Eder wrote: > I can confirm, this definitely works around the issue: > > sourceSets { > create("main") > } > > In the meantime, https://github