Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CASE_WHEN_THEN_ELSE construction support with FireBird #51

Open
umkaline opened this issue Apr 14, 2020 · 0 comments
Open

Add CASE_WHEN_THEN_ELSE construction support with FireBird #51

umkaline opened this issue Apr 14, 2020 · 0 comments

Comments

@umkaline
Copy link
Contributor

Currently Component fails on select trigger with the following query:

select distinct  
				MATERIALCODE
				,locationid
				,CASE WHEN m.DELIVERYBLOCK= 0 THEN 1 ELSE 0 END AS Active
				,COUNRTYORIGINID
				,ALTERNATIVESUPPLIERNUM
				,MINQTY
				,CASE WHEN DEFAULTPARTNERNUM=ALTERNATIVESUPPLIERNUM THEN 1 ELSE MINQTY END AS USQ
				,AVGDELIVERYPRICE
				,MATERIALALTERNATIVENAME
				,LASTEDITUSERID
				,EXPIRATIONDATE
			from MATERIAL m
			where LOCATIONID = 2

With an error:
java.sql.SQLException: Empty string does not identify column.

Issue disappearing if Case is removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant