Synchronization between two OJB managed dbs

2005-06-08 Thread Nils Liebelt
Hi all, I am a bit helpless with my new synchronize task. We got a OJB managed Web application. All entries/tables have their unique OJB ids. Now we need to write an offline version of that app and of course buaha we need to sync them. Is there a way of doing it on the datasource level. I haven't

Synchronization between two OJB managed dbs

2005-06-08 Thread Nils Liebelt
Hi all, I am a bit helpless with my new synchronize task. We got a OJB managed Web application. All entries/tables have their unique OJB ids. Now we need to write an offline version of that app and of course buaha we need to sync them. Is there a way of doing it on the datasource level. I haven't

Deep down

2005-06-01 Thread Nils Liebelt
Hi all, I get a wired Exception thrown by a OJB application seems like something deep out of the MySQL JDBC. Has anybody of you guys seen anything like that? Anybody have a clue. I am using mysql connection 3.0.15. I share the library across a set of web applications. The error only occures when

Deep down

2005-06-01 Thread Nils Liebelt
Hi all, I get a wired Exception thrown by a OJB application seems like something deep out of the MySQL JDBC. Has anybody of you guys seen anything like that? Anybody have a clue. I am using mysql connection 3.0.15. I share the library across a set of web applications. The error only occures when

RE: Deep down

