RE: Intercepting updates and inserts

2004-06-01 Thread Ron Gallagher
Robert -- Check out these two interfaces: org.apache.ojb.broker.PBLifeCycleListener org.apache.ojb.broker.PBStateListener The PBLifeCycleListener provides callbacks that reflect all object-level operations (lookup, insert, update, delete). This is probably what you'll want to utilize. The PBSt

JBoss Multiple WAR Deployment

2004-06-01 Thread Eric Chaudry
Hi, I have two applications bundled up in different war files. Each application uses OJB. After deployment to jboss, running the first application is fine. When running the second application, there is always a runtime error. Each war has a repository.xml file with the tag complete with the

OTM documentation

2004-06-01 Thread Maksimenko Alexander
Hi! I want use OTM to isolate transactions (hsqldb can't do this) Is there any documentation (except tutorial) to understand the principles of its wor? -- Maksimenko Alexander Softwarium, www.softwarium.net - To unsubscribe, e-m

Re: Ojb Xdoclet: nested fields

2004-06-01 Thread Maksimenko Alexander
Thomas Dudziak wrote: Is fixed in CVS. Apparently the module did only process one ojb.modify-inherited tag per field. Tom Thanks! I've tried it. All works well :) -- Maksimenko Alexander Softwarium, www.softwarium.net - To unsub

Re: Ojb Xdoclet: nested fields

2004-06-01 Thread Thomas Dudziak
On Tue, 1 Jun 2004, Thomas Dudziak wrote: > On Tue, 1 Jun 2004, Maksimenko Alexander wrote: > > > Hi! > > I am confronted with strange behavior of the xdoclet module - > > In the nested class I specify all attributes of the field except the > > column name: > > > > /** > >* @ojb.field jdb

RE: PersistenceBrokerFactory.setDefaultKey

2004-06-01 Thread Fred McCann
This is running on OJB RC 6, SDK 1.4.2. Something similar in RC 5 seems to work. -Original Message- From: Fred McCann [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 3:53 PM To: OJB Users List Subject: PersistenceBrokerFactory.setDefaultKey I'm having a problem setting the default

PersistenceBrokerFactory.setDefaultKey

2004-06-01 Thread Fred McCann
I'm having a problem setting the default key for PersistenceBrokerFactory. I have 2 connections defined in repository.xml:: I'm trying to use the "development" connection descriptor in JUnit tests. I'm using this statement in the setup method: protected void setUp() throws Ex

RE: Odd behavior

2004-06-01 Thread Mike Jackson
I didn't realize that OJB supported primitive types, regardless I still get this when the "id" is a non-zero value. I've updated to RC6 and I'll play with things and see if I can find a way to get it repeat. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Danilo

Mapping question

2004-06-01 Thread Sebastian
Hi, I'm trying to map some tables with OJBs but don't know how to express their relation. Maybe someone can give me a hint. I have three tables: articles with OID as primary key categories with OID as primary key custom_fields with OID as primary key, OID_FK as foreign key OID is generated unique

Re: OJB and MySQL?

2004-06-01 Thread Ben Hall
Much of the trackandfieldnews.com website is MySQL and OJB driven. I was running on RC3 for a long time (longer than I should have) and the upgrade to RC6 was a little annoying but the site runs great and I love developing with OJB. On Tue, 1 Jun 2004, Keith Rogers wrote: > I've written a gener

Re: OJB and MySQL?

2004-06-01 Thread Jin Bal
I currently use MySQL and OJB for a production car retailing website in the UK - no major probs. www.buyacar.co.uk Jin - Original Message - From: "Keith Rogers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 01, 2004 1:32 PM Subject: Re: OJB and MySQL? > I've written a

Re: OJB and MySQL?

2004-06-01 Thread Keith Rogers
I've written a generic web-based database framework using OJB, which is currently being used with a MySQL server for the UK Highways Agency's Traffic Officer training program. No problems with MySQL, and any with OJB had already been fixed in the latest CVS. >>> [EMAIL PROTECTED] 01/06/2004 12:05

Re: Ojb Xdoclet: nested fields

2004-06-01 Thread Thomas Dudziak
On Tue, 1 Jun 2004, Maksimenko Alexander wrote: > Hi! > I am confronted with strange behavior of the xdoclet module - > In the nested class I specify all attributes of the field except the > column name: > > /** >* @ojb.field jdbc-type="VARCHAR" length="50" >*/ > private String login

RE: OJB and MySQL?

2004-06-01 Thread Daniel Perry
I'm using latest stable mysql 4 with ojb and havn't had any trouble at all with mysql. No idea about your other problem! Daniel. > -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Paolo Salvan > Sent: 01 June 2004 12:05 > To: [EMAIL PROTECTED] > Subject: OJB and MySQL?

Mysql JDBC driver and reverse-db

2004-06-01 Thread Paolo Salvan
Hi! Have anyone tried to use reverse-db with last mysql jdbc driver? I tried to connect to my db with the jdbc driver 3.0.14, I can connect to the DB server and get the db list; if I enter inside aby DB, I get a "" voice; inside of it, I expected the tablkes list, but I got nothing... :o( If I

OJB and MySQL?

2004-06-01 Thread Paolo Salvan
Hi all! ...Does anyone are using MySQL and OJB in production-quality project? I'm starting a new prj, I'm oriented towards this DB, but I'd like to know if there is some "success story" Thanks for your opinions and bye! Paolo -

RE: Intercepting updates and inserts

2004-06-01 Thread "Göschl,Siegfried"
Hi Robert, I don't work with OJB but your requirement could be fulfilled with a JDBC proxy such as P6Spy. Or an elegant solution would be a clustered JDBC driver such as C-JDBC http://c-jdbc.objectweb.org/ Cheers, Siegfried Goeschl -Original Message- From: Coup, Robert Muir [mailto:[

Re: Odd behavior

2004-06-01 Thread Danilo Tommasina
Hi, never use 0 as primary key, it is causing problems. 0 is interpreted as null (beacause of support for primitive types). I don't know if the problem has been fixed in RC6. There are a couple of thread and posts about this, just search the archives. cheers Danilo I'm getting a strange behavio

Ojb Xdoclet: nested fields

2004-06-01 Thread Maksimenko Alexander
Hi! I am confronted with strange behavior of the xdoclet module - In the nested class I specify all attributes of the field except the column name: /** * @ojb.field jdbc-type="VARCHAR" length="50" */ private String login; /** * @ojb.field jdbc-type="VARCHAR" length="50" */ private Str

RE: Intercepting updates and inserts

2004-06-01 Thread Guillaume Nodet
Why don't you use triggers in hsqldb ? You would not need to plug into OJB this way. Guillaume Nodet > -Message d'origine- > De : Coup, Robert Muir [mailto:[EMAIL PROTECTED] > Envoye : dimanche 30 mai 2004 06:51 > A : OJB Users List > Objet : Intercepting updates and inserts > > > Hi al