and I don't want these fields to be
writable.
Cheers
Cordialement,
Pierre Lavignotte
Ingénieur Conception & Développement
http://pierre.lavignotte.googlepages.com
On Mon, Feb 2, 2009 at 3:15 PM, Eric Lazarus wrote:
> I can't let this point(er) go buy: JUST SAY NO TO MEANINGFUL
I don't think his question is about sequence usage but about selecting rows
with specific PK values...
Cordialement,
Pierre Lavignotte
Ingénieur Conception & Développement
http://pierre.lavignotte.googlepages.com
On Mon, Feb 2, 2009 at 2:25 PM, Alessio Giovanni Baroni <
alessio
() {
return DataObjectUtils.intPKForObject(this);
}
There are similar methods for when primary key is not an integer value.
Cheers
Cordialement,
Pierre Lavignotte
Ingénieur Conception & Développement
http://pierre.lavignotte.googlepages.com
On Mon, Feb 2, 2009 at 2:14 PM, Νίκος Παρά
Hi Nikos,
If you need PK for all your tables, then maybe you need to generate them.
But if you only need to use them for a couple tables then you should look at
DataObjectUtils class.
Cheers,
Pierre
Cordialement,
Pierre Lavignotte
Ingénieur Conception & Développement
he Modeler ? It is really helpfull to define you graph.
(Just see the mail from Robert Zeigler, seems that I am out of date with the
3.0 version...)
Cordialement,
Pierre Lavignotte
Ingénieur Conception & Développement
http://pierre.lavignotte.googlepages.com
On Fri, Dec 26, 2008 at 9:05 P
e the list can be in memory.
I know it's not logical but I'm quite sure I allready encontered this case.
I use Cayenne 2.0.4 so Cayenne 3.0 can differ in some points.
Pierre
Cordialement,
Pierre Lavignotte
Ingénieur Conception & Développement
http://pierre.lavignotte.googlepages.com
ot;Delete
> USER where name = 'name'" is not a good option... neither creating a new
> key
> column to do this.
>
> Thanks in advance.
>
> Cheers
>
--
Cordialement,
Pierre Lavignotte
Ingénieur Conception & Développement
http://pierre.lavignotte.googlepages.com
know how to set the Cayenne with postgres to always make an
> insert realize a nextval on the sequence postgres.
>
> thank
>
--
Cordialement,
Pierre Lavignotte
Ingénieur Conception & Développement
http://pierre.lavignotte.googlepages.com
maps this way:
> >
> > > length="100"/>
> > > isPrimaryKey="true" isMandatory="true"/>
> >
> >
> >
> > type="java.lang.String"
> > db-attribute-path="descripcion"/>
> >
> >
> >
> > Pk Generation strategy = Default.
> >
> >
> > user@cayenne.apache.org
> >
> >
> > Thanks for reading
> >
>
--
Cordialement,
Pierre Lavignotte
Ingénieur Conception & Développement
http://pierre.lavignotte.googlepages.com
n the standard ones...
Pierre
On Tue, Oct 7, 2008 at 6:29 PM, Scott Anderson <[EMAIL PROTECTED]>wrote:
> Someone asked a similar question before - the clever solution was to map
> the field in the modeler as if it were part of a separate table.
>
> -Original Message-
&g
Hello,
I use Apache Cayenne for a while now with no problem, but I went into a new
issue today.
I have an Oracle data table containing 2 BLOB fields.
When I get the rows from this table, Cayenne also fetches the BLOB data, so
the query is very long, or I get a time out exception.
I tryed :
11 matches
Mail list logo