Hi lists reader :)
i've a problem with creating sql statements with persistent objects of ezc.
The following Code:
$ezcSession = ezcPersistentSessionInstance::get();
$query = $ezcSession-createFindQuery('Yela_Persistence_Core_Acl_Rules');
var_dump($query-getQuery());die();
./application/sources/database/persistence/
(Maybe) ezcDbSchema doesn't recognize the correct types of attributes if
there are multiple primary keys on a table.
greetings
René
Derick Rethans schrieb:
On Wed, 28 Apr 2010, Christoph René Pardon wrote:
There are some attributes missing in my
Hello community,
i have a problem with ezcPersistentSessionIdentityDecorator. After
creating definition files i tried to create a select statement to fetch
all rows from all dependent tables. The createt statements works fine
within MySQL-Querybrowser but not with a find() or findWithRelations
Hi Tobias,
no, i only use one of both methods. Both together make no sense.
If i try $ezcSession-findWithRelations($query) the following exception
is thrown:
Fatal error: Call to private method
ezcPersistentSessionIdentityDecorator::findWithRelations() from context
'Admin_Service_User' in
result within the
persistent session?!
Something like:
$ezcSession-setDataManually($result);
greetings René
Tobias Schlitt schrieb:
Hi Christoph,
On 04/24/2010 11:08 AM, Christoph René Pardon wrote:
no, i only use one of both methods. Both together make no sense.
If i try $ezcSession
Hi,
sorry for any inconvenience. Now i've solved my problem by setting:
private $_id;
to:
public $id;
:)
Hi,
first of all, my problem:
Exceptioninformation:
Message: The object of type Yela_Persistence_Users is not persistent.
Stack trace:
#0
Hi,
first of all, my problem:
Exceptioninformation:
Message: The object of type Yela_Persistence_Users is not persistent.
Stack trace:
#0
var/www/YelaCMS/library/ezc/PersistentObject/src/persistent_session.php(127):
ezcPersistentLoadHandler-refresh(Object(Yela_Persistence_Users))
How do i