To bridge the time until someone gives a more comprehensive answer, you can 
read about the Active Record Pattern 
<https://en.wikipedia.org/wiki/Active_record_pattern>. This should shed 
some light on the purpose of the "Record" classes. :-)

On Wednesday, 5 April 2017 18:18:09 UTC+2, Anto Aravinth wrote:
>
> Hi, 
>
> I'm getting started with Jooq and I did code generation for my database 
> (Postgres). I have 4 tables in my database and I expected only 4 classes 
> after code generation. However I got many classes for which I need 
> clarification:
>
> 1. DefaultCatalog, Keys, Public, Sequences, Tables classes are been 
> generated -- Guess these are tables of postgres itself, which I might not 
> required. Kindly let me know. 
> 2. I could able to see a new package called record, which has 4 classes of 
> my table name with suffix "Record". -- Again are these classes are useful 
> or even required in my codebase? Whats its usecase?
>
> And also in the code level, I did:
>
> DSLContext create = DSL.using(connection, SQLDialect.POSTGRES);
>
> There were SQLDialect for specific POSTGRES version like 9.4 etc, but what 
> version does SQLDIalect.POSTGRES refers?
>
> ` 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to