[JBoss JIRA] (ISPN-5689) Preserve compatibility with Hibernate 5.0.0.Final
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-5689?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes reassigned ISPN-5689:
---------------------------------------
Assignee: Gustavo Fernandes
> Preserve compatibility with Hibernate 5.0.0.Final
> -------------------------------------------------
>
> Key: ISPN-5689
> URL: https://issues.jboss.org/browse/ISPN-5689
> Project: Infinispan
> Issue Type: Task
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Fix For: 8.0.0.CR1
>
>
> {{org.infinispan.commands.write.AbstractDataWriteCommand}} introduced a final method {{getLockOwner()}} with the same name as a method used by a child class in Hibernate 2LC {{org.hibernate.cache.infinispan.util.BeginInvalidationCommand}}
> To maintain compatibility between Infinispan 8 and Hibernate 5 (already released), that method should be renamed
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 7 months
[JBoss JIRA] (ISPN-5689) Preserve compatibility with Hibernate 5.0.0.Final
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-5689?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-5689:
------------------------------------
Fix Version/s: 8.0.0.CR1
> Preserve compatibility with Hibernate 5.0.0.Final
> -------------------------------------------------
>
> Key: ISPN-5689
> URL: https://issues.jboss.org/browse/ISPN-5689
> Project: Infinispan
> Issue Type: Task
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Fix For: 8.0.0.CR1
>
>
> {{org.infinispan.commands.write.AbstractDataWriteCommand}} introduced a final method {{getLockOwner()}} with the same name as a method used by a child class in Hibernate 2LC {{org.hibernate.cache.infinispan.util.BeginInvalidationCommand}}
> To maintain compatibility between Infinispan 8 and Hibernate 5 (already released), that method should be renamed
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 7 months
[JBoss JIRA] (ISPN-5677) HR putIfAbsentAsync not enforcing withFlags(Flag.FORCE_RETURN_VALUE)
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-5677?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-5677:
-----------------------------------
Fix Version/s: 7.2.5.Final
> HR putIfAbsentAsync not enforcing withFlags(Flag.FORCE_RETURN_VALUE)
> ----------------------------------------------------------------------
>
> Key: ISPN-5677
> URL: https://issues.jboss.org/browse/ISPN-5677
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 6.0.2.Final
> Reporter: Shay Matasaro
> Assignee: Galder Zamarreño
> Fix For: 8.0.0.CR1, 8.0.0.Final, 7.2.5.Final
>
>
> given the following HR client code
> NotifyingFuture<String> f1 = cache.withFlags(Flag.FORCE_RETURN_VALUE).putIfAbsentAsync(key, "1");
> System.out.println(f1.get(10,TimeUnit.MINUTES));
> NotifyingFuture<String> f2 = cache.withFlags(Flag.FORCE_RETURN_VALUE).putIfAbsentAsync(key, "2");
> System.out.println(f2.get(10,TimeUnit.MINUTES));
> both prints print null, where the second one should print "1"
> only when props.put("infinispan.client.hotrod.force_return_values","true") is set specifically when building the CM then the calls work
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 7 months
[JBoss JIRA] (ISPN-5677) HR putIfAbsentAsync not enforcing withFlags(Flag.FORCE_RETURN_VALUE)
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-5677?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño reopened ISPN-5677:
------------------------------------
> HR putIfAbsentAsync not enforcing withFlags(Flag.FORCE_RETURN_VALUE)
> ----------------------------------------------------------------------
>
> Key: ISPN-5677
> URL: https://issues.jboss.org/browse/ISPN-5677
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 6.0.2.Final
> Reporter: Shay Matasaro
> Assignee: Galder Zamarreño
> Fix For: 8.0.0.CR1, 8.0.0.Final
>
>
> given the following HR client code
> NotifyingFuture<String> f1 = cache.withFlags(Flag.FORCE_RETURN_VALUE).putIfAbsentAsync(key, "1");
> System.out.println(f1.get(10,TimeUnit.MINUTES));
> NotifyingFuture<String> f2 = cache.withFlags(Flag.FORCE_RETURN_VALUE).putIfAbsentAsync(key, "2");
> System.out.println(f2.get(10,TimeUnit.MINUTES));
> both prints print null, where the second one should print "1"
> only when props.put("infinispan.client.hotrod.force_return_values","true") is set specifically when building the CM then the calls work
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 7 months