Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323975 - DiscriminatorType=INTEGER generates SQL strings
Summary: DiscriminatorType=INTEGER generates SQL strings
Status: RESOLVED DUPLICATE of bug 261368
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-30 10:39 EDT by Blair CLA
Modified: 2022-06-09 10:31 EDT (History)
1 user (show)

See Also:


Attachments
Testcase (1.66 KB, text/plain)
2010-08-30 10:42 EDT, Blair CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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