Re: [hibernate-dev] HHH-6726 LONG and LONG RAW column types in Oracle
by Łukasz Antoniak
Currently Oracle supports database versions from 10.1 to 11.2 [1]. LONG
and LONG RAW data types are deprecated since version 8 and 8i (released
before September 2000) [2]. Oracle keeps those column types only for
backward compatibility [3].
I tried the following scenario (Oracle 10gR2):
1. Create schema with "hibernate.hbm2ddl.auto" set to "create". The LONG
column is created.
2. Insert some data.
3. Modify Oracle dialect as Gail suggested. Avoid setting
"hibernate.hbm2ddl.auto".
4. Insert some data.
To my surprise the test actually passed :). However, I think that we
cannot guaranty the proper behavior in every situation.
As for performance, ImageType is extracted by calling
ResultSet.getBytes() method, which fetches all data in one call [4]. I
don't suppose a major performance difference when data is streamed in
another call. oracle.jdbc.driver.LongRawAccessor.getBytes also fetches
data by reading the stream.
The bug reading LONG column affects JDBC drivers since version 10.2.0.4.
I think that we have to choose between:
- changing Oracle10gDialect. Make a not about it in migration guide to
4.0 and update "5.2.2. Basic value types" chapter in Hibernate
documentation.
- introducing Oracle11gDialect. It can sound weird to access Oracle 10g
database with Oracle 11g dialect.
- disabling execution of Hibernate tests that fail because of this issue
with @SkipForDialect (and maybe develop another version of them with
CLOBs and BLOBs, @RequiresDialect). Hibernate is written correctly
according to "Default Mappings Between SQL Types and Java Types"
(referenced earlier by Gail) and this is more Oracle's JDBC
implementation issue. This option came to my mind, but it's weird :P.
I would vote for the first option.
Regards,
Lukasz Antoniak
[1]
http://www.oracle.com/us/support/library/lifetime-support-technology-0691...
(page 4)
[2]
http://download.oracle.com/docs/cd/A91202_01/901_doc/server.901/a90120/ch...
[3]
http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/datatype.htm
[4] "Getting a LONG RAW Data Column with getBytes"
http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/jstreams.htm
Strong Liu pisze:
> I think oracle 11g is the only one supported DB version by oracle, can we just introduce a new oracle dialect with suggested changes, and deprecate all other existed oracle dialects? this won't affects users app
>
> -----------
> Strong Liu <stliu(a)hibernate.org>
> http://hibernate.org
> http://github.com/stliu
>
> On Oct 15, 2011, at 11:14 AM, Scott Marlow wrote:
>
>> How does this impact existing applications? Would they have to convert
>> LONGs to CLOBs (and LONGRAWs to BLOBs) to keep the application working?
>>
>> As far as the advantage of CLOB over TEXT, if you read every character,
>> which one is really faster? I would expect TEXT to be a little faster,
>> since the server side will send the characters before they are asked
>> for. By faster, I mean from the application performance point of view. :)
>>
>> Could this be changed in a custom Oracle dialect? So new
>> applications/databases could perhaps use that and existing applications
>> might use LONGs a bit longer via the existing Oracle dialect.
>>
>> On 10/14/2011 09:22 PM, Gail Badner wrote:
>>> In [1], I am seeing the following type mappings:
>>>
>>> Column type: LONG -> java.sql.Types.LONGVARCHAR -> java.lang.String
>>> Column type: LONGRAW -> java.sql.Types.LONGVARBINARY -> byte[]
>>>
>>> org.hibernate.type.TextType is consistent with the mapping for LONG.
>>>
>>> org.hibernate.type.ImageType is consistent with the mapping for LONGRAW.
>>>
>>> From this standpoint, the current settings are appropriate.
>>>
>>> I understand there are restrictions when LONG and LONGRAW are used and I see from your other message that there is Oracle documentation for migrating to CLOB and BLOB.
>>>
>>> I agree that changing column type registration as follows (for Oracle only) should fix this:
>>> registerColumnType( Types.VARBINARY, 2000, "raw($l)" );
>>> registerColumnType( Types.VARBINARY, "blob" );
>>>
>>> registerColumnType( Types.LONGVARCHAR, "clob" );
>>> registerColumnType( Types.LONGVARBINARY, "blob" );
>>>
>>> registerColumnType( Types.VARCHAR, 4000, "varchar2($l char)" );
>>> registerColumnType( Types.VARCHAR, "clob" );
>>>
>>> Steve, what do you think? Is it too late to make this change for 4.0.0?
>>>
>>> [1] Table 11-1 of Oracle® Database JDBC Developer's Guide and Reference, 11g Release 1 (11.1) (http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/datacc.htm#g...)
>>> [2] Hibernate Core Migration Guide for 3.5 (http://community.jboss.org/wiki/HibernateCoreMigrationGuide35)
>>> [3] Table 2-10 of Oracle® Database SQL Language Reference
>>> 11g Release 1 (11.1) (http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/sql_elemen...)
>>>
>>> ----- Original Message -----
>>>> From: "Łukasz Antoniak"<lukasz.antoniak(a)gmail.com>
>>>> To: hibernate-dev(a)lists.jboss.org
>>>> Sent: Thursday, October 13, 2011 12:50:13 PM
>>>> Subject: [hibernate-dev] HHH-6726 LONG and LONG RAW column types in Oracle
>>>>
>>>> Welcome Community!
>>>>
>>>> I have just subscribed to the list and wanted to discuss HHH-6726
>>>> JIRA
>>>> issue.
>>>>
>>>> Gail Badner wrote
>>>> (http://lists.jboss.org/pipermail/hibernate-dev/2011-October/007208.html):
>>>> HHH-6726 (Oracle : map TextType to clob and ImageType to blob)
>>>> https://hibernate.onjira.com/browse/HHH-6726
>>>> There have been a number of issues opened since the change was made
>>>> to
>>>> map TextType (LONGVARCHAR) 'long' and ImageType (LONGVARBINARY) to
>>>> 'long
>>>> raw'. This change was already documented in the migration notes.
>>>> Should
>>>> the mapping for Oracle (only) be changed back to clob and blob?
>>>>
>>>> HHH-6726 is caused by an issue in Oracle JDBC driver (version
>>>> 10.2.0.4
>>>> and later). This bug appears when LONG or LONG RAW columns are
>>>> accessed
>>>> not as first or last while processing SQL statement.
>>>>
>>>> I have discussed the topic of mapping TextType to CLOB and ImageType
>>>> to
>>>> BLOB (only in Oracle dialect) with Strong Liu. Reasons for doing so:
>>>> - Oracle allows only one LONG / LONG RAW column per table. This might
>>>> be
>>>> the most important from Hibernate's perspective.
>>>> - LONG / LONG RAW - up to 2 GB, BLOB / CLOB - up to 4 GB.
>>>> - In PL/SQL using LOBs is more efficient (random access to data).
>>>> LONG
>>>> only sequential.
>>>> - LONG and LONG RAW are deprecated.
>>>>
>>>> What is your opinion?
>>>>
>>>> Regards,
>>>> Lukasz Antoniak
>>>> _______________________________________________
>>>> hibernate-dev mailing list
>>>> hibernate-dev(a)lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>>
>>> _______________________________________________
>>> hibernate-dev mailing list
>>> hibernate-dev(a)lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev(a)lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
8 years, 3 months
Configuration to support batching (or sorting) of DELETE statements efficiently
by Madhusudana Reddy Sunnapu
Hi,
Hibernate provides simple configuration properties to enable batch inserts
and updates using "hibernate.order_inserts" and "hibernate.order_updates"
respectively. These setting allow hibernate to sort the insert and update
statements and process them in batches efficiently.
But we don't have such a configuration to sort or batch delete statements
efficiently. Especially with CascadeType.DELETE we can see that delete
statements are not batched effectively and could result in extra network
calls to the database for deletion.(Refer:
http://vladmihalcea.com/2015/03/26/how-to-batch-delete-statements-with-hi...
)
So I am thinking wouldn't it be a good feature to have hibernate support
similar configuration, say "hibernate.order_deletes", to enable batch
deletes similar to updates and inserts.
Cheers,
Madhu.
8 years, 3 months
Fwd: Build failed in Jenkins: hibernate-orm-master-h2 #1316
by Steve Ebersole
Anyone know what is up with this Javadoc tool failure in these jobs? We've
had the same failure for the last few builds...
---------- Forwarded message ---------
From: Hibernate CI <ci(a)hibernate.org>
Date: Tue, Jan 26, 2016 at 4:09 AM
Subject: Build failed in Jenkins: hibernate-orm-master-h2 #1316
To: <steve(a)hibernate.org>, <mih_vlad(a)yahoo.com>
See <http://ci.hibernate.org/job/hibernate-orm-master-h2/1316/changes>
Changes:
[mih_vlad] Move User Guide Bootstrap chapter code snippets from extras to
test
------------------------------------------
[...truncated 1048 lines...]
FindBugs rule violations were found. See the report at:
file:///mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-osgi/target/reports/findbugs/main.xml
:hibernate-osgi:findbugsTest
FindBugs rule violations were found. See the report at:
file:///mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-osgi/target/reports/findbugs/test.xml
:hibernate-osgi:buildDashboard
:hibernate-proxool:compileJava
Starting AnimalSniffer checks using [java16-1.0.signature] against
[sourceSets.main]
:hibernate-proxool:processResources
:hibernate-proxool:classes
:hibernate-proxool:compileTestJava
:hibernate-proxool:processTestResources
:hibernate-proxool:testClasses
:hibernate-proxool:test
:hibernate-proxool:checkstyleMain
:hibernate-proxool:findbugsMain
FindBugs rule violations were found. See the report at:
file:///mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-proxool/target/reports/findbugs/main.xml
:hibernate-proxool:findbugsTest
FindBugs rule violations were found. See the report at:
file:///mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-proxool/target/reports/findbugs/test.xml
:hibernate-proxool:buildDashboard
:hibernate-spatial:compileJavaNote:
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-spatial/src/main/java/org/hibernate/spatial/integration/SpatialService.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Starting AnimalSniffer checks using [java16-1.0.signature] against
[sourceSets.main]
:hibernate-spatial:processResources
:hibernate-spatial:classes
:hibernate-spatial:compileTestJavaNote: Some input files use or override a
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-spatial:processTestResources
:hibernate-spatial:testClasses
:hibernate-spatial:test
:hibernate-spatial:checkstyleMain
:hibernate-spatial:findbugsMain
:hibernate-spatial:findbugsTest
FindBugs rule violations were found. See the report at:
file:///mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-spatial/target/reports/findbugs/test.xml
:hibernate-spatial:buildDashboard
:hibernate-testing:compileTestJava
:hibernate-testing:processTestResources UP-TO-DATE
:hibernate-testing:testClasses
:hibernate-testing:test
:hibernate-testing:checkstyleMain
:hibernate-testing:findbugsMain
FindBugs rule violations were found. See the report at:
file:///mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-testing/target/reports/findbugs/main.xml
:hibernate-testing:findbugsTest
:hibernate-testing:buildDashboard
:documentation:check
:hibernate-c3p0:check
:hibernate-core:check
:hibernate-ehcache:check
:hibernate-enhance-maven-plugin:check
:hibernate-entitymanager:check
:hibernate-envers:check
:hibernate-gradle-plugin:check
:hibernate-hikaricp:check
:hibernate-infinispan:check
:hibernate-java8:check
:hibernate-jpamodelgen:check
:hibernate-osgi:check
:hibernate-proxool:check
:hibernate-spatial:check
:hibernate-testing:check
:release:check UP-TO-DATE
:documentation:aggregateJavadocs/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/loader/plan/exec/internal/AliasResolutionContextImpl.java:174:
warning - Tag @link: can't find #resolveCollectionReferenceAliases(String)
in org.hibernate.loader.plan.exec.internal.AliasResolutionContextImpl
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/loader/plan/build/internal/LoadPlanImpl.java:58:
warning - Tag @link: reference not found: Disposition#COLLECTION_INITIALIZER
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/loader/plan/build/internal/LoadPlanImpl.java:46:
warning - Tag @link: reference not found: Disposition#ENTITY_LOADER
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/loader/plan/build/internal/LoadPlanImpl.java:76:
warning - Tag @link: reference not found: Disposition#MIXED
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/loader/plan/build/internal/LoadPlanImpl.java:46:
warning - Tag @link: reference not found: Disposition#ENTITY_LOADER
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/loader/plan/build/internal/LoadPlanImpl.java:58:
warning - Tag @link: reference not found: Disposition#COLLECTION_INITIALIZER
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/loader/plan/build/internal/LoadPlanImpl.java:76:
warning - Tag @link: reference not found: Disposition#MIXED
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/loader/plan/spi/BidirectionalEntityReference.java:42:
warning - Tag @link: can't find
getTargetEntityReference()#getQuerySpaceUid() in
org.hibernate.loader.plan.spi.BidirectionalEntityReference
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/tuple/IdentifierProperty.java:41:
warning - @param argument "node" is not a parameter name.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/engine/internal/JoinSequence.java:283:
warning - Tag @link: reference not found: this
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/engine/internal/JoinSequence.java:309:
warning - Tag @link: reference not found: this
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/engine/internal/JoinSequence.java:328:
warning - Tag @link: reference not found: this
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/engine/internal/NaturalIdXrefDelegate.java:36:
warning - Tag @link: reference not found: NaturalIdResolutionCache
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/engine/internal/NaturalIdXrefDelegate.java:205:
warning - Tag @link: reference not found:
PersistenceContext.NaturalIdHelper#INVALID_NATURAL_ID_REFERENCE
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/engine/internal/NaturalIdXrefDelegate.java:205:
warning - Tag @link: reference not found:
PersistenceContext.NaturalIdHelper#INVALID_NATURAL_ID_REFERENCE
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/engine/spi/PersistenceContext.java:489:
warning - @return tag has no arguments.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java:2299:
warning - @return tag has no arguments.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java:1578:
warning - Tag @see:illegal character: "123" in "{@link
#buildSQLExceptionConversionDelegate()}"
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java:1578:
warning - Tag @see:illegal character: "64" in "{@link
#buildSQLExceptionConversionDelegate()}"
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java:2712:
warning - @return tag has no arguments.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/JdbcServices.java:28:
warning - @return tag has no arguments.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/cfg/PropertyHolder.java:95:
warning - @return tag has no arguments.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/cfg/ExternalSessionFactoryConfig.java:25:
warning - Tag @link: reference not found:
org.hibernate.jmx.HibernateService JMX
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/cfg/NamingStrategy.java:27:
warning - Tag @link: reference not found:
org.hibernate.cfg.naming.NamingStrategyDelegator
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/action/internal/AbstractEntityInsertAction.java:72:
warning - Tag @see:illegal character: "123" in "{@link
#nullifyTransientReferencesIfNotAlready}"
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/action/internal/AbstractEntityInsertAction.java:72:
warning - Tag @see:illegal character: "64" in "{@link
#nullifyTransientReferencesIfNotAlready}"
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/action/internal/AbstractEntityInsertAction.java:111:
warning - Tag @see:illegal character: "123" in "{@link #makeEntityManaged()
}"
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/action/internal/AbstractEntityInsertAction.java:111:
warning - Tag @see:illegal character: "64" in "{@link #makeEntityManaged()
}"
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/action/internal/AbstractEntityInsertAction.java:72:
warning - Tag @see: reference not found: {@link
#nullifyTransientReferencesIfNotAlready}
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/action/internal/AbstractEntityInsertAction.java:111:
warning - Tag @see: reference not found: {@link #makeEntityManaged() }
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - @propertyDescription is an unknown tag.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - @propertyDescription is an unknown tag.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - @propertyDescription is an unknown tag.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - @propertyDescription is an unknown tag.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - @propertyDescription is an unknown tag.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - @propertyDescription is an unknown tag.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/MapEntryNode.java:34:
warning - Tag @link: reference not found: Map.Entry
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:321:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:668:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java:672:
warning - Tags @propertyGetter, @propertySetter and @propertyDescription
can only be used in JavaFX properties getters and setters.
java.lang.ClassCastException: com.sun.tools.javadoc.MethodDocImpl cannot be
cast to com.sun.tools.javadoc.AnnotationTypeElementDocImpl
at
com.sun.tools.javadoc.DocEnv.getAnnotationTypeElementDoc(DocEnv.java:721)
at
com.sun.tools.javadoc.AnnotationTypeDocImpl.elements(AnnotationTypeDocImpl.java:97)
at
com.sun.tools.doclets.internal.toolkit.util.VisibleMemberMap$ClassMembers.filter(VisibleMemberMap.java:492)
at
com.sun.tools.doclets.internal.toolkit.util.VisibleMemberMap$ClassMembers.getClassMembers(VisibleMemberMap.java:442)
at
com.sun.tools.doclets.internal.toolkit.util.VisibleMemberMap$ClassMembers.addMembers(VisibleMemberMap.java:372)
at
com.sun.tools.doclets.internal.toolkit.util.VisibleMemberMap$ClassMembers.mapClass(VisibleMemberMap.java:346)
at
com.sun.tools.doclets.internal.toolkit.util.VisibleMemberMap$ClassMembers.mapClass(VisibleMemberMap.java:351)
at
com.sun.tools.doclets.internal.toolkit.util.VisibleMemberMap$ClassMembers.build(VisibleMemberMap.java:341)
at
com.sun.tools.doclets.internal.toolkit.util.VisibleMemberMap$ClassMembers.access$100(VisibleMemberMap.java:291)
at
com.sun.tools.doclets.internal.toolkit.util.VisibleMemberMap.<init>(VisibleMemberMap.java:127)
at
com.sun.tools.doclets.internal.toolkit.builders.MemberSummaryBuilder.<init>(MemberSummaryBuilder.java:82)
at
com.sun.tools.doclets.internal.toolkit.builders.MemberSummaryBuilder.getInstance(MemberSummaryBuilder.java:101)
at
com.sun.tools.doclets.internal.toolkit.builders.BuilderFactory.getMemberSummaryBuilder(BuilderFactory.java:278)
at
com.sun.tools.doclets.formats.html.ClassWriterImpl.getNavSummaryLinks(ClassWriterImpl.java:641)
at
com.sun.tools.doclets.formats.html.ClassWriterImpl.addSummaryDetailLinks(ClassWriterImpl.java:622)
at
com.sun.tools.doclets.formats.html.HtmlDocletWriter.addNavLinks(HtmlDocletWriter.java:560)
at
com.sun.tools.doclets.formats.html.ClassWriterImpl.getHeader(ClassWriterImpl.java:165)
at
com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.buildClassDoc(ClassBuilder.java:145)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.invokeMethod(AbstractBuilder.java:180)
at
com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:135)
at
com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.build(ClassBuilder.java:120)
at
com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFiles(HtmlDoclet.java:189)
at
com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:205)
at
com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(AbstractDoclet.java:189)
at
com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:137)
at
com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:82)
at
com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:80)
at com.sun.tools.doclets.standard.Standard.start(Standard.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310)
at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189)
at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:366)
at com.sun.tools.javadoc.Start.begin(Start.java:219)
at com.sun.tools.javadoc.Start.begin(Start.java:205)
at com.sun.tools.javadoc.Main.execute(Main.java:64)
at com.sun.tools.javadoc.Main.main(Main.java:54)
1 error
100 warnings
javadoc: error - java.lang.ClassCastException:
com.sun.tools.javadoc.MethodDocImpl cannot be cast to
com.sun.tools.javadoc.AnnotationTypeElementDocImpl
:documentation:aggregateJavadocs FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':documentation:aggregateJavadocs'.
> Javadoc generation failed. Generated Javadoc options file (useful for
troubleshooting):
'/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2/documentation/target/tmp/aggregateJavadocs/javadoc.options'
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.
BUILD FAILED
Total time: 50 mins 9.575 secs
Build step 'Execute shell' marked build as failure
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Finding all files that match the pattern
**/target/reports/checkstyle/*.xml
[CHECKSTYLE] Parsing 14 files in <
http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/>
[CHECKSTYLE] Successfully parsed file <
http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-c3p0/tar...>
with 2 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file <
http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-core/tar...>
with 2391 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file <
http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-ehcache/...>
with 2416 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file <
http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-entityma...>
with 2734 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file <
http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-envers/t...>
with 2798 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file <
http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-hikaricp...>
with 2801 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file <
http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-infinisp...>
with 3331 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file <
http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-java8/ta...>
with 3334 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file <
http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-osgi/tar...>
with 3346 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file <
http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-proxool/...>
with 3347 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file <
http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-spatial/...>
with 3357 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file <
http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-testing/...>
with 3450 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file <
http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/tooling/hibernate-...>
with 3451 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file <
http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/tooling/metamodel-...>
with 3456 unique warnings and 0 duplicates.
[CHECKSTYLE] Computing warning deltas based on reference build #1314
[FINDBUGS] Skipping publisher since build result is FAILURE
[TASKS] Skipping publisher since build result is FAILURE
Recording test results
Publishing Javadoc
8 years, 3 months
Re: [hibernate-dev] [hibernate-orm] HHH-7572 - Develop API for load-by-multiple-ids (#1136)
by Konstantin Bulanov
Hello Steve, as you asked moving our discussion about HHH-7572 in dev mail
list.
Regarding you question, in current architecture and implementation we have
the following point to perform entity persistence customization.
Annotation:
https://docs.jboss.org/hibernate/orm/5.0/javadocs/org/hibernate/annotatio...
which allows us to specify our own implementation of
https://docs.jboss.org/hibernate/orm/5.0/javadocs/org/hibernate/persister....
One of its methods is:
Object load(Serializable id,
Object optionalObject,
LockMode lockMode,
SessionImplementor session)
throws HibernateException
Load an instance of the persistent class.
and
Object load(Serializable id,
Object optionalObject,
LockOptions lockOptions,
SessionImplementor session)
throws HibernateException
Load an instance of the persistent class.
These two methods allows to specify you own Loader implementation to load
Entity by IDS,
in mentioned issue this part of contract was ignored by changing call
sequence on loading by multiple ids.
By Single id;
org.hibernate.internal.SessionImpl#get->IdentifierLoadAccessImpl->org.hibernate.internal.SessionImpl.IdentifierLoadAccessImpl#load->org.hibernate.event.spi.LoadEventListener#onLoad->org.hibernate.event.internal.DefaultLoadEventListener#loadFromDatasource->org.hibernate.persister.entity.EntityPersister#load
By Multiple id:
org.hibernate.internal.SessionImpl#byMultipleIds->org.hibernate.internal.SessionImpl.MultiIdentifierLoadAccessImpl#multiLoad->org.hibernate.loader.entity.DynamicBatchingEntityLoaderBuilder#multiLoad
So in new API for multiple load we lose at least 2 possible extension
points: onLoadEvent, Persister.load (here we could customize loader -
specify our own instead hardcoded one)
>From my point of view there should be the same approach to get entities by
ID(independent multiple or single).
So which one approach is correct and future-proof for Single id or Multiple
Ids?
20 нояб. 2015 г. 18:19 пользователь "Steve Ebersole" <
notifications(a)github.com> написал:
> Customize how? Loader still calls into the persister. Persisters and
> Loaders have a back-and-forth synergy.
>
> Also please discuss this on the hibernate-dev mailing list so others can be
> involved.
>
> On Fri, Nov 20, 2015 at 7:15 AM Konstantin Bulanov <
> notifications(a)github.com>
> wrote:
>
> > Hello Steve, could you be so kind to advice why we have different
> behavior
> > for loading by single id and multiple ids?
> >
> > In Case of single id, loading is going through
> > session->IdentifierLoadAccess->event->persister->Loader
> > In Case of multiple ids, loading is going through
> > session->MultiIdentifierLoadAccess->Loader
> >
> > So in case of load by single id it is possible to cutomize loading of
> > Entify using persister, but in new introduced API we lost this
> posibility.
> >
> > —
> > Reply to this email directly or view it on GitHub
> > <
> https://github.com/hibernate/hibernate-orm/pull/1136#issuecomment-158400273
> >
> > .
> >
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/hibernate/hibernate-orm/pull/1136#issuecomment-158413356>
> .
>
8 years, 3 months
HHH-8076 - CDI-capable entity listeners
by Steve Ebersole
As part of the work on HHH-8076 for ORM 5.1 I am going to have to change
up, in some fashion, some or all of the following internal/spi contracts :
* org.hibernate.jpa.event.spi.jpa.Callback
* org.hibernate.jpa.event.spi.jpa.CallbackRegistry
* org.hibernate.jpa.event.spi.jpa.ListenerFactory
* org.hibernate.jpa.event.internal.jpa.CallbackProcessor
I need to know whether any integrations either use any of these or provide
custom impls for any of them.
8 years, 3 months
HHH-9993 - IsolationDelegate + no-Connection
by Steve Ebersole
HHH-9993[1] is a request to extend IsolationDelegate to cater for
transaction hooks which do not need access to a JDBC Connection.
A quick primer for those unfamiliar, IsolationDelegate is a contract to
allow work to be done in a fashion that makes sure it is isolated from the
main Session transaction. We have implementations of this to fit JTA and
JDBC scenarios. Additionally, it allows to indicate that the isolated work
should itself be transacted or not. In the JDBC-transaction scenario
(which HHH-9993 deals with) transacted-isolated work is achieved by passing
in a separate Connection to use since that is the only way to achieve a new
transaction in JDBC (JDBC has no "suspend/resume" transaction
functionality).
HHH-9993 is again about this isolated, transacted scenario under the
JDBC-transaction handling. Specifically for hibernate-infinispan call
backs there is no need to obtain the second Connection. So HHH-9993 is
about reducing the overhead of this call by allowing it a way to say "I
need to do some isolated, transacted work but I do not need the Connection".
For this particular use case that is fine: hibernate-infinispan will never
access the Connection. I do worry however about this general use-case. My
concern is specifically that some use cases will attempt to call back into
the Session. At the moment we do not "protect" against that.
I'd like to get some opinions on this.
[1] https://hibernate.atlassian.net/browse/HHH-9993
8 years, 3 months