I am running cayenne 1.2.4
I wonder if there is an easy explanation for this NPE.
I am deploying as a webapp with cayenne.jar and the mapping DataObjects and
mapping files packaged in a separate jar.
This setup usually works. On some context on production I see this NPE .
Caused by: java.lang.
Hi,
I have many web apps sharing the same cayenne/mapping objects. I want to
share my cayenne classes among these web apps. I have packaged the classes
successfully in a jar together with the cayenne.xml using a jndi data source
and the Map xml file. I have put this jar in the shared lib level of
Hi,
I am getting this exception when committing.
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
at java.util.HashMap$EntryIterator.next(HashMap.java:834)
at java.util.HashMap$EntryIterator.next(HashMap.java:832)
st be broadcast, but selects do not. I'm sure
> someone will correct me if I am wrong on this. :-)
>
> mrg
>
>
> On Thu, Jul 30, 2009 at 5:23 PM, Tobias
> Schoessler wrote:
> > So thank you for all the suggestions. The solution we finally ended up
> with
Lucas, my experience with mysql Autoincrement fields is that you have to map
them as Long. there is some bug in the mysql jdbc driver which returns wrong
meta information types if the field is set to autoincrement and some other
type than BigInt.
See http://lists.mysql.com/java/6383
On Thu, Jul
es anybody have
experience/numbers how much performance you loose when using jgroups
syncronised caches compared to local cache?
thanks again everyone.
On Thu, Jul 30, 2009 at 10:47 AM, Tobias Schoessler <
tobias.schoess...@gmail.com> wrote:
> Thanks everyone for the posts.
>
&
ted and there
> > will be more examples/end users to ask questions of. There might even
> > be a tomcat shared session protocol out there somewhere.
> >
> >
> > On Wed, Jul 29, 2009 at 4:16 PM, Tobias
> > Schoessler wrote:
> >> well i am reading this from
nternally to broadcast events between sessions, so I
> know it's not difficult to set up and define your own event
> broadcaster. My guess is that doing it for javagroups is pretty easy
> since it sounds like a matter of just filling in the forms on the
> modeler.
>
> On Wed,
t;
> http://cayenne.apache.org/doc/configuring-caching-behavior.html
>
> On Wed, Jul 29, 2009 at 12:46 PM, Tobias
> Schoessler wrote:
> > Hi,
> >
> > is it possible to sync the cayenne cache of two web applications running
> in
> > the same tomcat?
> &g
Hi,
is it possible to sync the cayenne cache of two web applications running in
the same tomcat?
I observe one web app showing outdated data when the other is committing
updates. Both apps are using the same mapping configuration.
Do I need to use remote notification for this?
thanks
Tobias
tion requires a bit of magic.
>> cayenne-modeler-java-3.0-SNAPSHOT.jar is a jar of a jar. So it needs to be
>> unpacked, and inside you'll see runnable CayenneModeler.jar.
>>
>> Andrus
>>
>>
>> On May 13, 2009, at 12:45 PM, Tobias Schoessler wrote:
>
DataContext, greatly enhanced Modeler, lifecycle
> callbacks, more supported attribute types, including Java 5 enums, etc.,
> etc.)
>
> Andrus
>
>
>
> On May 12, 2009, at 4:37 AM, Tobias Schoessler wrote:
>
> I just downloaded 3.0. Started up the Modeler and did the same re
I just downloaded 3.0. Started up the Modeler and did the same remove /
reengineer / skip existing operation and I got the same empty error message
as with 1.2.
On Tue, May 12, 2009 at 9:48 AM, Tobias Schoessler <
tobias.schoess...@gmail.com> wrote:
> Thanks Andrus, I have postedit as
009 at 2:50 AM, Andrus Adamchik wrote:
> Hi Tobias,
>
> This looks like a bug to me. Probably worth opening a bug report, but the
> easiest thing would be to upgrade to Cayenne 3.0 for instance. Chances are
> this problem is fixed there already.
>
> Andrus
>
>
>
&g
Hi,
I get an error in the CayenneModeler 1.2.4 when reverse engineering my
schema partially.
CayenneModeler INFO [Thread-13 04-27 15:02:50]
org.objectstyle.cayenne.modeler.dialog.db.DbLoaderHelper: Exception on
reverse engineering
java.lang.NullPointerException
at
org.objectstyle.cayenn
n).
Andrus
On Feb 21, 2008, at 5:49 PM, Tobias SCHOESSLER wrote:
> Hi Andrus, I did in fact forget about that.
>
> I was looking for an easy way to recreate parts of the object
> network to transfer between stages of our application. E.g. create
> SQL for a data set to inse
s in a PreparedStatement format, so it will not
be usable for say manual execution from a SQL client.
Andrus
On Feb 21, 2008, at 2:55 PM, Tobias SCHOESSLER wrote:
> Hi,
>
> is there a way to get the update/insert SQL statements ( e.g. as a
> String ) that cayenne would exe
Hi,
is there a way to get the update/insert
SQL statements ( e.g. as a String ) that cayenne would execute with a commit,
without actually committing to the db?
thank you
Tobias
Why is cayenne surrounding non altering
queries with transactions?
We have a setup using a sequoia database
cluster in which any transaction uses resources. Is there a way to configure
cayenne to only commit altering transactions?
thanks
Tobias
you do this on the database level, when creatig the tables, by defining the
foreign keys to be mandatory. e.g. NOT NULL
the exact syntax depends on your database. cayenne picks up these constraints
and checks the values to be set before committing.
Roja Buck <[EMAIL PROTECTED]> wrote:
All,
I think you have to manually map the fk/pk as an attribute. then cayenne knows
the field for ordering.
when reverse engineering a database cayenne does not create attribute mappings
for pks and fks.
Michael Lepine <[EMAIL PROTECTED]> wrote:
In my application, I have a few queries that I've crea
hi,
the sybase adapter used to created a
stored procedure to retrieve the next PK from the AUTO_PK_SUPPORT tabel.
I dont see this in your script, but I don't know if the derby adapter needs
this at all.
Tobias.
Pogs <[EMAIL PROTECTED]>
Friday, 16 February 2007 15:04
Please respond to
22 matches
Mail list logo