Re: ConcurrentModification!!!

2004-08-18 Thread Fiona Magner
Hi, Would this also be an issue with ODMG? I am using ODMG in a web application and have just one shared instance of my ODMG implementation (ie OJB.getInstance()) in the application scope. When interacting with the database then I simply create new transactions from this ODMG instance and use thos

Problems with locking

2004-07-26 Thread Fiona Magner
Hi there, I am having some problems getting a lock on my objects when I place my application under a small bit of pressure. I have two tables, a Clients table and a Messages table. The Messages table has a clientid field in it but I have not explicitly set any relationships with the Clients tab

Concurrency question

2004-07-06 Thread Fiona Magner
Hi there: I am just beginning to use OJB in a Web application. The particular web application (when it goes live with OJB) will be required for high availability. I have a question about a concurrency issue that I have come across. Consider the following example. Two users, a and b are accessin

Re: Inserting 1:1 mapping

2004-05-29 Thread Fiona Magner
fully, someone else with more > experience with stored procedure can help you. > > > >From: "Fiona Magner" <[EMAIL PROTECTED]> > >Reply-To: "OJB Users List" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Subject: Re: Inserting 1

Re: Inserting 1:1 mapping

2004-05-28 Thread Fiona Magner
w if you need the syntax > 2) I think you need also "autoincrement="true"" in the > for PaymentID in the Payments table > > > > >From: "Fiona Magner" <[EMAIL PROTECTED]> > >Reply-To: "OJB Users List" <[EMAIL PROTECTED]> > >T

Inserting 1:1 mapping

2004-05-27 Thread Fiona Magner
Hi there: I am just learning OJB and so far I think its great! I am having some problems inserting 1:1 records that I was hoping someone could help me with. I have a table Transactions that has a reference (1:1) to a table Payments: Transactions transactionid (pk) paymentid (fk) Payments payme

Torque cannot find Database driver

2004-05-14 Thread Fiona Magner
Hi there: I am trying to use Torque to create the test tables in my database using ant prepare-testdb. However I keep getting the message that my database driver cannot be found. I have modified build.xml to use mssqldb.profile in the profile directory. In my profile file I have specified the c

Re: java.lang.ExceptionInInitializerError

2004-05-04 Thread Fiona Magner
Hi, I had a similar problem when I started up with OJB and it took me nearly a week to figure it out :) I think it could be that your OJB.properties file is not being seen by your application. So you might either need to put it in your classpath or else set your working directory to the same direc

Problem setting up OJB using ojb-blank

2004-04-26 Thread Fiona Magner
Hi there: I'm a newbie trying to get started with OJB. I have created ojb-blank to start a new project. However in this new project I have tried to set up a simple application using the PersistenceBorkerFactory and also using ODMG. With each I am getting an error complaining that the cla

Problem setting up OJB using ojb-blank

2004-04-26 Thread Fiona Magner
Hi there: I'm a newbie trying to get started with OJB. I have created ojb-blank to start a new project. However in this new project I have tried to set up a simple application using the PersistenceBorkerFactory and also using ODMG. With each I am getting an error complaining that the clas