Re: [hibernate-dev] Can't build Hibernate ORM 5.1 documentation

2018-11-28 Thread Gail Badner
Andrea found a solution that works. :)

On Tue, Nov 27, 2018 at 10:49 PM Gail Badner  wrote:

> I'm getting ready to release 5.1.17, but I'm having trouble building the
> documentation.
>
> I can't even build the documentation using 5.1.16 tag. It worked fine when
> I released 5.1.16.Final in August.
>
> A new property was added for HHH-13011, and I need to get that documented
> in the user guide for 5.1.17.
>
> Here is what I'm seeing when I execute `./gradlew buildDocs`:
>
> :documentation:renderDocBook_mappingGuide_en-US_html
> rendering Book(mappingGuide) en-US/html
> Extending script classloader with the jdocbookXsl dependencies
> redirecting console output to file
> [/home/gbadner/git/hibernate-orm-5.1-copy/documentation/target/docbook/work/mappingGuide/log/console-en-US-html.log]
>
> Error on line 1 column 1 of http://docbook.org/xml/5.0/dtd/docbook.dtd:
>  Error reported by XML parser: The markup declarations contained or
> pointed to by the document type declaration must be well-formed.
> Resetting console output
> :documentation:renderDocBook_mappingGuide_en-US_html FAILED
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task
> ':documentation:renderDocBook_mappingGuide_en-US_html'.
> > error rendering [org.xml.sax.SAXParseException; systemId:
> http://docbook.org/xml/5.0/dtd/docbook.dtd; lineNumber: 1; columnNumber:
> 1; The markup decl
> arations contained or pointed to by the document type declaration must be
> well-formed.] on Hibernate_Mapping_Guide.xml
>
> The log file 
> (/home/gbadner/git/hibernate-orm-5.1-copy/documentation/target/docbook/work/mappingGuide/log/console-en-US-html.log)
> was empty.
>
> I'm attaching the console log from executing `./gradlew buildDocs --debug
> --info`.
>
> Any ideas???
>
> Thanks,
> Gail
>
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] Can't build Hibernate ORM 5.1 documentation

2018-11-28 Thread Vlad Mihalcea
Hi,

Form 5.2, we no longer have the DocBooks tasks.

The only document using DocBook in 5.1 is the Integration Guide:

http://docs.jboss.org/hibernate/orm/5.1/integrationsGuide/

We converted that to AsciiDoc in 5.2

http://docs.jboss.org/hibernate/orm/5.2/integrationguide/

It's worth investigating whether we could remove them from 5.1 as well.

Vlad

On Wed, Nov 28, 2018 at 11:37 AM Gail Badner  wrote:

> Andrea found a solution that works. :)
>
> On Tue, Nov 27, 2018 at 10:49 PM Gail Badner  wrote:
>
>> I'm getting ready to release 5.1.17, but I'm having trouble building the
>> documentation.
>>
>> I can't even build the documentation using 5.1.16 tag. It worked fine
>> when I released 5.1.16.Final in August.
>>
>> A new property was added for HHH-13011, and I need to get that documented
>> in the user guide for 5.1.17.
>>
>> Here is what I'm seeing when I execute `./gradlew buildDocs`:
>>
>> :documentation:renderDocBook_mappingGuide_en-US_html
>> rendering Book(mappingGuide) en-US/html
>> Extending script classloader with the jdocbookXsl dependencies
>> redirecting console output to file
>> [/home/gbadner/git/hibernate-orm-5.1-copy/documentation/target/docbook/work/mappingGuide/log/console-en-US-html.log]
>>
>> Error on line 1 column 1 of http://docbook.org/xml/5.0/dtd/docbook.dtd:
>>  Error reported by XML parser: The markup declarations contained or
>> pointed to by the document type declaration must be well-formed.
>> Resetting console output
>> :documentation:renderDocBook_mappingGuide_en-US_html FAILED
>>
>> FAILURE: Build failed with an exception.
>>
>> * What went wrong:
>> Execution failed for task
>> ':documentation:renderDocBook_mappingGuide_en-US_html'.
>> > error rendering [org.xml.sax.SAXParseException; systemId:
>> http://docbook.org/xml/5.0/dtd/docbook.dtd; lineNumber: 1; columnNumber:
>> 1; The markup decl
>> arations contained or pointed to by the document type declaration must be
>> well-formed.] on Hibernate_Mapping_Guide.xml
>>
>> The log file 
>> (/home/gbadner/git/hibernate-orm-5.1-copy/documentation/target/docbook/work/mappingGuide/log/console-en-US-html.log)
>> was empty.
>>
>> I'm attaching the console log from executing `./gradlew buildDocs --debug
>> --info`.
>>
>> Any ideas???
>>
>> Thanks,
>> Gail
>>
>
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


[hibernate-dev] Should the TransactionSynchronizationRegistry be cached by the JtaPlatform or perhaps at the SessionFactory level?

2018-11-28 Thread Scott Marlow
Hi,

I started working on a WildFly change WFLY-11243 [1] to cache the 
TransactionSynchronizationRegistry inside of the WildFly JtaPlatform 
instance.  The purpose of caching the TransactionSynchronizationRegistry 
is to avoid repeated JndiService.locate() calls, like during entity 
manager creation time [2] and other uses as well.

My question is whether the idea of caching the 
TransactionSynchronizationRegistry instance is already handled at the 
session factory level?  If not, would that make sense?

[3] is the WildFly pr to cache the TransactionSynchronizationRegistry 
instance, to avoid repeatedly looking it up (since it rarely ever 
changes).  If there is a way to instead have the 
TransactionSynchronizationRegistry cached at the SF level, that might be 
better.

Scott

[1] https://issues.jboss.org/browse/WFLY-11243
[2] https://paste.fedoraproject.org/paste/kXHq27RpSSs8GS8v0S8Dog
[3] https://github.com/wildfly/wildfly/pull/11784
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] Can't build Hibernate ORM 5.1 documentation

2018-11-28 Thread Gail Badner
Since this is the last 5.1.x release, I don't think it's worth doing
anything more with the documentation in that branch unless absolutely
necessary.

On Wed, Nov 28, 2018 at 5:19 AM Vlad Mihalcea 
wrote:

> Hi,
>
> Form 5.2, we no longer have the DocBooks tasks.
>
> The only document using DocBook in 5.1 is the Integration Guide:
>
> http://docs.jboss.org/hibernate/orm/5.1/integrationsGuide/
>
> We converted that to AsciiDoc in 5.2
>
> http://docs.jboss.org/hibernate/orm/5.2/integrationguide/
>
> It's worth investigating whether we could remove them from 5.1 as well.
>
> Vlad
>
> On Wed, Nov 28, 2018 at 11:37 AM Gail Badner  wrote:
>
>> Andrea found a solution that works. :)
>>
>> On Tue, Nov 27, 2018 at 10:49 PM Gail Badner  wrote:
>>
>>> I'm getting ready to release 5.1.17, but I'm having trouble building the
>>> documentation.
>>>
>>> I can't even build the documentation using 5.1.16 tag. It worked fine
>>> when I released 5.1.16.Final in August.
>>>
>>> A new property was added for HHH-13011, and I need to get that
>>> documented in the user guide for 5.1.17.
>>>
>>> Here is what I'm seeing when I execute `./gradlew buildDocs`:
>>>
>>> :documentation:renderDocBook_mappingGuide_en-US_html
>>> rendering Book(mappingGuide) en-US/html
>>> Extending script classloader with the jdocbookXsl dependencies
>>> redirecting console output to file
>>> [/home/gbadner/git/hibernate-orm-5.1-copy/documentation/target/docbook/work/mappingGuide/log/console-en-US-html.log]
>>>
>>> Error on line 1 column 1 of http://docbook.org/xml/5.0/dtd/docbook.dtd:
>>>  Error reported by XML parser: The markup declarations contained or
>>> pointed to by the document type declaration must be well-formed.
>>> Resetting console output
>>> :documentation:renderDocBook_mappingGuide_en-US_html FAILED
>>>
>>> FAILURE: Build failed with an exception.
>>>
>>> * What went wrong:
>>> Execution failed for task
>>> ':documentation:renderDocBook_mappingGuide_en-US_html'.
>>> > error rendering [org.xml.sax.SAXParseException; systemId:
>>> http://docbook.org/xml/5.0/dtd/docbook.dtd; lineNumber: 1;
>>> columnNumber: 1; The markup decl
>>> arations contained or pointed to by the document type declaration must
>>> be well-formed.] on Hibernate_Mapping_Guide.xml
>>>
>>> The log file 
>>> (/home/gbadner/git/hibernate-orm-5.1-copy/documentation/target/docbook/work/mappingGuide/log/console-en-US-html.log)
>>> was empty.
>>>
>>> I'm attaching the console log from executing `./gradlew buildDocs --debug
>>> --info`.
>>>
>>> Any ideas???
>>>
>>> Thanks,
>>> Gail
>>>
>>
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


[hibernate-dev] Hibernate ORM 5.1.17.Final has been released

2018-11-28 Thread Gail Badner
This is the final release of the 5.1 series. For details see
http://in.relation.to/2018/11/28/hibernate-orm-5117-final-release/.
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev