Hello Lukas Eder, Thanks for your quick response.
Please find my code generation configuration below <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <configuration xmlns="http://www.jooq.org/xsd/jooq-codegen-3.6.0.xsd"> <!-- Configure the database connection here --> <jdbc> <driver>org.postgresql.Driver</driver> <url>jdbc:postgresql://127.0.0.1:5432/ah</url> <user>postgres</user> <password>secretpass</password> </jdbc> <generator> <!-- The default code generator. You can override this one, to generate your own code style Defaults to org.jooq.util.DefaultGenerator --> <name>org.jooq.util.DefaultGenerator</name> <database> <!-- The database type. The format here is: org.util.[database].[database]Database --> <name>org.jooq.util.postgres.PostgresDatabase</name> <!-- The database schema (or in the absence of schema support, in your RDBMS this can be the owner, user, database name) to be generated --> <inputSchema>public</inputSchema> <!-- All elements that are generated from your schema (A Java regular expression. Use the pipe to separate several expressions) Watch out for case-sensitivity. Depending on your database, this might be important! --> <includes>.*</includes> <!-- All elements that are excluded from your schema (A Java regular expression. Use the pipe to separate several expressions). Excludes match before includes --> <excludes></excludes> </database> <target> <!-- The destination package of your generated classes (within the destination directory) --> <packageName>com.ah.dao</packageName> <!-- The destination directory of your generated classes --> <directory>{driver}\JOOQ_Code_Generator\src</directory> </target> </generator> </configuration> On Wednesday, June 17, 2015 at 8:08:26 PM UTC+5:30, Lukas Eder wrote: > > Hello, > > There are a few reasons why any give table produces TableRecords or > UpdatableRecords in generated output (the latter is what you want). In > order to help you find that reason, could you please also post your code > generation configuration? > > Cheers, > Lukas > > 2015-06-17 15:58 GMT+02:00 <[email protected] <javascript:>>: > >> Database used Postgres 9.4 >> >> Primary key for table declared. >> >> CREATE TABLE "User" >> ( >> "UserId" serial NOT NULL, >> "UserName" text, >> "Password" text, >> "Email" text, >> "LastChange" timestamp without time zone, >> "CreatedDate" timestamp without time zone, >> CONSTRAINT "UserIdPK" PRIMARY KEY ("UserId") >> ) >> >> Generated code does not contain methods to store, delete or refresh data. >> >> -- >> 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] <javascript:>. >> For more options, visit https://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 email to [email protected]. For more options, visit https://groups.google.com/d/optout.
