Re: [Firebird-devel] IMetadataBuilder and field names

2016-07-28 Thread Dimitry Sibiryakov
28.07.2016 18:01, Alex Peshkoff wrote: > Take a look at 05.user_metadata.cpp sample. There is IUtil::setOffsets() > method that should help you. Interesting. Thanks. -- WBR, SD. -- Firebird-Devel mailing list, we

Re: [Firebird-devel] IMetadataBuilder and field names

2016-07-28 Thread Alex Peshkoff
On 07/28/2016 06:30 PM, Dimitry Sibiryakov wrote: > 28.07.2016 17:24, Alex Peshkoff wrote: >> You must have your own implementation, not one created by >> IMetadataBuilder. It's trivial. > Implementation of IMessageMetadata is trivial. Assuring compatibility of > message format > with "standar

Re: [Firebird-devel] IMetadataBuilder and field names

2016-07-28 Thread Dimitry Sibiryakov
28.07.2016 17:24, Alex Peshkoff wrote: > You must have your own implementation, not one created by > IMetadataBuilder. It's trivial. Implementation of IMessageMetadata is trivial. Assuring compatibility of message format with "standard" implementation is damn tricky. I hoped to use Metadat

Re: [Firebird-devel] IMetadataBuilder and field names

2016-07-28 Thread Alex Peshkoff
On 07/28/2016 06:17 PM, Dimitry Sibiryakov wrote: > 28.07.2016 17:13, Alex Peshkoff wrote: >>> How field and relation name is supposed to be set in IMessageMetadata >>> built with IMetadataBuilder? >> Obviously empty. > How can I assign a value to them? > > I suppose that's all

Re: [Firebird-devel] IMetadataBuilder and field names

2016-07-28 Thread Dimitry Sibiryakov
28.07.2016 17:13, Alex Peshkoff wrote: >> How field and relation name is supposed to be set in IMessageMetadata >> built with >> > IMetadataBuilder? >> > > Obviously empty. How can I assign a value to them? -- WBR, SD.

Re: [Firebird-devel] IMetadataBuilder and field names

2016-07-28 Thread Alex Peshkoff
On 07/28/2016 06:08 PM, Dimitry Sibiryakov wrote: > Hello, All. > > How field and relation name is supposed to be set in IMessageMetadata > built with > IMetadataBuilder? > Obviously empty. -- Firebird-Devel mai

Re: [Firebird-devel] IMetadataBuilder

2013-11-01 Thread Dimitry Sibiryakov
31.10.2013 15:45, Adriano dos Santos Fernandes wrote: > In external UDR triggers, messages are constructed by name Ok, but what about external UDR procedures?.. What an implementation of ProcedureFactory::setup() is supposed to do? Are inBuilder and outBuilder used to transfer metadata in

Re: [Firebird-devel] IMetadataBuilder

2013-10-31 Thread Dimitry Sibiryakov
31.10.2013 15:45, Adriano dos Santos Fernandes wrote: > In external UDR triggers, messages are constructed by name Ok, but what about external UDR procedures?.. What implementation of ProcedureFactory::setup() is supposed to do? Are inBuilder and outBuilder used to transfer metadata infor

Re: [Firebird-devel] IMetadataBuilder

2013-10-31 Thread Dimitry Sibiryakov
31.10.2013 15:45, Adriano dos Santos Fernandes wrote: > In external UDR triggers, messages are constructed by name (of table > fields) and may not need all the table fields. Do you mean that ProcedureFactory::setup() does not need to construct anything and engine will form metadata for newIte

Re: [Firebird-devel] IMetadataBuilder

2013-10-31 Thread Adriano dos Santos Fernandes
On 31/10/2013 12:38, Dimitry Sibiryakov wrote: >Hello, All. > >As I understand, subj is supposed to be used this way: first, for every > field/parameter > set all required metadata (type, subtype, charset, scale, etc), then call > getMetadata() to > get ready-to-use message block. Is it