Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
|Download • Git
|Forums • Blog • Twitter • G+
SqlStyle is a Scout concept used to have SQL code that is independent from the database engine.
Eclipse Scout needs to check if the database is available or not. There is no simple SQL statement that works on every database engine. That is the reason why this is delegated the SQL Style method
SELECT 1 FROM SYSIBM.SYSDUMMY1
For MySql, Oracle:
SELECT 1 FROM DUAL
For Microsoft :
SELECT COUNT(1) FROM dbo.sysobjects
Eclipse Scout is shipped with some SqlStyles: