RE: HSQL + Autoincrement + SequenceManagerNativeImpl Problems

2004-05-13 Thread Thomas Dudziak
On Thu, 13 May 2004, Fred McCann wrote: > I'm can't say for certain that I used the cvs version because I've been > mixxing and matching versions quite a bit today to get stuff working. I just > erased all of them and got the cvs binary again and it is outputting the > access='readonly' line. On t

RE: HSQL + Autoincrement + SequenceManagerNativeImpl Problems

2004-05-13 Thread Fred McCann
I'm can't say for certain that I used the cvs version because I've been mixxing and matching versions quite a bit today to get stuff working. I just erased all of them and got the cvs binary again and it is outputting the access='readonly' line. On the topic of the date <--> datetime conversion, I

RE: HSQL + Autoincrement + SequenceManagerNativeImpl Problems

2004-05-13 Thread Thomas Dudziak
On Thu, 13 May 2004, Fred McCann wrote: > OK I think I have something usefule to add. I throw in some debugging > statements to reflect what OJB was trying to insert and it was flaking out > on the Date object. Here's what the mapping is for the date field: > > name="birthdate" >

RE: HSQL + Autoincrement + SequenceManagerNativeImpl Problems

2004-05-13 Thread Fred McCann
OK I think I have something usefule to add. I throw in some debugging statements to reflect what OJB was trying to insert and it was flaking out on the Date object. Here's what the mapping is for the date field: This is what an older version of the xdoclet plugin gave me:

RE: HSQL + Autoincrement + SequenceManagerNativeImpl Problems

2004-05-13 Thread Fred McCann
I did try adding access=readonly an there's no change. -Original Message- From: Thomas Dudziak [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 3:04 PM To: OJB Users List Subject: RE: HSQL + Autoincrement + SequenceManagerNativeImpl Problems On Thu, 13 May 2004, Fred McCann wrote:

RE: HSQL + Autoincrement + SequenceManagerNativeImpl Problems

2004-05-13 Thread Thomas Dudziak
On Thu, 13 May 2004, Fred McCann wrote: > Additional info: I just built OJB from the CVS source and ran my build > again. This is what came up: I'll debug the module with your class to see where the problem lies. Could you add the access=readonly manually to see whether this actually solves your

RE: HSQL + Autoincrement + SequenceManagerNativeImpl Problems

2004-05-13 Thread Fred McCann
Additional info: I just built OJB from the CVS source and ran my build again. This is what came up: ---

RE: HSQL + Autoincrement + SequenceManagerNativeImpl Problems

2004-05-13 Thread Fred McCann
On Thu, 13 May 2004, Fred McCann wrote: > Here is the generated repository info: > > class="bean.Account" > table="account" > > > name="id" > column="account_id" > jdbc-type="INTEGER" > primarykey="true" > autoincrement="true" > > There

RE: HSQL + Autoincrement + SequenceManagerNativeImpl Problems

2004-05-13 Thread Thomas Dudziak
On Thu, 13 May 2004, Fred McCann wrote: > Here is the generated repository info: > > class="bean.Account" > table="account" > > > name="id" > column="account_id" > jdbc-type="INTEGER" > primarykey="true" > autoincrement="true" > > There i

Re: OTM transaction isolation

2004-05-13 Thread Brian McCallister
The OTM does use its own (as well as anything the database provides, if you want it to) transaction isolation system. The transaction semantics are the same, I believe, as for the ODMG. -Brian On May 13, 2004, at 11:30 AM, Maksimenko Alexander wrote: Hi ! I have to use hsqldb as my database. B

one last JOIN question

2004-05-13 Thread Charles N. Harvey III
Can I join to something that is not the PK? TABLE SCHOOL int school_id PK int college_id TABLE PROFILE int profile_id PK int school_id FK to SCHOOL.school_id TABLE INFO int info_id PK int college_id FK to SCHOOL.college_id Can this be done? It doesn't seem like it. When I try either "super" or a

RE: HSQL + Autoincrement + SequenceManagerNativeImpl Problems

2004-05-13 Thread Fred McCann
Here is the generated repository info: And here's the DDL: CREATE TABLE ACCOUNT( ACCOUNT_ID INTEGER NOT NUL

