0
votes
Vote UpVote

Spring4d Marshmallow ORM – ensuring the right identifier quoting is used

The Wiert Corner – When an ORM generates the SQL for a certain database back-end, it needs to use the right quoting. Normally, the Spring4D Marshmallow project derives that from the back-end specific adapter used. But if you use a generic TDriverConnectionAdapter, then you need to manually set the QueryLanguage property in your IDBConnection using a valid value from Spring.Persistence.SQL.Interfaces. This then uses the correct SQLGenerator from the TSQLGeneratorRegister to generate the SQL including correct quotes. To quote identifiers, most back-ends use a double quote, but MySQL uses a backtick. via: ...
Favorite? Off-Topic? jpluimers @ 2019-10-29 06:04

Statistics

Visits: 118
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)