Hi Lukas,
            it happens that query or record stuffs sometimes fails cause 
static table is null.

I.e. createCtx.newRecord(MYTABLE) throw a nullpointer cause MYTABLE is null.
I'm trying to understand if this could be related to jooq or not. Do you 
have any idea that can address me?
Table.* code is executed when I call query, but tables inside are null.
Could be due something wrong in jooq context initializing?

My sensation is that is related to my spring dual datasource configuration 
but I want to be sure to exclude jooq,
also is strange to have a static variable null. I can see that is 
initialized 


The fact are the following:

   - I've got a spring 4.3 environment with jooq 3.8.5
   - I use @Transactional everywhere for a long time with no problem in 
   general
   - Issues start when I use a second database connection+transaction 
   manager in spring. Executing same code
      - it never happens in junit code (wrapped in transactional)
      - it happens only when run full code inside jetty container
      - The difference could be about transaction wrapping I suspect (from 
   junit and runtime)
   - two jooq context dslGeneral and dslExternal are right addresses to 
   connection pool and initialized. The only doubt is about
   using right TM cause I've got a mix of queries in some cases on two db, 
   but this at least should be address to run a query with no TM
   not to that issue, I suppose..

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to