Re: [go-nuts] Golang ORM Performances

2024-12-21 Thread Samir Faci
This might be a tangent from the thread, but while I really liked SQLC, I found that doing anything remotely dynamic became too cumbersome. I started out with SQLC and had SQLX as a fallback. As soon as you want to have optional filters you end up with a hideous query you have to contend with. F

[pmacct-discussion] Netflow Iframe Index

2020-10-28 Thread Samir Faci
tart": "1574664912.00", "timestamp_end": "1574665005.00", "packets": 700, "bytes": 39200, "writer_id": "default_amqp/18"} For the fields i'm in my config I'm using these so far: aggregate: pe

Re: Using Environment Variables

2020-04-18 Thread Samir Faci
Scratch that, pulling the config into the maven file works, but it seems the same behavior doesn't work in the config file. On Sat, Apr 18, 2020 at 8:06 PM Samir Faci wrote: > Hello all, > > I pulled most of my DB config for the jooq generator into an xml file. > > I

Using Environment Variables

2020-04-18 Thread Samir Faci
both ${env.POSTGRES_PASSWORD} and ${POSTGRES_PASSWORD} is this feasible with Jooq? Or do I need to do something in maven itself. I know that ${env.VAR_NAME} works in maven, do I need to bring the XML data back into the pom.xml for this pattern to work? -- Thank you Samir Faci https://keybase.io

Re: Go equivalent in Jooq

2020-02-29 Thread Samir Faci
ature project I suppose. Thanks for sharing. -- Samir Faci On Fri, Feb 28, 2020 at 5:50 PM wrote: > I introduced former colleagues to jOOQ, who liked it so much that they > wrote a Go version when they started a company but chose Go. > https://github.com/lumina-tech/gOOQ/tree/master/e

Go equivalent in Jooq

2020-02-26 Thread Samir Faci
#x27;d chime in and see if anyone had any more fun tools and to document the availability of such tools for anyone who loves Jooq but is coding in Go. -- Thank you Samir Faci https://keybase.io/csgeek -- You received this message because you are subscribed to the Google Groups "jOOQ U

Re: Creating a custom generator for builder classes

2019-11-02 Thread Samir Faci
I'm not sure if this is helpful but I've Incorporated lombok into our code base at work that had similar functionality to immutable lib. The focus is removing boiler plate rather than making pojos immutable but might be useful to your custom code generator. Just a thought. On Wed, Oct 23, 20

Re: Time Zone Casting Postgres

2019-09-30 Thread Samir Faci
Haha, nice much easier. On Sun, Sep 29, 2019, 23:53 Lukas Eder wrote: > Hi Samir, > > Use DSL.currentDate().minus(1) > > Thanks, > Lukas > > On Fri, Sep 27, 2019 at 8:11 PM Samir Faci wrote: > >> Somewhat of a follow up to a dated post. >> >> I

Re: Time Zone Casting Postgres

2019-09-27 Thread Samir Faci
_date::date = current_date - interval '1 days' On Thu, May 31, 2018 at 12:49 AM Lukas Eder wrote: > Hi Samir, > > jOOQ currently doesn't support this syntax, I'm afraid, so using "plain > SQL templating" is the best you can do. > > Thanks, > L

Re: jOOQ3.12.1 Deprecated API Issue

2019-09-20 Thread Samir Faci
Ooh that's awesome. I missed the changelog on this release. I'm glad we finally have Jsonb support. On Wed, Sep 18, 2019, 08:34 Debapriya Patra wrote: > Thank You Lukas !! It worked for me > > On Wednesday, September 18, 2019 at 8:01:11 AM UTC-7, Lukas Eder wrote: >> >> Mainly, replace java.la

Re: [REQUEST FOR FEEDBACK]: What small but incredibly useful utility are you missing the most in jOOQ?

2019-08-19 Thread Samir Faci
to arrays, user defined types, > custom data type bindings, etc. So indeed, the feature turned out to cause > much more trouble than it added value, at least from a maintenance > perspective. > > Thanks, > Lukas > > On Wed, Jul 31, 2019 at 11:04 PM Samir Faci wrote: > >>

Re: [REQUEST FOR FEEDBACK]: What small but incredibly useful utility are you missing the most in jOOQ?

2019-07-31 Thread Samir Faci
ableNameRecord --> TableName (pojo) and back. >> >> It varies on my use case but I tend to usually fetchInto( . class) and >> most of the the class passed in is either the record or pojo that was >> generated by jooq. >> >> -- >> Samir Faci >> >> &

Mock Test issue...

2019-01-30 Thread Samir Faci
was created in the first code snippet. Any ideas? I'm using Jooq 3.10.6 with Postgres Syntax (Though it's mocked so in theory should not matter too much). Any thoughts? -- Thank you Samir Faci https://keybase.io/csgeek -- You received this message because you are subscribed to the Googl

Re: Postgres Syntax Support, Not Similar

2018-09-28 Thread Samir Faci
a.lang.String- > > Thanks, > Lukas > > On Tue, Sep 25, 2018 at 8:59 PM Samir Faci wrote: > >> I have a use case where I need to use something along these lines. >> >> >> lower(USERS.USER_NAME) NOT SIMILAR TO '%(pattern1|pattern2|pattern3)%' >&

Postgres Syntax Support, Not Similar

2018-09-25 Thread Samir Faci
;%(pattern1|pattern2|pattern3)%'"); I was wondering if there was a native supported Jooq API I should be invoking instead? -- Thank you Samir Faci https://keybase.io/csgeek -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group.

Re: Postgres String / Array function bug

2018-09-11 Thread Samir Faci
I just wanted to confirm that the fix above worked if anyone else runs into a similar use case. On Mon, Sep 10, 2018 at 10:14 AM Samir Faci wrote: > Thanks Lukas, I'll give that a go. > > -- > Samir Faci > > On Mon, Sep 10, 2018 at 4:18 AM Lukas Eder wrote: > >&

Re: Postgres String / Array function bug

2018-09-10 Thread Samir Faci
Thanks Lukas, I'll give that a go. -- Samir Faci On Mon, Sep 10, 2018 at 4:18 AM Lukas Eder wrote: > My bad, the error message is actually quite clear about what was the > problem: > > ERROR: function array_position(text[], character varying) does not exist >> Hint:

Re: Postgres String / Array function bug

2018-09-07 Thread Samir Faci
I thought I'd poke this again to see if there's any thoughts or anything else I can provide. On Mon, Sep 3, 2018 at 4:52 PM Samir Faci wrote: > So I wanted to relay this on behalf of a coworker... figured i'd at least > push it up to upstream and see if someone else has a

Postgres String / Array function bug

2018-09-03 Thread Samir Faci
RENCES ui.principal(id) ON DELETE SET NULL "advertiser_default_setting_modified_by_id_fkey" FOREIGN KEY (modified_by_id) REFERENCES ui.principal(id) ON DELETE SET NULL "advertiser_default_setting_provider_id_fkey" FOREIGN KEY (provider_id) REFERENCES ui.provider(id) ON

Re: Jooq Postgres JSON and Null values...

2018-09-03 Thread Samir Faci
t not even be applied to the insert statement. I can only be really > sure if I have an MCVE: > https://stackoverflow.com/help/mcve > I can try to provide an MVCE but that might be difficult since so many of the artifacts are internal. I'll see what I can figure out that I can sh

Re: How to prevent addtional SELECT after INSERT to retrieve auto-assigned value of primary key with AUTO_INCREMENT (MySQL)?

2018-08-30 Thread Samir Faci
o the Google Groups > "jOOQ User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jooq-user+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Thank you Samir Faci https:/

Jooq Postgres JSON and Null values...

2018-08-30 Thread Samir Faci
m still seeing '{}' being stored rather then nulls. What am I missing here? -- Thank you Samir Faci https://keybase.io/csgeek -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receivin

Time Zone Casting Postgres

2018-05-29 Thread Samir Faci
source_time_zone) :: DATE = (current_date + (-(1) || ' day') :: interval)) ​ Is there an API i can invoke that wouldn't require me to use a field("") notation? also the syntax looks a bit goofy though I think it's functionally equivalent. -- Thank you Samir Fac

Re: Split Configuration Schema Generation

2018-05-17 Thread Samir Faci
ging edge-cases that people might have. > > Hope this helps, > Lukas > > 2018-05-09 21:03 GMT+02:00 Samir Faci : > >> I have a use case where I'd like to use 90% of the same configuration to >> generate two different libraries. >> >> So, I'm u

Split Configuration Schema Generation

2018-05-09 Thread Samir Faci
at I really want to avoid maintaining two mirror version of each one. Is there a recommended pattern to use that allows me to do this without having to duplicate data? -- Thank you Samir Faci https://keybase.io/csgeek -- You received this message because you are subscribed to the Google Groups &qu

Re: Jooq Configuration Bug? JavaTimeTypes

2018-04-03 Thread Samir Faci
expectations was that any class in java.time would not be used, if that's not the case we should document that somewhere. Appreciate the help either ways. Thank you much. That unblocked me. > > I hope this helps, > Lukas > > 2018-04-02 22:54 GMT+02:00 Samir Faci : >

Re: Jooq Configuration Bug? JavaTimeTypes

2018-04-02 Thread Samir Faci
de generate any objects that imports java.time which should include the OffsetDateTime. I'm trying to understand if the JavaTimeType is deprecated or if there is only a certain subset of classes that are supported. On Mon, Apr 2, 2018 at 10:18 AM, Samir Faci wrote: > I upgrade our internal

Jooq Configuration Bug? JavaTimeTypes

2018-04-02 Thread Samir Faci
true true true true *false * ​ My understand was that *javaTimeTypes *should turn off any java 8 date times which includes OffsetDateTime. -- Thank you Samir Faci https://keybase.io/csgee

Suggestion for a better Dev Pattern

2018-03-18 Thread Samir Faci
gs because another developer is ready to ship his / her feature and accidentally pulled some code on a completely different code path that suddenly breaks because of that. Any thoughts / suggestions? -- Samir Faci -- You received this message because you are subscribed to the Google Groups "

Re: Generation Issue

2018-03-12 Thread Samir Faci
: > Thanks for your patience. I've tried this with a more recent version of > jOOQ but couldn't reproduce it. I vaguely recall having fixed something > along these lines. Have you tried upgrading to jOOQ 3.10.5? > > 2018-03-01 19:52 GMT+01:00 Samir Faci : > >> Here

Re: Generation Issue

2018-03-01 Thread Samir Faci
ng programmatic or configurative (as you did) generator > strategies is the way forward to avoid these types of collisions. > > Thanks, > Lukas > > 2018-02-28 17:50 GMT+01:00 Samir Faci : > >> jooq: 3.9.0 >> >> when I try to generate a table, which is named tag that&

Generation Issue

2018-02-28 Thread Samir Faci
 tag.tag TAG_TABLE ​ Is there a better / recommended way of dealing with these types of collisions? -- Thank you Samir Faci https://keybase.io/csgeek -- You received

Re: Best practices for using jOOQ to generate entities

2018-02-25 Thread Samir Faci
delta. get it code review by DBA. get it merged. 2. Pickup released library updated version in project implemented changes, write unit test 3. get SQL deployed to production and service changes. No pattern is perfect, but this works for us. Hope this was helpful. -- Samir Faci On Sat, Feb 24

Postgres Filter Query in Jooq?

2018-01-12 Thread Samir Faci
native SQL ? -- Thank you Samir Faci https://keybase.io/csgeek -- 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+unsubscr...@googlegroups.c

Re: BLOB / CLOB support

2017-09-17 Thread Samir Faci
How do you intend to store the multi-part document in your database? At the end of the day Jooq can only do what the underlying database supports, so what DB are you using and what does yours schema look like? -- Samir Faci On Sat, Sep 16, 2017 at 1:52 PM, Lukas Eder wrote: > Hi Mit

Re: JOOQ help

2017-09-17 Thread Samir Faci
great time savers. Just my 2 cents. -- Samir Faci On Fri, Sep 15, 2017 at 6:06 AM, Lukas Eder wrote: > Hi Ezhil, > > Thank you very much for your message. The number of files jOOQ generates > is just right - eventually, you will profit from all of them! > > If you're sure y

Re: code-gen :: skip views?

2017-08-03 Thread Samir Faci
e for in our DB, so instead we explicitly list every table we want to auto-gen. -- Samir Faci On Thu, Aug 3, 2017 at 9:19 AM, wrote: > Hi, > > I'm looking for an advice on skipping views during code gen. I believe ATM > JOOQ cannot distinguish between regular tables and vie

Re: Odd Behavior with Jooq Routines...

2017-06-23 Thread Samir Faci
y > forward that works for all types. > > If you feel this behaviour impairs your production performance, etc., feel > free to open an issue on GitHub with some details and I'll be more than > happy to revisit the serialisation for some "more trivial" array types,

Odd Behavior with Jooq Routines...

2017-06-22 Thread Samir Faci
lect ui.migrate_advertisers(3303, '{11533,11545,11548,11553,4225,11558}'); -- Thank you Samir Faci https://keybase.io/csgeek -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receivin

Re: Maven Jooq Generator config Feature request

2017-05-25 Thread Samir Faci
8527/521799 > > Would be interesting to know what the problem is, seems to be Maven related > > 2017-05-25 0:11 GMT+02:00 Samir Faci : > >> The character the caused issues is: 0xC2A0 >> >> I'm not sure it needs to be handled specifically, but that was the >>

Re: Maven Jooq Generator config Feature request

2017-05-24 Thread Samir Faci
The character the caused issues is: 0xC2A0 I'm not sure it needs to be handled specifically, but that was the culprit, my fix was to replace with 0x20 (ie space) and everything worked as expected. On Wed, May 24, 2017 at 2:27 PM, Samir Faci wrote: > Ahh, good to know. > >

Re: Maven Jooq Generator config Feature request

2017-05-24 Thread Samir Faci
27;t documented in the manual is another question. I've > registered an issue to fix this: > https://github.com/jOOQ/jOOQ/issues/6273 > > Btw: What was the non-printable character issue? Something we could fix, > too? > > Hope this helps, > Lukas > > 2017-05-24 1

Re: Jooq Postgres Upser Behavior Bug?

2017-05-24 Thread Samir Faci
Inline.. On Tue, May 9, 2017 at 1:58 AM, Lukas Eder wrote: > Hi Samir, > > I'll comment inline > > 2017-05-09 4:57 GMT+02:00 Samir Faci : > >> So I ran into this issue and was wondering if this was an implementation >> over sight of it's intended. &g

Maven Jooq Generator config Feature request

2017-05-24 Thread Samir Faci
by jooq's maintainers, but it would be a nice feature if we could have maven able to generate a config.xml that you can feed to. org.jooq.util.GenerationTool ./config.xml -- Thank you Samir Faci https://keybase.io/csgeek -- You received this message because you are subscribed to th

Jooq Postgres Upser Behavior Bug?

2017-05-08 Thread Samir Faci
.fetchOneInto(ApiSettingParameterRecord.class); ​ If this was a normal insert I could simply do a .returning(id); but that's not supported with upserts, that's not feasible. Is the pattern I was trying to use unsupported? -- Thank you Samir Faci https://keybase.io/csgeek -- You received this mess

Re: A maven tip to speed up build time for jOOQ code gen

2017-05-08 Thread Samir Faci
he flyway >>> plugin and migration scripts and the jooq code generator plugin. No other >>> code. Then other modules depend on the jooq module. This works pretty well. >>> >>> -- >>> You received this message because you are subscribed to the Google >&

Re: Dynamic filtering

2017-04-08 Thread Samir Faci
uot; group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jooq-user+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Thank you Samir Faci https://keybase.io/csgeek -- You received this message bec

Re: Regarding Code Generation In Jooq.

