It could be maven related, my guess is that when I typed "  |
schema.table_name" it assumed the 0xc2a0 was required as part of the
pattern, since the no tablename existed with <0xC2A0>schema.table it just
omitted the table from the list of tables being generated.


On Thu, May 25, 2017 at 1:35 AM, Lukas Eder <[email protected]> wrote:

> Hmm, interesting. I can reproduce the issue with that character. After
> creating this table:
>
> CREATE TABLE t_utf8_슠 (
>   c_슠 INT
> )
>
>
> While the code is generated correctly, I'm getting this error on compiling
> generated code (works with Eclipse, though):
>
> [ERROR] javac: file not found: C:\Users\lukas\workspace\jOOQ\
> jOOQ-test\.\src\test\java\org\jooq\test\h2\generatedclasses\
> public_\tables\TUtf8?.java
>
> I'm following the guidelines here:
> https://stackoverflow.com/q/10368527/521799
>
> Would be interesting to know what the problem is, seems to be Maven related
>
> 2017-05-25 0:11 GMT+02:00 Samir Faci <[email protected]>:
>
>> The character the caused issues is:  0xC2A0
>>
>> I'm not sure it needs to be handled specifically, but that was the
>> culprit, my fix was to replace with 0x20 (ie space) and everything worked
>> as expected.
>>
>>
>> On Wed, May 24, 2017 at 2:27 PM, Samir Faci <[email protected]> wrote:
>>
>>> Ahh, good to know.
>>>
>>> I was actually looking to do the opposite of mvn jooq:generate-xml but
>>> that's just as useful, at least I can debug the code generation when need
>>> be.
>>>
>>>
>>>
>>> On Wed, May 24, 2017 at 11:23 AM, Lukas Eder <[email protected]>
>>> wrote:
>>>
>>>> Hi Samir,
>>>>
>>>> Yes, the Maven plugin is an official Data Geekery extension, so this is
>>>> the right place to discuss this.
>>>>
>>>> You can specify an external configuration file using:
>>>>
>>>> <configuration>
>>>>   <configurationFile>src/main/resources/config.xml</configurationFile>
>>>> </configuration>
>>>>
>>>> That was added in jOOQ 3.9:
>>>> https://github.com/jOOQ/jOOQ/issues/5477
>>>>
>>>> Now, why that isn't documented in the manual is another question. I've
>>>> registered an issue to fix this:
>>>> https://github.com/jOOQ/jOOQ/issues/6273
>>>>
>>>> Btw: What was the non-printable character issue? Something we could
>>>> fix, too?
>>>>
>>>> Hope this helps,
>>>> Lukas
>>>>
>>>> 2017-05-24 19:42 GMT+02:00 Samir Faci <[email protected]>:
>>>>
>>>>> I had to walk through the debugger to figure out what the generator
>>>>> was doing to track down an issue that ended up being a non-printable
>>>>> character, but since we're using maven, I had to re-create
>>>>> the config.xml in order to invoke it manually.
>>>>>
>>>>> I'm not sure if the maven plugin is maintain by jooq's maintainers,
>>>>> but it would be a nice feature if we could have maven able to generate a
>>>>> config.xml that you can feed to.
>>>>>
>>>>>
>>>>> org.jooq.util.GenerationTool  ./config.xml
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thank you
>>>>> Samir Faci
>>>>> https://keybase.io/csgeek
>>>>>
>>>>> --
>>>>> 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.
>>>>>
>>>>
>>>> --
>>>> 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.
>>>>
>>>
>>>
>>>
>>> --
>>> Thank you
>>> Samir Faci
>>> https://keybase.io/csgeek
>>>
>>
>>
>>
>> --
>> Thank you
>> Samir Faci
>> https://keybase.io/csgeek
>>
>> --
>> 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.
>>
>
> --
> 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.
>



-- 
Thank you
Samir Faci
https://keybase.io/csgeek

-- 
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