Re: What are Transaction limits with autoupdate = true.?

2005-04-19 Thread Alessandro Colantoni
Hi Change are really written to the database. I get an error of MsSQLServer. On 4/19/05, Armin Waibel <[EMAIL PROTECTED]> wrote: > > Hi, > > are the changes really writen to database or is it a caching issue? > > regards, > Armin > > Alessandro Colantoni wrote: > > Hi all!. > > In a mehod

Re: Infinite looping with circular dependency between objects and refresh=true

2005-04-19 Thread Armin Waibel
Martin Taal wrote: Hi Armin, Yes I just tested it with the 1.0.3 cvs branch and it is reproducable. Strewth! Do you want me to enter an issue in jira with an attached example (maybe my setup is wrong?)? yes please. I will try to setup an test case for this issue. Regards, Armin gr. Martin Armin

Re: Infinite looping with circular dependency between objects and refresh=true

2005-04-19 Thread Martin Taal
Hi Armin, Yes I just tested it with the 1.0.3 cvs branch and it is reproducable. Do you want me to enter an issue in jira with an attached example (maybe my setup is wrong?)? gr. Martin Armin Waibel wrote: Hi Martin, I assume it's a 1.x specific issue. I didn't do the backport of 1.0.x branch t

Collection-Descriptor refresh - change in 1.0.3

2005-04-19 Thread Markus.Lauber
Hello I have the problem with 1:n relationship mentioned on other postings. I have a group which knows 0:n articles and an article knows his group. When I create an article (article1), set the group and store it, The group object in cache isn't updated and doesn't contain the newly saved article1.

Re: What are Transaction limits with autoupdate = true.?

2005-04-19 Thread Armin Waibel
Hi, are the changes really writen to database or is it a caching issue? regards, Armin Alessandro Colantoni wrote: Hi all!. In a mehod i have the following to store a vale object : try{ broker = ServiceLocator.getInstance().findBroker(); broker.beginTransaction(); broker.store(storeVO); broker.c

Re: PB-API: retrieval of collection of objects with inheritance

2005-04-19 Thread Armin Waibel
Hi Dima, I wrote a test based on your example and get the same exception. Thanks for point that out. regards, Armin Sakovsky, Dmytro wrote: Sorry, this time I am just putting everethying into the message Hi! I recently posted the same problem on OJB bug list but did not have a chance to provide a

Re: Collection-Descriptor refresh - change in 1.0.3

2005-04-19 Thread Armin Waibel
Hi Markus, [EMAIL PROTECTED] wrote: Hello I have the problem with 1:n relationship mentioned on other postings. I have a group which knows 0:n articles and an article knows his group. When I create an article (article1), set the group and store it, The group object in cache isn't updated and doesn'

Re: simple string[]

2005-04-19 Thread Armin Waibel
Hi Bobby, think with a FieldConversion this will not be possible to realize. There was a similar post some days ago. Sorry, currently I don't know a way to handle this without a bean class. Please make a feature request (if there wasn't one for this) on jira. regards, Armin Bobby Lawrence wrote:

Re: simple string[]

2005-04-19 Thread Bobby Lawrence
Thanx Dave, but the emails are not stored as comma seperated values in the database. They have a seperate table: person_id int, email varchar I need to map the table. I will try to play w/ the FieldConversions... --Bobby Dave Sunerton-Burl wrote: Bobby Lawrence wrote: Having a little difficulty

Re: simple string[]

2005-04-19 Thread Dave Sunerton-Burl
Bobby Lawrence wrote: Having a little difficulty w/ this... How would I map a collection or array of Strings in a class? I have a person object and I have a member variable called "emails" that is a String[] type. How would I set up my class-descirptor to get this to work without having to create

Collection-Descriptor refresh - change in 1.0.3

2005-04-19 Thread Markus.Lauber
> Hello > > I have the problem with 1:n relationship mentioned on other postings. > I have a group which knows 0:n articles and an article knows his > group. When I create an article (article1), set the group and store > it, > The group object in cache isn't updated and doesn't contain the newly >

simple string[]

2005-04-19 Thread Bobby Lawrence
Having a little difficulty w/ this... How would I map a collection or array of Strings in a class? I have a person object and I have a member variable called "emails" that is a String[] type. How would I set up my class-descirptor to get this to work without having to create a bean to only store

Re: Infinite looping with circular dependency between objects and refresh=true

2005-04-19 Thread Armin Waibel
Hi Martin, I assume it's a 1.x specific issue. I didn't do the backport of 1.0.x branch to 1.x yet (it's really much work and I didn't find the time to do it). Is it reproduceable with the 1.0.x branch or 1.0.3? regards, Armin Martin Taal wrote: Hi, I noticed that ojb gets into an infinite loop

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 to t

Re: Displaying data :: Best practise

2005-04-19 Thread Thomas Franke
Nils Liebelt wrote: 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? I don't really what you mean but we

Re: Displaying data :: Best practise

2005-04-19 Thread Alessandro Colantoni
Hi Nils! I use beans beans (valueObjects) retrieved from my business layer and display them with struts taglib. On 4/19/05, Nils Liebelt <[EMAIL PROTECTED]> wrote: > > What goes to the front (for viewing purposes)? For capturing data we use > ActionForms! But how do you display data (from you

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 -

Infinite looping with circular dependency between objects and refresh=true

2005-04-19 Thread Martin Taal
Hi, I noticed that ojb gets into an infinite loop when there are circular dependencies between objects and refresh(=true) is specified on the reference descriptors. My testcase has a class A which points to B and vice versa and there is an instance of A (A1) which points to an instance of B (B1