Questions tagged [wt-dbo]

Wt::Dbo is a C++ ORM (Object-Relational-Mapping) library.

Wt::Dbo is a C++ ORM (Object-Relational-Mapping) library.

See http://www.webtoolkit.eu/wt/doc/tutorial/dbo/tutorial.html

3 questions
4
votes
2 answers

Circular dependency in Wt::Dbo

Wt recommends to use forward declarations to avoid circular dependencies. // Settings.h #include #include class User; // Forward declaration of User Wt::Dbo object class Settings { public: Wt::Dbo::ptr user; …
m7913d
  • 10,244
  • 7
  • 28
  • 56
1
vote
1 answer

Wt Segfault on ORM Transaction Commit

http://www.webtoolkit.eu/wt/doc/tutorial/dbo.html says The complete source code for the examples used in this tutorial are available as ready-to-run programs in the examples/feature/dbo/ folder of Wt. I'm trying to run tutorial1.C from that…
lmat - Reinstate Monica
  • 7,289
  • 6
  • 48
  • 62
0
votes
1 answer

How do you use Dbo::QueryModel?

I am trying to develop an application in Wt, namely with the Dbo module and a QueryModel to show in a WTableView. However, as I try to do this, dbo::QueryModel< dbo::ptr > *model = new dbo::QueryModel< dbo::ptr
overscore
  • 513
  • 4
  • 15