RE: OJB doesnt work with multiples context

2004-11-24 Thread Charles Anthony
Hi Frank, Are your OJB jars stored in the WebApp itself, or in a shared directory e.g. tomcat\common ? Essentially, it's important that OJB classes be stored within the WebApp themselves, as opposed to anywhere else. e.g. App1 WEB-INF lib db-ojb-Blah.jar

Re: [QUICKSTART] - A OJB quickstart similar to hibernate

2004-11-24 Thread Edson Carlos Ericksson Richter
Huh, you started again with this failure thing. Start to learn something, or you will always be a failure. I'm patiently seen you make same noise you made in NetBeans mail lists... I think you want a wizard that make all you want withou knowing anything about java - except that there is a

Thanks for help! was: validation query for connection failed

2004-11-24 Thread Thomas Franke
Hi Roland and all, I also had problems with the broker and now I'm realised, that only if I define the connection Pool in both files where it is possible (OJB.properties AND reposistory.xml), it works like we want. I tried many settings and tested it with JMeter and produced havy laod on the web

Re: Unique query without using primary key?

2004-11-24 Thread Danilo Tommasina
Hi Roman, An crit.addEqualTo( state, somestate ) will generate SQL as state = 'somestate' crit.addLike( state, somestate ) will generate SQL as state LIKE 'somestate' Like is used for pattern matching, equal for exact matches, so in this case the equal may have been ok.

RE: [QUICKSTART] - A OJB quickstart similar to hibernate

2004-11-24 Thread Daniel Perry
the quickstart application (ojb-blank, with e.g. tutorial1 within) This should be runable withount _any_ domain-knowledge (except: Operating System Basics). If a team did not achieve that, then I name it: failure. What??? OJB is most definately NOT designed for people without any domain

RE: OJB doesnt work with multiples context

2004-11-24 Thread Daniel Perry
I second this, i have OJB deployed with 6 apps running in my tomcat dev server. I never use shared libraries as it causes too much hassle - each app has it's own OJB jar - and some are different versions. If you've not got any shared jars, can you post a stack trace and a bit more info about

Struts + OJB

2004-11-24 Thread Bikram B Kapoor
Hi All, I am not a newbie in struts, i am trying to implement OJB with struts. I picked up reference from SourceForge which is Beer4All Service, and tried to implement that in my code but when i execute the code i am getting the following error. Please suggest smthng. [BOOT] ERROR: The specified

Re: [QUICKSTART] - A OJB quickstart similar to hibernate

2004-11-24 Thread Edson Carlos Ericksson Richter
Unfortunatelly to behavior of Mrs. Laziradis, I fell in obligation to share this info in this mail list too. I'll do this because, as occured at other mail list, communications starts to degrade, making too much noise for about nothing. This info was shared from another user, in another mail

Re: Struts + OJB

2004-11-24 Thread Thomas Dudziak
Bikram B Kapoor wrote: Hi All, I am not a newbie in struts, i am trying to implement OJB with struts. I picked up reference from SourceForge which is Beer4All Service, and tried to implement that in my code but when i execute the code i am getting the following error. Please suggest smthng. [BOOT]

addPrefetchedRelationship problems

2004-11-24 Thread Alessandro Colantoni
Hi all.!! I have the following repository snip class-descriptor class=com.brujulatelecom.srv.vo.CupoBloqueadoVO table=T_SRV_CUPOBLOQUEADO isolation-level=optimistic field-descriptor id=1 name=cblCodigo column=CBL_CODIGO jdbc-type=INTEGER

RE: addPrefetchedRelationship problems

2004-11-24 Thread Daniel Perry
I believe this is because you have auto-retrieve=false in the reference descriptors. If you set these to true, the objects will be loaded. Daniel. -Original Message- From: Alessandro Colantoni [mailto:[EMAIL PROTECTED] Sent: 24 November 2004 14:05 To: 'OJB Users List' Subject:

RE: addPrefetchedRelationship problems

2004-11-24 Thread Alessandro Colantoni
Thanks for the rapid answer( just the time to eat something !!! :--)) I had understood that the addPrefetchedRelationship was an alternative to the autoretrieve = true. But probably is just a way to optimize it I get the opportunity, seen the polemic on the forum, to say that every time I asked

RE: addPrefetchedRelationship problems

