Question

2003-09-16 Thread Nikolay Ganev
Hi, Can anybody tell me how to auto generate tables using Apace JDO? I looked for an examples but didnt find. I use MySQL 4.1 thx -- Best regards, Nikolay mailto:[EMAIL PROTECTED] - To

RE: MetadataManager question

2003-09-16 Thread Joss Wright
Armin, That worked!! Many thanks. Regards, Joss -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: 15 September 2003 11:29 To: OJB Users List Subject: Re: MetadataManager question Hi Joss, 1. Change database name before the first time

Bug in Ant-Script

2003-09-16 Thread Joerg Lensing
Hi All, the ant-script doesn't create the directory jca, so the build fails. If It's added manually, the build succeeds. joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: query before commit problem

2003-09-16 Thread Guido Beutler
Hi Armin, what do you think to make it configurable. For managed enviroment the default would be a write through (or call it auto flush). I can not access the cvs so I can not test your new Tx implementation. :-( best regards, Guido Armin Waibel wrote: Hi Guido, tx.checkpoint() is not allowed

Correlated sub-queries

2003-09-16 Thread Mark Rowell
Hi I have seen various posts regarding aliases in criteria and sub-queries. I need to perform a correlated sub-query on a set of objects and I tried using criteria aliases when building up my queries but OJB never seems to use them. The objects involved are stored in a single table and looking at

RE: query before commit problem

2003-09-16 Thread Charles Anthony
Hi, Someone asked for this recently, and I'm afraid I was too busy to reply. When you lock an object (for update), it is *before* you make any changes to it. How can OJB know when to automatically flush changes to the database ? It can't; you have to tell it to. The same applies to locking an

Re: PROGRESS ?

2003-09-16 Thread Jean-Francois Taillon
I also have a customer working with Progress 9.1D...and interested in knowing the JDBC driver you use. Regards, Jeff Mark Berry wrote: No use the JDBC driver that ships with Progress. Mark - Original Message - From: Glauber Andrade [EMAIL PROTECTED] To: OJB Users List [EMAIL

Using different Qualifiers in DB2

2003-09-16 Thread lasse . lambrecht
Hello everybody, I have a question regarding the repository-definition. I want to access the tables in my DB2 database (OS/390) with different qualifiers. That means I have several tables, all having the same name and same structure but a different qualifier (and different content of course).

RE: Generate .jdo files?

2003-09-16 Thread Neil Aggarwal
Thomas: It looks like many of the items for the jdo metadata and obj xdoclets are the same. Does that information need to be repeated? Thanks, Neil -- Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com FREE! Valuable info on how your business can reduce operating

RE: Using different Qualifiers in DB2

2003-09-16 Thread oliver . matz
Hello Lasse, -Original Message- class-descriptor class=User table=PRODUCTION.USER . /class-descriptor class-descriptor class=User table=PRODUCTION.ORDER I suppose you mean 'Order' here? . /class-descriptor and

Re: query before commit problem

2003-09-16 Thread Guido Beutler
Hi Charles, Charles Anthony wrote: Hi, Someone asked for this recently, and I'm afraid I was too busy to reply. No problem :-) When you lock an object (for update), it is *before* you make any changes to it. How can OJB know when to automatically flush changes to the database ? It can't; you

Antwort: RE: Using different Qualifiers in DB2

2003-09-16 Thread lasse . lambrecht
Hello, whoops, that was a copying error, the classes are named different, I just added a second class-descriptor to make the example clearer. What I meant: PRODUCTION.USER and TEST.USER I want to switch the PRODUCTION to TEST and vice versa during runtime. Here is the correct XML:

Create Table in OJB

2003-09-16 Thread Cory L Hubert
I need to develop an application that will create tables dynamically. Is there a way to do that in OJB without using QueryBySQL. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Error generating schema sql

2003-09-16 Thread Neil Aggarwal
Hello: When I try to call project-sql-classpath from my build file, I get this error: BUILD FAILED file:C:/JavaLibs/db-ojb-1.0.rc4/build-torque.xml:435: C:\Dev\OjbJdoTest\lib not found. Does this mean I have to copy all of the db-ojb libs into a lib directory in my project? I tried to

How to feed list of args into enhancer?

2003-09-16 Thread Neil Aggarwal
Hello: I am trying to feed a list of arguments to the JDORI enhancer. In my build.xml, I have this: target name=enhancePersistentClasses depends=processJdoDoclets path id=enhancerFiles fileset dir=classes include name=persistent/*.class/ /fileset fileset

collection-descriptor orderby attribute fetches wrong field value

2003-09-16 Thread Jair da Silva Ferreira JĂșnior
Hi, I am using ojb1.0_rc4, ODMG api with OJB queries and mysql4. I will describe my problem with an example for you to better understand it. 1) I have a class called ClassA, another class called ClassB and another class called ClassC. 2) ClassA has a collection of ClassB objects which has

Read only collections?

2003-09-16 Thread Steve Schwarz
Hi In my data model I have a class: ReadOnlyDesigners that contains a collection of instances of class: Designer. These map directly to database tables of the same names. I'd like to specify that from the perspective of the the Designers class the Designer instances are readonly. But I'd also

Re: OJB Console

2003-09-16 Thread Alexander Bibighaus
Hi Wayne, I just now saw this email for some reason. Yes, my console does support m:n. My demo has an example with an Album (m) and Photos (n), as well as some others. Let me know if you have any other questions. -alexander - Original Message - From: Wayne Kidd [EMAIL PROTECTED] To: