I'm sorry, I didn't understand that OP was planning on writing swing
objects as part of code generation. In this day and age I would be
(slightly) more tempted to generate web-ready components, but I stand by
my original thesis ;)
On 11/23/20 1:25 AM, Lukas Eder wrote:
We're not using templates to generate code. Most of the logic is in a
single Java class, the org.jooq.codegen.JavaGenerator:
https://github.com/jOOQ/jOOQ/blob/main/jOOQ-codegen/src/main/java/org/jooq/codegen/JavaGenerator.java
Hope this helps,
Lukas
On Mon, Nov 23, 2020 at 8:28 AM David P <[email protected]
<mailto:[email protected]>> wrote:
If it is using Velocity or Freemarker I was expecting some files
it is using as a template.
For instance, one of my generated files is says
/*
* This file is generated by jOOQ.
*/
package generated;
I would like to know how it was generated so that I can have it
generate more code. That is all I am asking for.
Thank you for your help.
On Sunday, November 22, 2020 at 7:43:40 PM UTC-7
[email protected] <mailto:[email protected]> wrote:
Yeah, sorry. I don't know to which templates you refer?
Screen/JPanel/label-value generators?
Have you seen what tools like pgAdmin, DBeaver, DbVisualizer
can do?
On 11/22/20 7:34 PM, David P wrote:
Thanks Rob, but what I would like is some instruction on
where the templates are, when are they called/used?
Like examples of how templates are modified or created.
On Sunday, November 22, 2020 at 7:27:04 PM UTC-7
[email protected] wrote:
ok, knock yourself out. :)
In the database realm "hello world" amounts to something
like "select 1". If you're using java that means getting
hold of the correct JDBC driver, creating a connection,
generating a query, executing the query and reading the
result(s).
Where in the jOO* universe do you see any UI components?
I think its (maniacal?) focus on type-safe data/sql is
why many of us like jOOQ so much.
On 11/22/20 12:25 PM, David P wrote:
I will start with SWING for starters. Then with VAADIN.
Depends on what you mean by a successful UI. If you want
a quick and dirty way of navigating through the data, it
would do what I need.
I am not looking for a production-ready final product
etc. Just a quick viewer and manipulator for in-house.
I know there are other products like ROO or Grail etc,
but I did a first try with JOOQ and saw how easy it was
to use.
It seems to enable customization but I don't see easy
instructions like a "hello world" example.
On Sunday, November 22, 2020 at 12:01:13 PM UTC-7
[email protected] wrote:
Using what stack, exactly?
CRUD screens are rarely successful UIs
On Nov 22, 2020, at 9:58 AM, David P
<[email protected]> wrote:
I would like to create a template that would
generate the GUI in addition to the database calls.
Unfortunately, I don't see instructions or an
example of how to.
Can someone let me know where I can find some? I
assume it has already been done.
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jooq-user/8578e47a-532f-4fee-8957-f80c3135840bn%40googlegroups.com
<https://groups.google.com/d/msgid/jooq-user/8578e47a-532f-4fee-8957-f80c3135840bn%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jooq-user/08132cea-5425-4151-8a4b-8abd17d32eb2n%40googlegroups.com
<https://groups.google.com/d/msgid/jooq-user/08132cea-5425-4151-8a4b-8abd17d32eb2n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jooq-user/932d0c91-ad25-4a30-97bd-ef13b7b74a4cn%40googlegroups.com
<https://groups.google.com/d/msgid/jooq-user/932d0c91-ad25-4a30-97bd-ef13b7b74a4cn%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jooq-user/e2012e6e-3067-496b-8e9c-fe06fbac5eb7n%40googlegroups.com
<https://groups.google.com/d/msgid/jooq-user/e2012e6e-3067-496b-8e9c-fe06fbac5eb7n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jooq-user/CAB4ELO7uafVeMM8P_AU16ZJC9dfPCXTJyaPDAeO5PZUW5c5gDw%40mail.gmail.com
<https://groups.google.com/d/msgid/jooq-user/CAB4ELO7uafVeMM8P_AU16ZJC9dfPCXTJyaPDAeO5PZUW5c5gDw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jooq-user/051ce916-b1ff-24a1-29b3-5d76c1f48324%40gmail.com.