General

Profile

Oleg Artenii

  • Login: arteniioleg
  • Are you a spammer?: No
  • Registered on: 10/05/2017
  • Last connection: 11/30/2017

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 3 3 6

Activity

12/26/2017

01:07 PM Wt Feature #6130: Impossible to access entity relation of an entity returned from a function | Dbo load(): no active transaction
This issue is not urgent anymore.
We migrate from Wt::Dbo to libpqxx because we refactored the database layer and W...
Oleg Artenii

11/30/2017

11:13 AM Wt Feature #6130: Impossible to access entity relation of an entity returned from a function | Dbo load(): no active transaction
- ~~Every Entity must have access to Session instance~~
- ~~Entity getters will create a Transaction before acces...
Oleg Artenii
10:55 AM Wt Feature #6130: Impossible to access entity relation of an entity returned from a function | Dbo load(): no active transaction
I will "fix" this by encapsulating `Wt::Dbo::ptr` and the **getter** will **do the query and return `std::unique_ptr`... Oleg Artenii

11/15/2017

03:16 PM Wt Feature #6130: Impossible to access entity relation of an entity returned from a function | Dbo load(): no active transaction
Is `Session::load()` recursive? If parent will also have some relations, will they be loaded or I need to call `Sessi... Oleg Artenii
03:14 PM Wt Feature #6130: Impossible to access entity relation of an entity returned from a function | Dbo load(): no active transaction
Any ETA?
------------------------------------------------------------------------
So I should use `Session::load()`...
Oleg Artenii

11/14/2017

08:18 AM Wt Feature #6131: Why Transaction is not movable?

> Note that in any case, Transaction has a session() method, so you can always access the underlying Session object....
Oleg Artenii

11/13/2017

04:47 PM Wt Feature #6131 (Closed): Why Transaction is not movable?
https://github.com/emweb/wt/blob/3175635b60f3389bb1f9d01e4107436f29054229/src/Wt/Dbo/Transaction.h#L92-L94
In my pro...
Oleg Artenii
04:28 PM Wt Feature #6130: Impossible to access entity relation of an entity returned from a function | Dbo load(): no active transaction
Or a way to tell `find()` to load all relations at once so the object can be safely used outside any transaction.
Oleg Artenii
04:13 PM Wt Feature #6130 (New): Impossible to access entity relation of an entity returned from a function | Dbo load(): no active transaction
`main.cpp`
----------
#include <iostream>
#include <memory>
#include <Wt/Dbo/Dbo.h>
#include <Wt/Dbo...
Oleg Artenii
11:10 AM Wt Feature #6122: Compare == operator for Wt::Dbo::Session
I don't copy/move.
------------------------------------------------------------------------
I tried different combi...
Oleg Artenii

Also available in: Atom