Hi all,
if you’d like to drop the “get"-prefix from your DataObject accessor methods,
here’s a pom-file and a template to help. The pom/template combination
generates a BeanInfo class for each entity that java reads to check the names
of getter and setter methods. If you use this, Cayenne will f
Reposting my question, just in case.
-- Forwarded message --
From: Fredrik Widengren
Date: 2016-04-14 22:17 GMT+02:00
Subject: StoredProcedures and Cayenne
To: user@cayenne.apache.org
Hello,
I'm trying to launch a stored procedure which is returning rows with a
number of column
Hello,
I'm trying to launch a stored procedure which is returning rows with a
number of columns.
I try to follow the documentation but don't understand why I get these
errors.
As you can see, the text "After query" is not printed in the log. Which I
then assume mean that something goes wrong in
Here is the Cayenne issue about Android support. You can follow those
steps to get a working version. I only tried using ROP to access a remote
server, but accessing a local database should work too.
https://issues.apache.org/jira/browse/CAY-1604
John
On Tue, Apr 12, 2016 at 7:16 AM Andrus Ada
Not completely germane to the discussion, but keep in mind that
modifiedObjects() can return far more objects than you expect since it
includes all phantom changes:
user.gerFirstName() => "John"
user.setFirstName("John") => Modified Object/Phantom Change
These types of phantom changes happen quit
Great, thanks!
- hugi
> On 14. apr. 2016, at 08:50, Andrus Adamchik wrote:
>
> Here is a shorter version:
>
> ExpressionFactory.inDbExp( User.ID_PK_COLUMN, 1, 2, 3)
>
>> On Apr 14, 2016, at 11:15 AM, Hugi Thordarson wrote:
>>
>> Ah, of course, I can qualify on the DB path even if “id” is
Here is a shorter version:
ExpressionFactory.inDbExp( User.ID_PK_COLUMN, 1, 2, 3)
> On Apr 14, 2016, at 11:15 AM, Hugi Thordarson wrote:
>
> Ah, of course, I can qualify on the DB path even if “id” is not a class
> attribute. Is this the correct way to go about this?
>
> new ASTIn( new ASTDbP
Thank you much appreciated.
regards Malcolm
On Thu, Apr 14, 2016 at 4:42 PM, Andrus Adamchik
wrote:
> Hi Malcolm,
>
> Yeah, going to the connection level is probably the way to solve this. You
> will need to wrap your commit / select code in a manual transaction, which
> is fairly easy in 4.0 [
Ah, of course, I can qualify on the DB path even if “id” is not a class
attribute. Is this the correct way to go about this?
new ASTIn( new ASTDbPath( User.ID_PK_COLUMN ), new ASTList( someListOfIDs() ) )
Thanks,
- hugi
> On 14. apr. 2016, at 06:34, Andrus Adamchik wrote:
>
> Actually a sim