2004-11-24 Thread Daniel Perry
Ok, my bad! I hadnt payed enough attention to the title :) I've never used the addPrefetchedRelationship method, as i tend to just use auto-retrieve=true. I cant find any documentation on it. retrieve=true should work (for now at least). Can anyone comment on how the addPrefetchedRelationship

RE: addPrefetchedRelationship problems

2004-11-24 Thread Alessandro Colantoni
Yes I've done yet and it Works. Cheers! -Mensaje original- De: Daniel Perry [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 24 de noviembre de 2004 16:00 Para: OJB Users List Asunto: RE: addPrefetchedRelationship problems Ok, my bad! I hadnt payed enough attention to the title :)

Re: [QUICKSTART] - A OJB quickstart similar to hibernate

2004-11-24 Thread Ilias Lazaridis
Daniel Perry wrote: the quickstart application (ojb-blank, with e.g. tutorial1 within) This should be runable withount _any_ domain-knowledge (except: Operating System Basics). = given context of this thread. If a team did not achieve that, then I name it: failure. What??? OJB is most definately

Re: [QUICKSTART] - A OJB quickstart similar to hibernate

2004-11-24 Thread Ilias Lazaridis
Edson Carlos Ericksson Richter wrote: [...] - (some irrelevant comments) I'll be happy if you start to learn, and polute less our lists... you polute this thread with your off-topic comments. - The team has provided the requested obj-blank:

Re: [QUICKSTART] - A OJB quickstart similar to hibernate

2004-11-24 Thread Ilias Lazaridis
Ilias Lazaridis wrote: Daniel Perry wrote: I would suggest you look in the CVS - there seems to be a newer version of build.xml that does more for automating the tutorials. Thank you! I cannot access CVS for now. I hope someone will sent me the complete new ojb-blank archive. I got the ojb-blank

Re: [QUICKSTART] - A OJB quickstart similar to hibernate

2004-11-24 Thread Ilias Lazaridis
Edson Carlos Ericksson Richter wrote: Unfortunatelly to behavior of Mrs. Laziradis, I fell in obligation to share this info in this mail list too. I'll do this because, as occured at other mail list, communications starts to degrade, making too much noise for about nothing. This info was shared

Re: [QUICKSTART] - A OJB quickstart similar to hibernate

2004-11-24 Thread Jakob Braeuchi
hi all, i think it's time to stop this thread. jakob Ilias Lazaridis schrieb: Edson Carlos Ericksson Richter wrote: Unfortunatelly to behavior of Mrs. Laziradis, I fell in obligation to share this info in this mail list too. I'll do this because, as occured at other mail list, communications

Re: [QUICKSTART] - A OJB quickstart similar to hibernate

2004-11-24 Thread Edson Carlos Ericksson Richter
Ok, my patience is over limit. I was contrary to your baniment from NetBeans maillists. I defended you right to express your self. I've tried to help you with usefull information. Right now, I'll recommend every mail list where I find you to ban you. It's incredible your capacity to be

Re: [QUICKSTART] - A OJB quickstart similar to hibernate

2004-11-24 Thread Edson Carlos Ericksson Richter
I'm sorry, I sent additional response before read your ask. I'm stoping right now. Best regards, Edson Richter Jakob Braeuchi escreveu: hi all, i think it's time to stop this thread. jakob - To unsubscribe, e-mail: [EMAIL

[OT]Sorry to the community

2004-11-24 Thread Edson Carlos Ericksson Richter
I must to say sorry to this great community, by my last mails to Mr. Ilias Laziradis (not sorry to Mr. Laziradis itself). In this context, I need to open a parentesis, and sintetize my frustation when trying to help people who want's no help. Some time ago, the same Mr. Ilias Laziradis started

RE: [OT]Sorry to the community

2004-11-24 Thread Morales de Frías , David
I'm a user of this great mail list. And i can only say that i (and i think all of us) understand your position and opinion. Thanks for all your work. -Mensaje original- De: Edson Carlos Ericksson Richter [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 24 de noviembre de 2004 18:04

Re: [QUICKSTART] - A OJB quickstart similar to hibernate

2004-11-24 Thread Ilias Lazaridis
Edson Carlos Ericksson Richter wrote: Ilias Lazaridis escreveu: Please avoid further off-topic traffic, or open at least a new thread marked with [OT]. [...] And NEVER tell me what I can or can't post as response to the thread. [...] [OT]Sorry to the community