2017-04-05 Thread Samir Faci
; ` Anto. > > > -- > 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+unsubscr...@googlegroups.com. > For more options, vi

Re: I can't seem to find any example of how to use Existing pojos.....

2017-03-27 Thread Samir Faci
arted with but I don't think I was ever on 3.1 might be a legacy issue? -- Samir Faci On Mon, Mar 27, 2017 at 4:41 PM, Rob Sargent wrote: > Are there any actual examples of RecordMapper working with fetchMap() on > results of joins? > I can map a direct select to a string (name

Re: JOOQ SQL templating as myBatis replacement

2017-03-22 Thread Samir Faci
it in code and it's good to know, but I wouldn't know where to look that up if the doc. Just my 2 cents. -- Samir Faci On Tue, Mar 21, 2017 at 9:11 AM, Lukas Eder wrote: > Hi Jerzy, > > Indeed, the Template interface was dropped, as we're not yet sure how to >

Re: [ REQUEST FOR FEEDBACK ] DAO Deprecation

2017-03-21 Thread Samir Faci
inline On Tue, Mar 21, 2017 at 9:13 AM, Lukas Eder wrote: > > > 2017-03-21 15:01 GMT+01:00 Samir Faci : > >> I think the Record type is a bit too complex for a simple model, which is >> why I prefer the Pojo. I think I've tried using a record in the past a

Re: Food for thought... GraphQL

2017-03-21 Thread Samir Faci
ly tied to the DB model, I was thinking of using Jooq to help generate some of this code. I'll look at the jooq-meta API. I was mostly looking for feedback and suggestion and making sure I wasn't going on a completely different tangent that Jooq was never designed for. -- Samir Faci

Re: [ REQUEST FOR FEEDBACK ] DAO Deprecation

2017-03-21 Thread Samir Faci
> Interesting, it makes sense of course. On the other hand, would a Record > as a model returned by a REST service be sufficient? Or does the fact that > it is still "attached" bother you? > > > 2017-03-21 14:39 GMT+01:00 Samir Faci : > >> I tend to use the auto-

Food for thought... GraphQL

2017-03-21 Thread Samir Faci
uires the user to fill in the details. Any thoughts on using Jooq in such patterns not limited to GraphQL. I'm sure you can replace GraphQL with your favorite new technology to do something similar. The other suggestions that was mentioned was Java Poet though I haven't looked too

Re: [ REQUEST FOR FEEDBACK ] DAO Deprecation

2017-03-21 Thread Samir Faci
, Mar 21, 2017 at 6:33 AM, Lukas Eder wrote: > Thanks a lot for the feedback, Samir > > 2017-03-21 14:20 GMT+01:00 Samir Faci : > >> I looked at pulling DAO into our auto-generation code and never really >> found much use to them. Usually the way they fetch a record isn&

Re: [ REQUEST FOR FEEDBACK ] DAO Deprecation

2017-03-21 Thread Samir Faci
os are all I've used. +1 on dropping support for it. I don't object to DAO/Repository design pattern but I find that I usually need to write customized code rather then relying on auto-generated code for most of my use cases. -- Samir Faci On Mon, Mar 20, 2017 at 9:47 AM, Lukas Eder

Re: YEAR an MONTH function for sum per month.

2016-12-23 Thread Samir Faci
.orderBy(DSL.year(TABLE.DATE), > DSL.month(TABLE.DATE)) > .fetch(); > > > Am Freitag, 23. Dezember 2016 04:58:19 UTC+1 schrieb Samir Faci: >> >> I think what you're looking for is: >> DSL.year(), DSL.month() and DSL.sum() respective

Re: [ANNOUNCEMENT] jOOQ 3.9.0 Released

2016-12-23 Thread Samir Faci
ptures the fact that the field is defined with timezone support. If this isn't supported yet then that's fine. I'll revisit this once the feature is fully implemented. -- Samir Faci On Fri, Dec 23, 2016 at 2:23 PM, wrote: > The vararg enhancement results in a warn

Re: [ANNOUNCEMENT] jOOQ 3.9.0 Released

2016-12-23 Thread Samir Faci
Inline On Fri, Dec 23, 2016 at 11:11 AM, Lukas Eder wrote: > Hi Samir, > > Thanks for your quick feedback. I'm happy to hear that you're getting > value out of this release already :) > > I will comment inline. > > 2016-12-23 17:46 GMT+01:00 Samir Faci : >

Re: [ANNOUNCEMENT] jOOQ 3.9.0 Released

2016-12-23 Thread Samir Faci
(Field[]). I believe there's an issue <https://github.com/jOOQ/jOOQ/pull/5493> already open slated for 3.10.0. -- Samir Faci On Fri, Dec 23, 2016 at 8:21 AM, Lukas Eder wrote: > Version 3.9.0 - December 23, 2016 > =

Re: YEAR an MONTH function for sum per month.

2016-12-22 Thread Samir Faci
I think what you're looking for is: DSL.year(), DSL.month() and DSL.sum() respectively. -- Samir Faci On Thu, Dec 22, 2016 at 4:48 PM, Christian Master wrote: > Is there a YEAR function in JOOQ? > > I need to sum total per month. In SQL i write: > > SELECT YEAR

Jooq Postgres Complex Upserts

2016-12-22 Thread Samir Faci
e supported in jOOQ 3.10 ( https://github.com/jOOQ/jOOQ/issues/5637) So, I guess, for this particular case that makes heavy use of PostgreSQL vendor-specific features, jOOQ is currently too limited... END Luka's Response --- Hope this helps anyone else who ran into a similar use case. --

Re: 3.9 ETA?

2016-12-20 Thread Samir Faci
haha awesome. That's a great holiday present. Can't wait. (: On Tue, Dec 20, 2016 at 12:23 AM, Lukas Eder wrote: > Samir, > > I'll happen this week! :) > > Cheers, > Lukas > > 2016-12-19 22:48 GMT+01:00 Samir Faci : > >> I just wanted to fol

Re: 3.9 ETA?

2016-12-19 Thread Samir Faci
groups.google.com/d/optout. >>> >> >> ᐧ >> >> -- >> 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 >>

Re: [REQUEST FOR FEEDBACK]: What small but incredibly useful utility are you missing the most in jOOQ?

2016-12-07 Thread Samir Faci
e(), *but >> I want to use the MYSQL server time for this. The following don't work >> >>- DSL.val("NOW()") -> returns a string, type mismatch >>- DSL.field("NOW()", DateTime.class) -> returns a Field >> which isn't compat

Re: Batch Insert / Updates with Upset

2016-11-03 Thread Samir Faci
On Thu, Nov 3, 2016 at 5:35 AM, Lukas Eder wrote: > > > 2016-11-02 4:29 GMT+01:00 Samir Faci : > >> >> Yup. That's what I was using. The issue I was running into was that the >> PKey was not useful, so I needed to specify a unique constraint/index. It >

Re: Batch Insert / Updates with Upset

2016-11-01 Thread Samir Faci
Inline... On Tue, Nov 1, 2016 at 3:18 PM, Lukas Eder wrote: > Hi Samir, > > 2016-10-31 20:11 GMT+01:00 Samir Faci : > >> Actually, the the second approach does work, though I was running into a >> different issue because the "primary key" in my case is serial

Re: Batch Insert / Updates with Upset

2016-10-31 Thread Samir Faci
elieve any valid Index or constrain can be applied (Postgres). Can we add a method that takes a .onConflict(Index_name or constraint_name) ? I'm assuming jooq can auto-gen indexes as well? Thanks for the issue listed, I'll watch that and can't wait to see it get resolved. -- Sam

Re: [ANNOUNCEMENT] Version 3.8.5 released with various fixes

2016-10-25 Thread Samir Faci
that snuck into a build inadvertently. (Granted we should be testing this but I find select * to be safer). Is there a way to prevent Jooq from exploding * to the list of all known fields? -- Samir Faci On Mon, Oct 24, 2016 at 10:38 PM, Lukas Eder wrote: > Probably jOOQ 1.0 :) > (be

Re: [ANNOUNCEMENT] Version 3.8.5 released with various fixes

2016-10-24 Thread Samir Faci
I'm curious when was that feature introduced? Turning an empty list into a select * I mean. On Oct 23, 2016 8:10 AM, "Lukas Eder" wrote: > Hi Denis, > > The issue title might be a bit incomplete. It should have stated "mention > in the Javadoc". You can see the change here: > http://www.jooq.org

Override Primary Key

2016-10-24 Thread Samir Faci
pipe delimited like the includes/excludes? -- Thank you Samir Faci https://keybase.io/csgeek -- 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 joo

Batch Insert / Updates with Upset

2016-10-19 Thread Samir Faci
attern seems to work with Jooq 3.8.1 (Or I'm passing in the wrong data type). Is there a supported pattern that does work? Or can upserts not be done in conjunction with batch operations? -- Thank you Samir Faci https://keybase.io/csgeek -- You received this message because you are su

Re: Include external file in XML used by code generation process

2016-09-07 Thread Samir Faci
gt; Thanks for your answer. > > I read those links some days ago however I'm using SBT to deploy my > project (I'm using Play 2 framework). > > Thanks. > > On Wednesday, September 7, 2016 at 4:30:57 AM UTC+1, Samir Faci wrote: >> >> How are you invokin

Re: Include external file in XML used by code generation process

2016-09-06 Thread Samir Faci
stop receiving emails from it, send an > email to jooq-user+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Thank you Samir Faci https://keybase.io/csgeek -- You received this message because you are subscribed to the Google Groups &quo

Re: Interface Code Generation

2016-07-20 Thread Samir Faci
Okay, fair enough. Thanks for the explanation. -- Samir Faci On Wed, Jul 20, 2016 at 8:54 AM, Lukas Eder wrote: > Hi Samir, > > While it would be possible to use NOT NULL constraint information from the > database in order to generate primitive types where applicable, this will &

Interface Code Generation

2016-07-19 Thread Samir Faci
olean. Is there an option to allow such behavior? -- Thank you Samir Faci https://keybase.io/csgeek -- 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 emai

Re: [REQUEST FOR FEEDBACK]: What small but incredibly useful utility are you missing the most in jOOQ?

2016-07-14 Thread Samir Faci
ional features are certainly possible, > but need more discussion, I think. > > Best Regards, > Lukas > > > 2016-07-07 10:35 GMT+02:00 Lukas Eder : > >> Hi Samir, >> >> 2016-07-07 4:50 GMT+02:00 Samir Faci : >> >>> 1. One conversion that would be u

Re: create as select

2016-07-06 Thread Samir Faci
receiving emails from it, send an > email to jooq-user+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Thank you Samir Faci https://keybase.io/csgeek -- You received this message because you are subscribed to the Google Groups "jOO

Re: [REQUEST FOR FEEDBACK]: What small but incredibly useful utility are you missing the most in jOOQ?

2016-07-06 Thread Samir Faci
by jooq. -- Samir Faci On Wed, Jul 6, 2016 at 5:16 AM, Lukas Eder wrote: > Dear group, > > Part of jOOQ's success is its incredible amount of convenience methods > that help reduce the boiler plate code at your side. We do this with > massive overloading of API, for insta

Re: hash table storage for unit testing

2016-07-05 Thread Samir Faci
This is more of an integration test then unit test, then again if you're writing to a database server it's an integration test in my book. When we tried to execute our tests we also ran into incompatibility issues between h2 and paths which is why we ended up using a postgres docker contained inst

Jooq Postgres 9.5+ Upsert Usage

2016-06-28 Thread Samir Faci
) * .onDuplicateKeyUpdate()* .set(DSL.field("last_modified"), Timestamp.from(Instant.now( It doesn't seem like either approach is bug free but I was wondering if there was a right way of doing upserts and what state it's in. ie. is it functional? -- Thank you Samir Fac

Re: RecordMapper question

2016-06-08 Thread Samir Faci
ormation from data type A to data type B. -- Samir Faci On Wed, Jun 8, 2016 at 10:19 AM, wrote: > > Hi, > > This all seems a lot simpler when I started but now that I have wade into > the deep end I think I maybe incorrect in some assumptions. > > I have a List (CSVItem

Re: Slow Build times Part Deux

2016-06-08 Thread Samir Faci
e code and seeing if a certain code re-addition leads to an excessive > increase of compile time. > > Of course, I'd be more than willing to do this analysis also on my side - > but you're probably not too keen on sharing your source code, I suspect? > > 2016-06-08 7:2

Slow Build times Part Deux

2016-06-07 Thread Samir Faci
here's anything I can provide to help you iron out where the issue might be at. I'd love to get the build time down to a comparable one to the 3.5.4 one -- Thank you Samir Faci -- You received this message because you are subscribed to the Google Groups "jOOQ User Group&qu

Re: Example usage for transactionAsync/transactionResultAsync

2016-06-02 Thread Samir Faci
;s TransactionalEventListener / >> TransactionPhase don't support any "BEFORE BEGIN" or "AFTER BEGIN" phases. >> You might be able to work around this by implementing your >> own PlatformTransactionManager, delegating to your existing one. You'd be >>

Re: SQL Templating in JOOQ

2016-06-01 Thread Samir Faci
c/3.8/manual/sql-execution/fetching/pojos-with-recordmapper-provider/ But if that's not enough I believe what Lukas was referring to was: https://blog.jooq.org/2013/08/06/use-modelmapper-and-jooq-to-regain-control-of-your-domain-model/ Hope this helps. -- Samir Faci On Tue, May 31, 2016

Re: Example usage for transactionAsync/transactionResultAsync

2016-05-27 Thread Samir Faci
u posted really caught my eye cause it seems to directly be relevant to my use case. -- Samir Faci On Fri, May 27, 2016 at 12:00 AM, Lukas Eder wrote: > Thanks, Samir > > 2016-05-26 23:35 GMT+02:00 Samir Faci : > >> I also have a use case where I need to inject some additi

Re: Best way to figure out if a table is existing

2016-05-26 Thread Samir Faci
't on all DB... > > cheers > joseph > > -- > 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+unsubscr...@google

Re: Example usage for transactionAsync/transactionResultAsync

2016-05-26 Thread Samir Faci
}; >> >> return >> selectCompletionStage.thenCompose(mutateAndPersistAsync); >> }); >> >> >> But that still leaves us with CompletionStage>. Am >> I missing something? Any and all feedback appreciated. >> >

Re: Peculiar Behavior with AutoGenerated Code

2016-05-14 Thread Samir Faci
atic: >> http://www.jooq.org/doc/latest/manual/code-generation/codegen-generatorstrategy >> - Configurative: >> http://www.jooq.org/doc/latest/manual/code-generation/codegen-matcherstrategy >> >> Hope this helps, >> Lukas >> >> 2016-05-13 1:34 GMT+02:00 Sam

Peculiar Behavior with AutoGenerated Code

2016-05-12 Thread Samir Faci
Thank you Samir Faci -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Re: Jooq 3.6+ slow build times

2016-05-04 Thread Samir Faci
e an equivalent effort of switching to another framework. I can't wait for this fix to come out. We can stop dual releasing artifacts as we migrated over to Jooq +3.6 and simply update the version as it should be. -- Samir Faci On Wed, May 4, 2016 at 6:10 AM, Lukas Eder wrote: > I ha

Jooq 3.6+ slow build times

2016-05-03 Thread Samir Faci
d noticing a horrible build time. It would be nice to at least update the javadoc to mark it as deprecated and maybe redirect the user to a better pattern to use pending an Oracle update? Any thoughts from the Jooq developers / community. -- Samir Faci PS. I saw Jooq 3.8 was released, I haven

Re: Feasibility of Using Code Generation one time then keeping up to date manually.

2016-03-24 Thread Samir Faci
3. Instead of thinking in terms of "versions", you could think in >terms of "features", which are turned on/off. That way, each feature by >itself would need to check if some database column is available or not, >etc. This approach is probably only useful i

Re: Feasibility of Using Code Generation one time then keeping up to date manually.

2016-03-23 Thread Samir Faci
ut. >>> >> >> > > -- > 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+unsubscr...@googlegroups.com. > For more

Re: [REQUEST FOR FEEDBACK] New jOOQ code generator: What do you want it to be?

2015-12-29 Thread Samir Faci
mmutable POJOs. > 5.7. "Views" expressed in jOOQ (i.e. SQL strings that should generate as > org.jooq.Table) > > In fact, I believe that the core code generation functionality should be > built upon such a plugin system, rather than providing tons of flags to > turn on/

Re: Dependency Issues?

2015-12-07 Thread Samir Faci
an install) *and* in your IDE? > > Best, > Lukas > > 2015-12-06 20:59 GMT+01:00 Samir Faci : > >> I'm experiencing a very odd behavior when trying to upgrade the jooq >> version in a small project, and I was wondering if anyone could provide any >> insigh

Re: Dependency Issues?

2015-12-07 Thread Samir Faci
, IDE version, > Java version, pom.xml config)? And what part of building takes so long > (e.g. is code generation involved)? Does this happen both when building on > the command line (mvn clean install) *and* in your IDE? > > Best, > Lukas > > 2015-12-06 20:59 GMT+01:00 Samir

Dependency Issues?

2015-12-06 Thread Samir Faci
7;m making is the version number on jooq, so I have a feeling something between what my project is using (lib wise), JVM version and Jooq itself is causing this, but I'd love some ideas on how to resolve this. -- Thank you Samir Faci -- You received this message because you are subscribe

Re: [Ubuntu-US-CA] New Ubuntu User in California

2015-08-02 Thread Samir Faci
g of > theirs last month, good people :) > > -- > Elizabeth Krumbach Joseph || Lyz || pleia2 > > -- > Ubuntu-us-ca mailing list > Ubuntu-us-ca@lists.ubuntu.com > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-ca > -

  1   2   3   >