You are not logged in.
Pages: 1
Try to use another sample using Zeos, e.g. start from https://github.com/synopse/mORMot/tree/ … M%20Server
I don't undersand... even using this example, the only way I know to configure the ORM with ZEOS/firebird is using TSQLDBZEOSConnectionProperties which is defined in SynDBZeos which is not portable (only available on Windows platform)
What am I missing????
Many thanks ab to answer me so quickly, and thx for your opensource framework...
I can use ZEOS on Linux (using a TZConnection)
What I don't know/understand is how I can configure the mORMot ORM since SynDBZeos is only used on Windows Platform:
In TestSQL3.pas, SynDBZeos is used inside a {$ifdef MSWINDOWS} condition!
I failed trying to compile this unit on linux...
Is the ORM on Linux fully functional? I saw a warleyalex youtube video where it works...
If yes, how can it be configured since TSQLDBZEOSConnectionProperties seems to work only on windows platform... (I must use Firebird db server)?
I ran TestSQL3 on a Xubuntu box (FPC 3.1.1) and I have a lot of mORMot failures raising EVariantError. Does this come from a compilation problem or is it "normal" (not yet implemented on Linux)?
It works! I forgot calling CreateMissingTables before fetching data.
Seems promising...
I have already existing databases and a firebird server:
I can easily play with direct SQL using TSQLDBZEOSConnectionProperties but I would like to use the ORM stuff... possible?
I just meet a mORMot some weeks ago (and would like to adopt it!) ...
I have to work with Legacy code of a 10 years old application: 1.400.000 lines of Delphi code designed with RAD, I mean thousands of manual sql queries directly coded in VCL Control event callbacks :-(
I have some architecture experience (SOA/MVC/MVVM...) but I come from C++/J2EE world and I am a Pascal/Delphi newbie.
So I am looking for tools/libs/frameworks to smoothly improve the code maintainability/scalability...
I (urgently!) need to find a way to:
+ Implement tracing/logging stuff
+ Split business, GUI and DataStorage code in layers
+ Make the API testable
+ Auto generate the code doc ala doxygene or javadoc
Regarding to the mORMot documentation that I tried to read carefully, it seems that the framework could fulfill my need...
I started to code some tests this week to validate that I could go with mORMot but I failed to configure the ORM with Firebird:
- I have successfully configured a TSQLDBZEOSConnectionProperties so I can use sql, it works fine (and fast!)
- As specified in the 8.3.3. Database-first ORM doc, I have a very simple TSQLRecord class that I "register/map" to match my db using VirtualTableExternalMap
- I tried a lot of different ways to create a TSQLRest instance to be able to call CreateAndFillPrepare but I failed
Could you please help me to start with a very simple mORMot-ZEOS-Firebird example with existing db?
Pages: 1