Re: OJB Properties are changed

2004-05-13 Thread Armin Waibel
Hi Jack, Jack ValLance wrote: I have the following setting in my OJB.properties file: # OJB.properties -- configuration of the OJB runtime environment maxActive=300 maxIdle=-1 maxWait=2000 timeBetweenEvictionRunsMillis=-1 minEvictableIdleTimeMillis=100 whenE

Re: HSQL + Autoincrement + SequenceManagerNativeImpl Problems

2004-05-13 Thread Thomas Dudziak
On Thu, 13 May 2004, Fred McCann wrote: > I'm new to OJB, but I have done several projects with Hibernate and EJB > Entity beans, so I'm not completely a newbie. I've switched from RC5 to RC6 > so I'm on the latest version (for purposes of using the latest XDoclet > features). Here's my problem. I

HSQL + Autoincrement + SequenceManagerNativeImpl Problems

2004-05-13 Thread Fred McCann
I'm new to OJB, but I have done several projects with Hibernate and EJB Entity beans, so I'm not completely a newbie. I've switched from RC5 to RC6 so I'm on the latest version (for purposes of using the latest XDoclet features). Here's my problem. I'm trying to use HSQLDB's (1.7.1) identiy fields

OJB Properties are changed

2004-05-13 Thread Jack ValLance
I have the following setting in my OJB.properties file: # OJB.properties -- configuration of the OJB runtime environment maxActive=300 maxIdle=-1 maxWait=2000 timeBetweenEvictionRunsMillis=-1 minEvictableIdleTimeMillis=100 whenExhaustedAction=2 When I run the application using To

OTM transaction isolation

2004-05-13 Thread Maksimenko Alexander
Hi ! I have to use hsqldb as my database. But it doesn't support transaction isolation So I want to use OTM as transaction management system. Does it use own transaction isolation mechanizm (not database specific)? -- Maksimenko Alexander Softwarium, www.softwarium.net --

RE: Bug in QueryReferenceBroker?

2004-05-13 Thread Clute, Andrew
Thanks for the quick response! I thought I was going crazy when I saw that method and couldn't figure out why it was doing that. I assumed I was just missing something in the bigger picture. Glad we could find that before the next RC. -Andrew -Original Message- From: Armin Waibel [mai

Re: null FK handling in QueryReferenceBroker is BROKEN?

2004-05-13 Thread [EMAIL PROTECTED]
Armin, Andrews thank you! :-) Andrew Shevel Armin Waibel wrote: Hi Andrew, this sounds similar to a problem posted by Andrew Clute http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=12802 Seems this bug was "Andrew specific" ;-) Checked in a fix in CVS. Sorry for the hassle! regard

Re: null FK handling in QueryReferenceBroker is BROKEN?

2004-05-13 Thread Armin Waibel
Hi Andrew, this sounds similar to a problem posted by Andrew Clute http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=12802 Seems this bug was "Andrew specific" ;-) Checked in a fix in CVS. Sorry for the hassle! regards Armin [EMAIL PROTECTED] wrote: Hi, all. We've discovered the foll

Re: Bug in QueryReferenceBroker?

2004-05-13 Thread Armin Waibel
Hi Andrew, I checked in a fix (similar to your patch + minor modifications in method) and a new test in AnonymousFieldsTest. The test fails with NPE when using QueryReferenceBroker version 1.15 and pass with latest version. Hope this will solve your problem too. Thank you very much! regards, ja

null FK handling in QueryReferenceBroker is BROKEN?

2004-05-13 Thread [EMAIL PROTECTED]
Hi, all. We've discovered the following strange issue: if method QueryReferenceBroker.getReferencedObjectIdentity(obj, ObjectReferenceDescriptor, ClassDescriptor) is called with obj = null then non null Identity object is returned. In this Identity object array m_pkValues has 1 element with va

Re: Inconsistence in Persistence Broker

2004-05-13 Thread Armin Waibel
Hi Bill, now it's a bit clearer, but not enough ;-) Could you post the mapping in repository file for Employee, Department and Role? Did you set a sequence manager or do you use the default one? > table.Where should i set auto-update parameter,and what should i set it > as 'true' or 'object'.