Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 520889 - retryQuery throws ValidationException on non-relational platforms
Summary: retryQuery throws ValidationException on non-relational platforms
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 522536 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-08-11 06:45 EDT by Lukas Jungmann CLA
Modified: 2022-06-09 10:21 EDT (History)
1 user (show)

See Also:


Attachments
proposed fix (2.11 KB, patch)
2017-08-11 06:51 EDT, Lukas Jungmann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann CLA 2017-08-11 06:45:39 EDT
Local Exception Stack: 
Exception [EclipseLink-7108] (Eclipse Persistence Services - 2.7.0.v20170811-05a2d72): org.eclipse.persistence.exceptions.ValidationException
Exception Description: This operation is not supported for non-relational platforms.
	at org.eclipse.persistence.exceptions.ValidationException.notSupportedForDatasource(ValidationException.java:588)
	at org.eclipse.persistence.internal.sessions.AbstractSession.getLogin(AbstractSession.java:2741)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1923)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1874)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1824)
	at org.eclipse.persistence.internal.sessions.AbstractSession.readObject(AbstractSession.java:3788)
	at org.eclipse.persistence.testing.tests.eis.aq.OrderQueueTest.testReadTimeout(OrderQueueTest.java:222)
Comment 1 Lukas Jungmann CLA 2017-08-11 06:51:55 EDT
Created attachment 269801 [details]
proposed fix
Comment 3 Lukas Jungmann CLA 2017-09-21 04:06:44 EDT
*** Bug 522536 has been marked as a duplicate of this bug. ***
Comment 4 Frank Caputo CLA 2017-12-06 07:13:19 EST
The fix simply disables the feature for non DatabaseLogins. Why not move getQueryRetryAttemptCount() to DatasourceLogin?
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:14:03 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:21:43 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink