Re: transaction handling eats exceptions

2014-10-30 Thread Lukas Eder
This is now fixed on GitHub master. Thanks again for reporting! Lukas 2014-10-29 15:50 GMT+01:00 Lukas Eder lukas.e...@gmail.com: Hello, Thanks for reporting this. You're right, there should be some additional defensiveness around that rollback call - probably logging to the error logger

How can I get all the columns that are in the primary key of a table?

2014-10-30 Thread Gavriel Fleischer
Is there a way to get the list of the primary key columns? -- 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: How can I get all the columns that are in the primary key of a table?

2014-10-30 Thread Lukas Eder
Hello, If you're using the code generator, you can navigate the schema: With Java 8 GENERATED_SCHEMA .getTables() .stream() .map(t - t.getPrimaryKey()) .filter(Objects::nonNull) .forEach(System.out::println); With Java 7 for (Table? t : GENERATED_SCHEMA.getTables()) {

Re: How can I get all the columns that are in the primary key of a table?

2014-10-30 Thread Gavriel Fleischer
thanks! -- 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.