Re: [QUICKSTART] - A OJB quickstart similar to hibernate

2004-11-24 Thread Ilias Lazaridis
Jakob Braeuchi wrote: [moved down] Ilias Lazaridis schrieb: Edson Carlos Ericksson Richter wrote: Unfortunatelly to behavior of Mrs. Laziradis, I fell in obligation to share this info in this mail list too. [...] http://www.tfeb.org/lisp/mad-people.html [...] [...] You have 'warned' this

Using alternate key instead of primary key when relating an class descriptor with a collection descriptor

2004-11-24 Thread Sean Dockery
Hello. I've searched the gmane archives, but I was unable to find any messages related to my question. Suppose that I have the following classes... public class User { private Integer id; // primary key field private String username; // alternate key field private Collection

Re: [INTRO01] - I01 - Simple Java Class - Need the quickstart application !

2004-11-24 Thread Ilias Lazaridis
Ilias Lazaridis wrote: Jakob Braeuchi wrote: Ilias Lazaridis schrieb: Ilias Lazaridis wrote: The series of simplified OJB Introduction applications that I like to contribute to the project, rely initially on the ojb-blank. but: ojb-blank does not provide the basic functionality needed: -

Re: Using alternate key instead of primary key when relating an class descriptor with a collection descriptor

2004-11-24 Thread Pulat Yunusov
I don't think what you want is possible because it goes against concepts of row indentity and referential integrity. A foreign key in one table implies a relation to the primary key in the other table, and there can be only one primary key. The normal way to specify the relationship you want

Re: Using alternate key instead of primary key when relating an class descriptor with a collection descriptor

2004-11-24 Thread Robert r. Sanders
Look at: doc/docu/guides/basic-technique.html#Support+for+Non-Decomposed+m%3An+Mappings in the OJB documentation. I think I was able to get something along these lines to work in a test (pre- 1.0). I think it would be relatively straight forward for you to implement a test and see if it

RE: Sub query use with Criteria.PARENT_QUERY_PREFIX

2004-11-24 Thread Stark, Roman
By the way just so you all know I did get this sub query stuff to work. Turns out the problem was with the mapping of the table columns, repository and my code. Thanks for all your input. Sorry rookie mistake. Roman -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of

Re: Using alternate key instead of primary key when relating an class descriptor with a collection descriptor

2004-11-24 Thread Sean Dockery
I'll have a look at the documentation; thanks for the link. Robert r. Sanders [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Look at: doc/docu/guides/basic-technique.html#Support+for+Non-Decomposed+m%3An+Mappings in the OJB documentation. I think I was able to get something along

Re: Using alternate key instead of primary key when relating an class descriptor with a collection descriptor

2004-11-24 Thread Sean Dockery
I don't think what you want is possible because it goes against concepts of row indentity and referential integrity. Sorry, but that is incorrect. There is no restriction on having more than one key that can uniquely identify a row. All of the keys which can serve to identify a row are

Re: Unique query without using primary key?

2004-11-24 Thread jeichels
I wanted to say thank you Danilo. With your tip and a hunk of code from the Lucene project, I was able to significantly enhance searching capabilities on my site. I need to get a bit more understanding of how efficient memory wise a RowReader is. I am dealing with large data sets where

Re: Struts + OJB

2004-11-24 Thread Bikram B Kapoor
Hi Thomas, All the entries are in place, after a lot of debugging I found out the error was occurring at the line serviceClass.newInstance() The properties file is exactly the same as in the sample and they are in the correct folder. What could be the reason??? Thanks Bikram Thomas Dudziak

Re: Bad sql generated if table name contains - ???

2004-11-24 Thread Jakob Braeuchi
hi horacio, i'm currently working on quoting of tables and columns for ojb-1.1. ojb will have it's own quoting character. this character is replaced by the dbms-specific character when building the sql, and stripped when reading from result set. i already checked in parts of the solution, but i

Re: Struts + OJB

2004-11-24 Thread Thomas Dudziak
Bikram B Kapoor wrote: All the entries are in place, after a lot of debugging I found out the error was occurring at the line serviceClass.newInstance() The properties file is exactly the same as in the sample and they are in the correct folder. What could be the reason??? Hmm, I couldn't find