2005-06-01 Thread Nils Liebelt
Thanks, I think Fastrack will do for now. :-) mtgglf Nils -Original Message- From: Martin Kalén [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 01, 2005 7:12 PM To: OJB Users List Subject: Re: Deep down Nils Liebelt wrote: I get a wired Exception thrown by a OJB application

RE: Deep down

2005-06-01 Thread Nils Liebelt
Thanks, I think Fastrack will do for now. :-) mtgglf Nils -Original Message- From: Martin Kalén [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 01, 2005 7:12 PM To: OJB Users List Subject: Re: Deep down Nils Liebelt wrote: I get a wired Exception thrown by a OJB application

RE: Howto OJB this...

2005-05-26 Thread Nils Liebelt
I like SQL... :-) -Original Message- From: Carlos Chávez [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 25, 2005 4:13 PM To: 'OJB Users List' Subject: RE: Howto OJB this... Hello Nils. maybe if better use QueryBySQL. Cheers. Carlos Chávez. Nils Liebelt Escribio

RE: Howto OJB this...

2005-05-26 Thread Nils Liebelt
I like SQL... :-) -Original Message- From: Carlos Chávez [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 25, 2005 4:13 PM To: 'OJB Users List' Subject: RE: Howto OJB this... Hello Nils. maybe if better use QueryBySQL. Cheers. Carlos Chávez. Nils Liebelt Escribio

RE: Howto OJB this...

2005-05-25 Thread Nils Liebelt
No ReportQueries, way to complicated. Just addSql... GreetZ Nils -Original Message- From: Carlos Chávez [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 9:01 PM To: OJB Users List Subject: Re: Howto OJB this... Nils Liebelt Escribio :-) Hi all, having trouble to build an ojb

RE: Howto OJB this...

2005-05-25 Thread Nils Liebelt
No ReportQueries, way to complicated. Just addSql... GreetZ Nils -Original Message- From: Carlos Chávez [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 9:01 PM To: OJB Users List Subject: Re: Howto OJB this... Nils Liebelt Escribio :-) Hi all, having trouble to build an ojb

Howto OJB this...

2005-05-24 Thread Nils Liebelt
Hi all, having trouble to build an ojb that fetches similar rows to this: /* * SELECT * * FROM `SALESACTIVITY` WHERE ownerId = 'lalala' * GROUP BY contactId * HAVING MAX( nextDate ) NOW( ) */ If anybody can help? GreetZ Nils

Howto OJB this...

2005-05-24 Thread Nils Liebelt
Hi all, having trouble to build an ojb that fetches similar rows to this: /* * SELECT * * FROM `SALESACTIVITY` WHERE ownerId = 'lalala' * GROUP BY contactId * HAVING MAX( nextDate ) NOW( ) */ If anybody can help? GreetZ Nils

PBLifeCycleListener

2005-05-23 Thread Nils Liebelt
Hi all, Is there a way that you can fire PBLifeCycleEvents for your nested objects? Probably an example explains more what I want: I got an businessobject Account which has a Collection of Documents. The Account extends an AbstractClass which provides store() and delete() functions as well as an

PBLifeCycleListener

2005-05-23 Thread Nils Liebelt
Hi all, Is there a way that you can fire PBLifeCycleEvents for your nested objects? Probably an example explains more what I want: I got an businessobject Account which has a Collection of Documents. The Account extends an AbstractClass which provides store() and delete() functions as well as an

OJB cache :: Best Practise

2005-05-17 Thread Nils Liebelt
Hi all, Having some trouble with the OJB caching. I use the default implementation which should give a global cache for all Brokers. My Business objects have a store() method that inserts/updates this object towards the db and removes this object from the cache with the removeFromCache()

OJB cache :: Best Practise

2005-05-17 Thread Nils Liebelt
Hi all, Having some trouble with the OJB caching. I use the default implementation which should give a global cache for all Brokers. My Business objects have a store() method that inserts/updates this object towards the db and removes this object from the cache with the removeFromCache()

OJB cache :: Best Practise

2005-05-17 Thread Nils Liebelt
Hi all, Having some trouble with the OJB caching. I use the default implementation which should give a global cache for all Brokers. My Business objects have a store() method that inserts/updates this object towards the db and removes this object from the cache with the removeFromCache()

OJB cache :: Best Practise

2005-05-17 Thread Nils Liebelt
Hi all, Having some trouble with the OJB caching. I use the default implementation which should give a global cache for all Brokers. My Business objects have a store() method that inserts/updates this object towards the db and removes this object from the cache with the removeFromCache()

Displaying data :: Best practise

2005-04-19 Thread Nils Liebelt
What goes to the front (for viewing purposes)? For capturing data we use ActionForms! But how do you display data (from your model) nicely? Send Businesobjects, Businessobjects stuffed in Beans, ActionForm or something else to the view layer? Regards, Nils

RE: Displaying data :: Best practise

2005-04-19 Thread Nils Liebelt
Thanks, But wrong list. Actually meant to go into Struts user list. GreetZ Nils -Original Message- From: Thomas Franke [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 1:52 PM To: OJB Users List Subject: Re: Displaying data :: Best practise Nils Liebelt wrote: What goes

OJB Listener :: Best practise

2005-04-07 Thread Nils Liebelt
Hi everybody, I need a simple Listener which methods get called after insert, update and delete. I just found Listener for Transaction stuff in the API. Any suggestions? GreetZ Nils

RE: OJB Listener :: Best practise

2005-04-07 Thread Nils Liebelt
This looks like good option for me. Thanks Nils -Original Message- From: Martin Kalén [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 5:44 PM To: OJB Users List Subject: Re: OJB Listener :: Best practise Nils Liebelt wrote: I need a simple Listener which methods get

OJB, MySQL, files, memory usage - Best way to go?

2005-02-17 Thread Nils Liebelt
Hi everybody, I am looking for a good way to store files. Right know I just store a link to the file system in the database. But the application is going to be deployed on two servers with two synchronizing MySQL databases. In the current scenario I would have to find a way two synchronize the

RE: Query for a certain class

2005-02-15 Thread Nils Liebelt
I don't really get it!? I got three different tables. E.g. The individual table contains all stuff from contact plus individual specific fields. Same with the user table. If I would use ojbConcreteClass to materialize I would get my User as Individual into the result set. But this is what I try

Update of 1toN relationship

2005-02-09 Thread Nils Liebelt
Hi, I experience a problem while updating a 1toN relationship: I got a contact object with has n service objects. If I create a new service with a certain contactId (foreign key for contact) and store that object, the addressed contact object does not have the newly added service in the

RE: Update of 1toN relationship

2005-02-09 Thread Nils Liebelt
-update = true. Here you are David WIESZTAL. -Original Message- From: Nils Liebelt [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 11:06 AM To: 'OJB Users List' Cc: [EMAIL PROTECTED] Subject: Update of 1toN relationship Hi, I experience a problem while updating a 1toN

Storing of 1 to n relationship fails

2005-01-26 Thread Nils Liebelt
Hi everybody, First of all I am relatively new to OJB. I have a persistence class Individual with a Collection of the persistence class Email. If I add Email objects to Individuals collection only the last object of the collection gets inserted. I am using the XDoclet Module. The generated

RE: Storing of 1 to n relationship fails

2005-01-26 Thread Nils Liebelt
Thanks you very much. Gonna try it the morning! Mtgglf Nils -Original Message- From: Thomas Dudziak [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 26, 2005 3:36 PM To: OJB Users List Subject: Re: Storing of 1 to n relationship fails The inverse-foreignkey specifies the field in

RE: Is Mapping Classes on Multiple Joined Tables supported?

2004-12-30 Thread Nils Liebelt
Hi Vadim, Stick to the Repository file I posted earlier! If you don't use the abstract modifier for the super class it works. Regards, Nils - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: Installation trouble

2004-12-29 Thread Nils Liebelt
Users List Subject: Re: Installation trouble Nils Liebelt wrote: Hi everybody, First of all: I am new to OJB! Got the ojb-blank.jar and made a project out of it. After changing the build.properties and .classpath I can execute the build target and Xdoclet target. But I get trouble when I try

RE: Installation trouble

2004-12-29 Thread Nils Liebelt
Thanks. That's how I did it but still a little wired?! Nils -Original Message- From: Thomas Dudziak [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 29, 2004 11:41 AM To: OJB Users List Subject: Re: Installation trouble Nils Liebelt wrote: Strange cause I am using 1.4.2.05!? I

Inheritance based on joined tables

2004-12-29 Thread Nils Liebelt
Can someone give me a little xdoclet-example of an inheritance relationship using joined tables. I always get errors. This is what I got now for class A: /** * @author Nils Liebelt * @ojb.class table=Contact determine-extents=true */ public abstract class Contact { /** * Primary key field

Howto handle inheritance with an abstract classes

2004-12-29 Thread Nils Liebelt
Hi, I am struggling with a simple extend of an abstract class, trying to use multiple joined tables. I get following MetadataException: Can't create new base class object for 'za.co.ibn.datasolutions.entities.Contact' A soon as I remove the abstract modifier everything works. Here's my

Installation trouble

2004-12-28 Thread Nils Liebelt
Hi everybody, First of all: I am new to OJB! Got the ojb-blank.jar and made a project out of it. After changing the build.properties and .classpath I can execute the build target and Xdoclet target. But I get trouble when I try to use the setup-db. It seems there are libraries missing! The build