Re: speed question

2003-03-11 Thread Jeffrey Gilbert
Is 450ms the average time it takes or is it the first time the ejb container takes a request? Jeff On Tuesday 11 March 2003 09:44 am, you wrote: > We're experiencing a speed difference we can't explain. We've tried the > following code in two circumstances: > > Date start = new Date(); > Persis

Re: What am I doing wrong? Not able to persist a 1:M relationship. SourceCode included...

2003-03-03 Thread Jeffrey Gilbert
Event" > orderby="_id" > sort="DESC" > auto-update="true" > > > > > Please also have a closer look to tutorial3.html, section on cascading > operations. > > cheers, > Thomas > >

Re: OJB 0.9.9 & mysql: Database User & password form repository not used?

2003-03-02 Thread Jeffrey Gilbert
Hey I learned something new! Thanks Armin Jeff On Sunday 02 March 2003 04:17 am, you wrote: > Hi Cornelius, > > - Original Message - > From: "Cornelius Keller" <[EMAIL PROTECTED]> > To: "OJB Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Sunday, March 02, 2003 5:00 AM > Sub

What am I doing wrong? Not able to persist a 1:M relationship. SourceCode included...

2003-03-02 Thread Jeffrey Gilbert
I have the following two class files: package com.gilbert; import java.util.Collection; public class Applications { private int _id; private String name; private String description; private Collection events; // To hold many event objects public void set_id(int _id) { this._

Re: OJB 0.9.9 & mysql: Database User & password form repository not used?

2003-03-01 Thread Jeffrey Gilbert
Here is what I use for fetching a PersistenceBroker in my code: PersistenceBroker broker = PersistenceBrokerFactory.createPersistenceBroker(new PBKey("default","sa","")); Where "sa" equals a user id and "" is the password. Hope this info helps, Jeff On Saturday 01 March 2003 06:19 pm, you w

Re: How does one CRUD a M:N relationship. Any solid examples of CRUD! CRUD! CRUD! CRUD!

2003-02-28 Thread Jeffrey Gilbert
Update. I think I have this figured out. The problem I encountered was caused by forgotten to add in code to initialize my Vector upon creation and was receiving a nullPointerException during use. Dah! Jeff On Thursday 27 February 2003 01:41 pm, you wrote: > Hi, > > I've setup a non-decompos

How does one CRUD a M:N relationship. Any solid examples of CRUD! CRUD! CRUD! CRUD!

2003-02-27 Thread Jeffrey Gilbert
Hi, I've setup a non-decomposed M:N relationship in my datastore so now how do I CRUD (create, read, update and delete) records that participate in this relationship? An example provided by the OJB website for adding records to datastore does exist but doesn't reflect any type of advanced rela

Re: Generate table definitions?

2003-02-25 Thread Jeffrey Gilbert
I just figured it out myself. It works and its pretty slick. If you want I can put the steps in an email and send it your way. Someone really needs to help project out with something like a getting started guide. Just let me know if you still need assistance, Jeff On Tuesday 25 February 200

How do I dynamically create a new persistent object/table?

2003-02-24 Thread Jeffrey Gilbert
Anyone know of any additional instructions on how to dynamically create a persistent object/table? The only thing I have to go on so far is what is in the FAQ:     DescriptorRepository dr = MetadataManager.getInstance().getRepository();     ClassDescriptor cld = new ClassDescriptor(dr);     cld