Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 323975

Summary: DiscriminatorType=INTEGER generates SQL strings
Product: z_Archived Reporter: Blair <xdumbo6473>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: guy.pelletier
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Testcase none

Description Blair CLA 2010-08-30 10:39:24 EDT
Build Identifier: Eclipselink 1.1.0

This may be related to bug 303770.  I defined a class using @Inheritance(strategy=InheritanceType.SINGLE_TABLE) and 
@DiscriminatorColumn(discriminatorType=DiscriminatorType.INTEGER) but the generated SQL insists on treating the discriminator column as a string.  Discussion begins with message #390043 and testcase will be attached.

Reproducible: Always

Steps to Reproduce:
See attached testcase
Comment 1 Blair CLA 2010-08-30 10:42:28 EDT
Created attachment 177737 [details]
Testcase
Comment 2 Guy Pelletier CLA 2010-09-10 09:13:36 EDT
This should have been corrected with the fix for bug 261368

*** This bug has been marked as a duplicate of bug 261368 ***
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:31:39 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink