-
VadimMest replied to the topic Are components TkbmClientQuery,TkbmMWClientConnectionPool,TkbmClient threadsafe? in the forum kbmMW 5 years, 4 months ago
Hello
I created new TkbmMWClientQuery,TkbmMWClientConnectionPool,TkbmClient, TkbmMWPooledSession objects, I obtaned a new token for a new client object and now it works. Is it right solution?
Thanks
Vadim Mescheryakov -
VadimMest started the topic Are components TkbmClientQuery,TkbmMWClientConnectionPool,TkbmClient threadsafe? in the forum kbmMW 5 years, 4 months ago
Hello
I have application with TkbmMWClientQuery,TkbmMWClientConnectionPool,TkbmClient on datamodule. I create thread with TkbmMWClientQuery with properties ConnectionPool and StreamFormat linked to components on datamodule. After this I catch error on main thread in TkbmMWCustomPooledDataSet.SetActive(Value:boolean). I run Server in Delphi…[Read more]
-
VadimMest replied to the topic kbmMWDebug and UTF16 String in StamtService result in the forum kbmMW 5 years, 4 months ago
Thanks!
-
VadimMest started the topic kbmMWDebug and UTF16 String in StamtService result in the forum kbmMW 5 years, 4 months ago
SmartService
[kbmMW_Rest(‘method:post, path:getdocrow’)]
[kbmMW_Method]
function GetDocRow: string;function TMTRESTService.GetDocRow: String;
var jsonIn, jsonOut: TkbmMWJSONObject;…..
Result := jsonstreamer.SaveToUTF16String(jsonOut);end;
The client and the server works, but kbmMWDebug writes ?????
Result:…[Read more]
-
VadimMest started the topic How can I set "default" procedure for all GET requests for SmartService? in the forum kbmMW 5 years, 4 months ago
Hello
How can I set “default” procedure for all GET requests for TkbmMWCustomSmartService for the purpose returning index.html ?
[kbmMW_Service(‘name:MOWAITER_RESTSERVICE, version:1.0, flags:[listed]’)]
[kbmMW_Rest(‘path:/’)]…….
[kbmMW_Rest(‘method:post, path:mobilewaiter/*’)]
[kbmMW_Method]
function PosFunction:…[Read more] -
VadimMest replied to the topic ORM with UNIDAC and Firebird doesn't get object and object list in the forum kbmMW 5 years, 6 months ago
If I call ORM.Query with TkbmMWTransaction it will work fine.
Thanks
Vadim Mescheryakov -
VadimMest started the topic ORM with UNIDAC and Firebird doesn't get object and object list in the forum kbmMW 5 years, 7 months ago
Dear Kim
kbmMW 5.14.0. ORM with UNIDAC and Firebird
All ORM queries don’t return object and list of object if I call function without transaction in parameters.
I see in DbMonitor this problem: Default transaction is started, query is executed and default transaction is committed before object was created from dataset, may be before dataset w…[Read more]
-
VadimMest replied to the topic Transporent gzip compressing for JSON in AJAX server in the forum kbmMW 5 years, 7 months ago
I look forward to
Thanks
-
VadimMest replied to the topic Transporent gzip compressing for JSON in AJAX server in the forum kbmMW 5 years, 7 months ago
Dear Kim
>I will see if I can make it an easy built in support.
I didn’t figure out how compress result. Did you make support for compress in current version kbmMW?
Thanks
Vadim Mescheryakov -
VadimMest replied to the topic ORM Standalone Demo project doesn't compile in 5.12.10 and Delphi XE5 in the forum kbmMW 5 years, 7 months ago
Hello
This code works:
orm.UpgradeTable(TArray<TClass>.Create(TMRDOC,TMRDOCROW));Thanks
Vadim Mescheryakov
-
VadimMest replied to the topic ORM doesn't fit for working with Firebird and UNIDAC in the forum kbmMW 5 years, 7 months ago
Dear Kim
I fixed your code for changing metadata in Firebird tables (SQLDialect 1). I changed some sql and data type definitions.
Can I send changed units to you?
-
VadimMest replied to the topic ORM with UNIDAC and Firebird CreateOrUpgradeTable doesn't commit transaction in the forum kbmMW 5 years, 7 months ago
Hello
>DDL operations are usually not handled under transactional control in SQL.
Procedure orm.CreateOrUpgradeTable(TMROWNER) doesn’t finish a creating table in Firebird 2.5 and Firebird 3. The table does not exists in database.
In Firebird Database “CREATE TABLE”, “ALTER TABLE” definitely need a Commit. I can send test project with Fi…[Read more] -
VadimMest replied to the topic ORM. Оbject's property and system fields in database. in the forum kbmMW 5 years, 7 months ago
Dear Kim
Thanks!
-
VadimMest commented on the post, USB HID support in kbmMW – #1 – Card readers 5 years, 7 months ago
Hello
I didn’t see this component (TkbmMWGenericBarcodeReaderHID) in kbmMW Enterprise Edition 5.13.10
Thanks -
VadimMest started the topic ORM. Оbject's property and system fields in database. in the forum kbmMW 5 years, 7 months ago
Hello
I use few system fields in all tables
- DATEACTION
- RECORDCOLOR
- RECORDFONT
- STATUS
How can I create this fields with ORM, but hide those fields in object marshaling?
-
VadimMest started the topic ORM Standalone Demo project doesn't compile in 5.12.10 and Delphi XE5 in the forum kbmMW 5 years, 7 months ago
procedure TForm6.btnCreateTableClick(Sender: TObject);
begin
orm.CreateOrUpgradeTable([TPerson,TAccount,TImage{,TBackupImage}]);
end;[dcc32 Error] Unit1.pas(157): E2001 Ordinal type required
[dcc32 Error] Unit1.pas(157): E2010 Incompatible types: ‘Integer’ and ‘class of TImage’How to fix it?
-
VadimMest started the topic ORM doesn't fit for working with Firebird and UNIDAC in the forum kbmMW 5 years, 7 months ago
Hi
I tried use ORM with Firebird database + UNIDAC and I failed. There are a lots of errors and problem. As example
- Modify Colum: ALTER TABLE MR_DOC ALTER COLUMN DATEDOC TIMESTAMP
- Some error with transaction in TkbmMWCustomConnection.StartTransaction (Can’t perform operation on active transaction)
Does it even work?
-
VadimMest replied to the topic ORM with UNIDAC and Firebird CreateOrUpgradeTable doesn't commit transaction in the forum kbmMW 5 years, 7 months ago
I try create new table by object TMRDOC (table MR_DOC)
orm.CreateOrUpgradeTable(TMRDOC);
How can I turn on transaction commit?
This is the SQL log:
05.02.2021 22:24:30 n/a UniDAC monitoring is started Complete
05.02.2021 22:24:36 0.109 Connect: SYSDBA@127.0.0.1 Complete
05.02.2021 22:24:36 0.000 Start: Complete
05.02.2021 22:24:36 0.000…[Read more] -
VadimMest started the topic ORM with UNIDAC and Firebird CreateOrUpgradeTable doesn't commit transaction in the forum kbmMW 5 years, 7 months ago
Hi
ORM with UNIDAC and Firebird
Procedure orm.CreateOrUpgradeTable doesn’t commit transaction.
-
VadimMest started the topic in the forum kbmMW 5 years, 7 months ago
I try create new table by object TMRDOC (table MR_DOC)
orm.CreateOrUpgradeTable(TMRDOC);
How can I turn on transaction commit?
This is the SQL log:
05.02.2021 22:24:30 n/a UniDAC monitoring is started Complete
05.02.2021 22:24:36 0.109 Connect: SYSDBA@127.0.0.1 Complete
05.02.2021 22:24:36 0.000 Start: Complete
05.02.2021 22:24:36 0.000…[Read more] - Load More
