Account
Server
ServerAccount
V_Account
V_Server
V_ServerAccount
Account
Server
Serveraccount
VAccount
VServer
VServeraccount
<generator>
<!-- ... -->
<strategy>
<name>org.jooq.util.KeepNamesGeneratorStrategy</name>
</strategy>
</generator>
ACCOUNT
SERVER
SERVERACCOUNT
V_ACCOUNT
V_SERVER
V_SERVERACCOUNT
<generator>
<!-- ... -->
<strategy>
<matchers>
<tables>
<table>
<!-- no expression on purpose -->
<tableClass>
<transform>AS_IS</transform>
</tableClass>
</table>
</tables>
</matchers>
</strategy>
</generator>
<generator>
<!-- ... -->
<strategy>
<matchers>
<tables>
<table>
<expression>(\w)+</expression>
<tableClass>
<expression>$0</expression>
</tableClass>
</table>
</tables>
</matchers>
</strategy>
</generator>
<generator>
<!-- ... -->
<strategy>
<name>org.oddloot.db.AsInDatabaseStrategy</name>
</strategy>
</generator>
Account
Server
Serveraccount
VAccount
VServer
VServeraccount
CREATE TABLE VAccount ( ... );
CREATE TABLE "VAccount" ( ... );
--
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+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
;DATABASE_TO_UPPER=FALSE
to the database URL. I will try that and see if it works well enough.--
You received this message because you are subscribed to a topic in the Google Groups "jOOQ User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jooq-user/cncowd9o_fc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jooq-user+...@googlegroups.com.
Hi Lukas,yup, that was the issue. Thanks again.
I had completely forgotton about the automatic conversion, but now I found out it can be disabled by appending;DATABASE_TO_UPPER=FALSE
to the database URL.Cheers,Carsten
2016-07-15 18:43 GMT+02:00 Lukas Eder <lukas...@gmail.com>:
--
You received this message because you are subscribed to a topic in the Google Groups "jOOQ User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jooq-user/cncowd9o_fc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jooq-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Huh, interesting, I wasn't aware of that flag. But if you want to stay on the safe side, it's probably best to make all identifiers in your database case-sensitive by using double quotes. I think case-sensitivity is an all or nothing thing, otherwise there will always be forgotten cases / edge cases, etc.Cheers,
Lukas
2016-07-16 1:37 GMT+02:00 Carsten Langsdorf <carsten....@gmail.com>:
Hi Lukas,yup, that was the issue. Thanks again.
I had completely forgotten about the automatic conversion, but now I found out it can be disabled by appending;DATABASE_TO_UPPER=FALSE
to the database URL.
I tried the flag, and it does not seem to work. It had been attributed as experimental anyway.Concerning my db identifiers and the resulting class names - yep, I could use double quotes. That would imply I'd have to pass all my automatically generated scripts through another batch edit layer, and weighing the potential error source I would also introduce against the benefit makes me think I might be better off just sticking to plain unmodified uppercase and focusing on more crucial tasks.
One of which is another thing you might be able to give me a hint about. I'm using JavaFX via FXML for the client, and it's a plain desktop application. The database is strictly local, and I'm using H2 in embedded mode. The next thing I'm pondering about is whether I should stick with jOOQ alone to drive the JavaFX controls efficiently and elegantly, or I should also use DataFX or similar. Also, I'm not familiar with DataFX yet and thus don't know how well it would work in conjunction with jOOQ.Any insights/hints on that one?
--