RE: Groovy -jar

2025-02-24 Thread steve.etchelecu
Yea I thought #3 might the case… and #2 is required in order for #3 to be achievable. Since I’ve been around a while 😊 I (used to) prioritize #1 but I’ve learned from my younger cohorts 😊 that their current thinking tends to be more along the lines of “storage is infinite and not worth the time

RE: Groovy -jar

2025-02-23 Thread steve.etchelecu
Per, Out of curiosity why wouldn’t you want to include groovy jars in every jar bundle. Is it the maintenance of groovy security patches? It isn’t the storage is it? From: o...@ocs.cz Sent: Sunday, February 23, 2025 11:27 AM To: users@groovy.apache.org Subject: Re: Groovy -jar Per

RE: Groovy -jar

2025-02-22 Thread steve.etchelecu
Hi Per, I have had (very) good luck with a slightly different approach. Rather than 'groovy -jar myapp.jar' I went with 'java -jar myapp.jar'. And this had another, somewhat unexpected, benefit. Building my app with shadowJar (thanks to the help I receiv

RE: Interesting problem only on Mac!

2024-06-24 Thread steve.etchelecu
I have run into this as well and I believe this web page explains what is going on - https://docs.oracle.com/en/java/javase/17/migrate/migrating-jdk-8-later-jdk-releases.html#GUID-7BB28E4D-99B3-4078-BDC4-FC24180CE82B It’s an Oracle Java web page but I believe it applies to all Java implement

RE: SQL enhancement request (GROOVY-11342)

2024-03-29 Thread steve.etchelecu
Ah, ok, so I wasn’t missing anything, it would just have to be added to the language. I’m just super happy to be getting the metadata with the sql execute so … :) -Steve From: MG Sent: Friday, March 29, 2024 8:18 PM To: users@groovy.apache.org; steve.etchel...@gmail.com Subject: R

RE: SQL enhancement request (GROOVY-11342)

2024-03-29 Thread steve.etchelecu
Paul, I was able to download the Groovy snapshot and get it to work. The new metadata support in execute() looks like it is working smoothly for me. Nice learning day for me! Do you have any thoughts around when this enhancement might come out in a release? Thanks, Steve -Original Mess

RE: SQL enhancement request (GROOVY-11342)

2024-03-29 Thread steve.etchelecu
Thanks Paul! I thought that eachrow iteration issue had something to do with eachRow() possibly not returning a List but when I saw it returned something that looked like Proxy$10 I got lost as I didn't know how to understand that. Normally I would try to look up the definition of the object,

RE: SQL enhancement request (GROOVY-11342)

2024-03-28 Thread steve.etchelecu
Awesome, super exciting to see progress so quickly, thanks! It's odd though, using your updated code with hsqldb I tried running the eachrow test and it still fails to iterate over the columns correctly for me - weird. I noticed that you copied the code from exampleEachRow() to exampleExecute(

RE: SQL enhancement request (GROOVY-11342)

2024-03-27 Thread steve.etchelecu
Paul, I created that example (attached) attempting to illustrate my situation with the various (3 anyway) Sql methods. Hopefully my code makes some sense, happy to answer any questions that it raises. :) Running the example with 'execute' which does not provide metadata but does handle SQL th

RE: SQL enhancement request

2024-03-25 Thread steve.etchelecu
Thanks!! Yes, I agree, that sounds like the easiest way to go and would definitely resolve the challenge I'm facing. I'm (still) working on putting together an example. It turned out to be a more challenging learning experience than I thought! 😃 But it's really good for me - I'm going to get

RE: SQL enhancement request

2024-03-22 Thread steve.etchelecu
Thanks Jörg, Yes, that's one of the approaches I tried but the execute() method doesn't appear to provide metadata (column names, types, etc) and my application needs that information. That's why my request was to either - add the "hasResults" argument to the rows() and eachRow() methods

SQL enhancement request

2024-03-21 Thread steve.etchelecu
Groovy team, It is my understanding (which can always be improved!) that Groovy SQL supports about 3 “families” of interaction methods – execute() and its variants, rows() and eachRow() for submitting SQL statements and processing any results generated. Each of them has a variety of sign