Re: Vector not found in OJB Repository

2003-12-10 Thread Jakob Braeuchi
hi patrick,

please post your classes as well.
why do you use field-id ? it works but makes the repository hard to read.
jakob

Patrick Scheuerer wrote:

Fixed it. Changed nothing though. Still the same problem 


-Original Message-
From: Anish [mailto:[EMAIL PROTECTED] 
Sent: Donnerstag, 11. Dezember 2003 09:45
To: [EMAIL PROTECTED]
Subject: Re: Vector not found in OJB Repository

hi,
the  is wrong. where is the 
field with id 9.
check it out.
Anish..

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.537 / Virus Database: 332 - Release Date: 11/6/2003


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Vector not found in OJB Repository

2003-12-10 Thread Patrick Scheuerer
Fixed it. Changed nothing though. Still the same problem 

> -Original Message-
> From: Anish [mailto:[EMAIL PROTECTED] 
> Sent: Donnerstag, 11. Dezember 2003 09:45
> To: [EMAIL PROTECTED]
> Subject: Re: Vector not found in OJB Repository
> 
> hi,
>  the  is wrong. where is the 
> field with id 9.
> check it out.
> Anish..
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.537 / Virus Database: 332 - Release Date: 11/6/2003
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Vector not found in OJB Repository

2003-12-10 Thread Anish
hi,
 the  is wrong. where is the field with id 9.
check it out.
Anish..


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.537 / Virus Database: 332 - Release Date: 11/6/2003



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Vector not found in OJB Repository

2003-12-09 Thread Thomas Cornet
If I remember well, Vectors are not supported. Replace them with 
java.util.List in your java classes and then it should work.

Thomas

At 09:43 09/12/2003, you wrote:
Hello OJB Group,

I wrote a test case to check if my OJB configuration works properly but
everytime I run it I get the following exception:
org.apache.ojb.broker.metadata.ClassNotPersistenceCapableException:
java.util.Vector not found in OJB Repository
Here's the repository_user.xml











class-ref="ch.ctc.suppport.CategoryVO"
  auto-retrieve="true">
















element-class-ref="ch.ctc.support.category.PalModelVO"
   auto-retrieve="true"
   auto-update="true"
indirection-table="pal_relevancy">





element-class-ref="ch.ctc.support.category.KeywordVO"
   auto-retrieve="true"
   auto-update="true"
indirection-table="document_keyword">





class-ref="ch.ctc.suppport.CategoryVO"
  auto-retrieve="true">




class-ref="ch.ctc.suppport.MemberVO"
  auto-retrieve="true">

















What am I doing wrong? Do I have do declare what type of Collection I'm
using in the repository file?
Any help would be highly appreciated?
Patrick



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]