Hey,

2015-04-09 21:47 GMT+02:00 Freddy Martinez Garcia <freddy311...@gmail.com>:

> Hi guys… I have some questions for you
>
> I’m developing an application using Qt where we generate dynamically a lot
> of table in our database. For that reason, we don’t have a class design to
> map our tables with each table generated.
>
> so, in my design, everything that we need to make in the database is
> through store procedures. My questions are:
>
> 1.- how ease is to handle store procedures using Wt::Dbo?
>

Session::execute() will call a stored procedure but it cannot be used to
retrieve a result.

There is a pending feature request to properly support stored procedure
syntax in Wt::Dbo (http://redmine.webtoolkit.eu/issues/2513) when it
returns a result, but we currently lack a use-case example.


> 2.- if I have two instances of my client application, when I change one
> table in the database, how can I  know it from client side throwing a
> trigger in the database side… ? can I do that ?
>

You will need another communication system (besides the database) to alert
other sessions if you want that.


> 3.- It’s good idea use Wt::Dbo in my design ? in that case, can you give
> me some advise ?
>

If you do not work with tables and relations mapping to classes and
collections, then there's not a lot of Wt::Dbo to gain from, imho, except
for a database abstraction allowing you to more easily switch from one
database to another.

Regards,
koen
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to