is OJB a JAR, and other newbie questions

2009-02-25 Thread Thufir
I've just started using the apache packages ECS and DBCP for servlets, but would like do more, of course. Maybe I just can't find the correct documentation, but it seems like the fine manual, so to speak, comes in two categories. One glosses over details about where to put files and the

Re: newbie problems

2006-04-19 Thread Armin Waibel
Hi Dmitry, I don't know what's going wrong when running the tutorial (seems that Product.class was correctly enhanced by the JDO enhancer). But I wouldn't recommend OJB's JDO 1.0-api implementation for production environments. The PB-api and ODMG-api are stable and ready for production use

Re: newbie problems

2006-04-19 Thread Dmitry Litvintsev
Thank you Armin, Please educate me a bit, cause I am a bit perplexed by your mail. You say OJB does not work well w/ JDO, use ODMG or PB OK, I understand that. then you say: If you want to use JDO, please have a look at JPOX or Speedo (or other JPOX is a implementation of JDO, isn't it?

Re: newbie problems

2006-04-19 Thread Armin Waibel
Dmitry Litvintsev wrote: Thank you Armin, Please educate me a bit, cause I am a bit perplexed by your mail. You say OJB does not work well w/ JDO, use ODMG or PB OK, I understand that. then you say: If you want to use JDO, please have a look at JPOX or Speedo (or other JPOX is a

Re: newbie problems

2006-04-19 Thread Antonio Gallardo
Dmitry Litvintsev escribió: Thank you Armin, Please educate me a bit, cause I am a bit perplexed by your mail. You say OJB does not work well w/ JDO, use ODMG or PB OK, I understand that. then you say: If you want to use JDO, please have a look at JPOX or Speedo (or other

newbie problems

2006-04-18 Thread Dmitry Litvintsev
Hi, I am developing a java application and I am considering OJB technology to store objects' states seamlessly in the PostgreSQL database. In short I am failing to get tutorial5 up and running. I followed instructions on this link:

newbie can't get started

2006-01-31 Thread eweek
I'm a newbie trying to get into OJB. I downloaded 1.0.4 src and unzipped it When I run bin\build.bat from command window, it fails with over 100 duplicate class errors, example: duplicate class: org.apache.ojb.broker.Identity I have JAVA_HOME set to a java5 jdk. What is wrong? Can anyone point

Re: newbie can't get started

2006-01-31 Thread Thomas Franke
[EMAIL PROTECTED] wrote: Can anyone point me to a getting started kind of document? Only follow the link: http://db.apache.org/ojb/docu/getting-started.html regards, Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: newbie can't get started

2006-01-31 Thread Armin Waibel
Hi, [EMAIL PROTECTED] wrote: I'm a newbie trying to get into OJB. I downloaded 1.0.4 src and unzipped it When I run bin\build.bat from command window, it fails with over 100 duplicate class errors, example: duplicate class: org.apache.ojb.broker.Identity I have JAVA_HOME set to a java5 jdk

Re: possible newbie Question; Wrong Long id when fetching..

2006-01-17 Thread Armin Waibel
Hi Christian, Christian Vejrich wrote: When inserting a new object, mysql db with autoincrement the database stores the object correct and sets an correct id, but when fetching all the stored objects( ojb does a select *) , the ids in the objects returned from ojb are completly different ones?

Re: [Fwd: SV: possible newbie Question; Wrong Long id when fetching..]

2006-01-17 Thread Armin Waibel
Waibel [mailto:[EMAIL PROTECTED] Skickat: den 17 januari 2006 10:57 Till: OJB Users List Ämne: Re: possible newbie Question; Wrong Long id when fetching.. Hi Christian, Christian Vejrich wrote: When inserting a new object, mysql db with autoincrement the database stores the object correct and sets

SV: [Fwd: SV: possible newbie Question; Wrong Long id when fetching..]

2006-01-17 Thread Christian Vejrich
Hi, -Ursprungligt meddelande- Från: Armin Waibel [mailto:[EMAIL PROTECTED] Skickat: den 17 januari 2006 12:03 Till: OJB Users List Ämne: Re: [Fwd: SV: possible newbie Question; Wrong Long id when fetching..] Hi, Im using, db-obj-1.0.3.jar metadata mapping: class-descriptor

Newbie problem finding a solution retrieving orphaned rows

2005-07-13 Thread Bernd Laengerich
Hi, First please excuse my english as this is not my native language. I am new to OJB and I am using the PB-API. Given class A with attributes and a foreign key reference to class B (b_ref) class B with b_id and more attributes The reference is n to 1, so one instance of B can be referenced by

NewBie: How to specify sql table creation order

2005-04-11 Thread Z N
Hi, I am a newbie to OJB. I am going thru the documentation and trying to create a couple of simple entities/relations. I am facing a problem : The sql that gets generated uses the wrong table creation first, my primary entities are created last and the dependent table sql gets generated first

Re: NewBie: How to specify sql table creation order

2005-04-11 Thread Thomas Dudziak
This sounds more like a problem with Torque which is per default used to generate the tables in the database. You can try to use commons-sql instead (http://jakarta.apache.org/commons/sandbox/sql/), it groks the same table schema but it splits the table generation and the creation of foreignkeys

Re: NewBie: How to specify sql table creation order

2005-04-11 Thread Z N
Hi Tom, Thanks a lot for responding. I'm grappling with the basic concepts. I see, so instead of specifying an entity creation order, we'd rather let another tool (commons-sql) that can decipher primary and dependent entities, split them up, and order them by this distinction, and let it

Re: NewBie: How to specify sql table creation order

2005-04-11 Thread Thomas Dudziak
I'm grappling with the basic concepts. I see, so instead of specifying an entity creation order, we'd rather let another tool (commons-sql) that can decipher primary and dependent entities, split them up, and order them by this distinction, and let it resolve the dependencies. Is my

Re: NewBie: How to specify sql table creation order

2005-04-11 Thread Z N
Hi Tom, Awesome. That was very insightful. I'll try it out now that I think I understand it much better. Thanks again. ZN --- Thomas Dudziak [EMAIL PROTECTED] wrote: I'm grappling with the basic concepts. I see, so instead of specifying an entity creation order, we'd rather

NewBie: How to specify sql table creation order

2005-04-11 Thread Z N
Hi, I am a newbie to OJB. I am going thru the documentation and trying to create a couple of simple entities/relations. I am facing a problem. I guess that option must be provided, but I am just not finding how to do it : The sql that gets generated uses the wrong table creation first, my

Re: newbie

2005-03-30 Thread Martin Kalén
krupa B wrote: Can somebody suggest a good book or tutorials in easy to understand manner. Did you try the Getting Started section? http://db.apache.org/ojb/docu/getting-started.html You can also find useful info in the FAQ: Getting Started: http://db.apache.org/ojb/docu/faq.html#gettingStarted

Re: newbie

2005-03-30 Thread krupa B
Thanks Martin, I looked at the tutorials, I will look at getting started.Thanks for your reply. Martin Kalén [EMAIL PROTECTED] wrote:krupa B wrote: Can somebody suggest a good book or tutorials in easy to understand manner. Did you try the Getting Started section?

newbie

2005-03-29 Thread krupa B
Hi I am a newbie to OJB. The OR mappings tutorial is kinda hard for me to understand. Can somebody suggest a good book or tutorials in easy to understand manner. Thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection

[newbie] ODMG API : updating an object's primary key.

2005-02-09 Thread Cocula Remi
Hi, I try to use the ODMG API of OJB. I noticed that, if I read an object from the database, then modify a property that is declared as a primary key (in the mapping) and save the object to the database, a new row is created as if it was a new object inserted. Is there a way to modify an

Re: [newbie] ODMG API : updating an object's primary key.

2005-02-09 Thread Thomas Dudziak
Why would you want to do that ? The primary key identifies the object uniquely, so if you change the value of the corresponding java field(s), then OJB and the database think that you have created a new instance of the class/new row in the table. Tom

RE: [newbie] ODMG API : updating an object's primary key.

2005-02-09 Thread Cocula Remi
in the java object, it is still the same object and not a new one. -Message d'origine- De : Thomas Dudziak [mailto:[EMAIL PROTECTED] Envoyé : mercredi 9 février 2005 13:28 À : OJB Users List Objet : Re: [newbie] ODMG API : updating an object's primary key. Why would you want to do

Re: [newbie] ODMG API : updating an object's primary key.

2005-02-09 Thread Thomas Dudziak
But as far as OJB and the database is concerned, it is a new one, because they cannot determine to which 'old' one it corresponds. The problem here is that OJB and the database use object equality (if two objects are equal as determined by equals()/hashCode()) whereas you want to use identity

RE: [newbie] ODMG API : updating an object's primary key.

2005-02-09 Thread Cocula Remi
ok. Thank you. -Message d'origine- De : Thomas Dudziak [mailto:[EMAIL PROTECTED] Envoyé : mercredi 9 février 2005 13:52 À : OJB Users List Objet : Re: [newbie] ODMG API : updating an object's primary key. But as far as OJB and the database is concerned, it is a new one, because

Re: [Newbie Q] obj-blank xdoclet ant task not generating repository_user

2004-11-27 Thread Thomas Dudziak
Robert Baruch wrote: I'm using the obj-blank project as is, except that I have added a single file: src/java/genealogy/data/CitationPartType.java: package genealogy.data; /** * @obj.class */ public class CitationPartType { /** * @obj.field */ private String name; /** * @obj.field *

Re: [Newbie Q] obj-blank xdoclet ant task not generating repository_user

2004-11-27 Thread Thomas Dudziak
Robert Baruch wrote: Hi all, I'm using the obj-blank project as is, except that I have added a single file: src/java/genealogy/data/CitationPartType.java: package genealogy.data; /** * @obj.class */ public class CitationPartType { /** * @obj.field */ private String name; /** *

Re: [Newbie Q] obj-blank xdoclet ant task not generating repository_user

2004-11-27 Thread Robert Baruch
Thomas Dudziak wrote: The OJB XDoclet module does not process the type because you misspelled the xdoclet tags: its @[EMAIL PROTECTED], not @[EMAIL PROTECTED] (this is quite hard to catch ;-) ) sigh I am so embarrassed :) Thanks! --Rob

[Newbie Q] obj-blank xdoclet ant task not generating repository_user

2004-11-26 Thread Robert Baruch
Hi all, I'm using the obj-blank project as is, except that I have added a single file: src/java/genealogy/data/CitationPartType.java: package genealogy.data; /** * @obj.class */ public class CitationPartType { /** * @obj.field */ private String name; /** * @obj.field *

Re: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Armin Waibel
Hi Roman, does OJB find your repository.xml file? Think we need more detailed info to help, so could you please post the whole stack trace and the connection declaration. regards, Armin Stark, Roman wrote: For the past tow days I tried to set up the ojb-blank project. Everything I try ends up

Re: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Thomas Dudziak
Stark, Roman wrote: For the past tow days I tried to set up the ojb-blank project. Everything I try ends up with the following message: There was no default-PBKey specified I am using eclips 3 for the project following the instructions from the web site. All I have tried so far is just get a

RE: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Stark, Roman
:48 To: OJB Users List Subject: Re: FW: Newbie Question : There was no default-PBKey specified Hi Roman, does OJB find your repository.xml file? Think we need more detailed info to help, so could you please post the whole stack trace and the connection declaration. regards, Armin Stark, Roman

Re: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Armin Waibel
, 2004 10:48 To: OJB Users List Subject: Re: FW: Newbie Question : There was no default-PBKey specified Hi Roman, does OJB find your repository.xml file? Think we need more detailed info to help, so could you please post the whole stack trace and the connection declaration. regards, Armin Stark

RE: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Stark, Roman
folder (see the Getting Started doc at http://db.apache.org/ojb/docu/getting-started.html for details). -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 11:19 To: OJB Users List Subject: Re: FW: Newbie Question : There was no default-PBKey

Re: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Pulat Yunusov
Can you please modify your mailer so it doesn't request return receipts? Thank you, Pulat Stark, Roman wrote: For the past tow days I tried to set up the ojb-blank project. Everything I try ends up with the following message: There was no default-PBKey specified I am using eclips 3 for the project

Re: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Thomas Dudziak
Stark, Roman wrote: I think the problem is how I run the application. Thomas Dudziak's post I think made that clear. I just assumed I can use eclps to run it, but this may not be true. I need to figure out how to get this to execute from the corect location. I am not sure if that can be done

RE: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread lasse . lambrecht
Return Receipt Your RE: FW: Newbie Question : There was no default-PBKey documen specified t

RE: Newbie question on field access error

2004-10-18 Thread oliver . matz
Hello Andy, -Original Message- From: Whitaker, Andy [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 9:48 PM To: [EMAIL PROTECTED] Subject: Newbie question on field access error Hello, I'm new to OJB and I'm maintaining an app that uses OJB 1.0.0 and I'm receiving

which tuto to start with ? was (Re: [newbie] ojb build failed on MacOS X.3.5)

2004-09-17 Thread Yvon Thoraval
Le 16 sept. 04, à 21:14, Thomas Dudziak a écrit : The beginner's tutorial on the OJB website uses this to introduce you to OJB. Is somewhere a specific link to this tuto ? because i've found : A full featured ODMG 3.0 compliant API. (See the ODMG Tutorial for an introduction.) See JDO

Re: which tuto to start with ? was (Re: [newbie] ojb build failed on MacOS X.3.5)

2004-09-17 Thread Thomas Dudziak
Yvon Thoraval wrote: Is somewhere a specific link to this tuto ? It's the very first one on the site, called Getting started. You can find it here: http://db.apache.org/ojb/docu/getting-started.html Tom - To unsubscribe, e-mail:

Re: which tuto to start with ? was (Re: [newbie] ojb build failed on MacOS X.3.5)

2004-09-17 Thread Yvon Thoraval
Le 17 sept. 04, à 09:07, Thomas Dudziak a écrit : It's the very first one on the site, called Getting started. You can find it here: http://db.apache.org/ojb/docu/getting-started.html fine, tanxs °;)) Yvon PGP.sig Description: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=

[newbie] ojb build failed on MacOS X.3.5

2004-09-16 Thread Yvon Thoraval
Hey all, new to ojb, i do have some experience with hsqldb and plan to migrate from sql to oql. then i wanted to follow the quickstart at your web site and install db-ojb-1.0.rc2. however i get stuck here about this error message after a : nord-2-81-57-96-20:~/Desktop/db-ojb-1.0.rc2> sh

junit: BUILD SUCCESSFUL was (Re: [newbie] ojb build failed on MacOS X.3.5)

2004-09-16 Thread Yvon Thoraval
Le 16 sept. 04, à 21:14, Thomas Dudziak a écrit : If you're about to quickstart with OJB, it would be best if you start with the newest stable version which is 1.0.1 (rc2 is quite old btw). Also, with this version you should not need to build OJB from source. Simply download the bin version

Using Inner Class Collection types (Newbie asking for help)

2004-08-08 Thread Martin Easterbrook
Hi, I wonder if anyone can help me with this. I have some code which uses inner class collections because they seem to be an 'easy' way to implement bi-directional links. This means that I can write; theFoo.tobar.set(theBar); // and then Collection foos =

newbie: using timestamp in criteria, compound primary key

2004-07-16 Thread jonathan . lister
I am trying to limit a select from a logtable to the last so many days worth of entries, but I get a class cast exception. Other criteria on same table work OK, so I'm sure most of the setup is good. Am I missing something really obvious? Is there an example available for querying by timestamp?

Re: newbie: using timestamp in criteria, compound primary key

2004-07-16 Thread Thomas Dudziak
[EMAIL PROTECTED] wrote: I am trying to limit a select from a logtable to the last so many days worth of entries, but I get a class cast exception. Other criteria on same table work OK, so I'm sure most of the setup is good. Am I missing something really obvious? Is there an example available for

RE: newbie: using timestamp in criteria, compound primary key

2004-07-16 Thread jonathan . lister
: org.apache.ojb.broker.PersistenceBrokerException -Original Message- From: Thomas Dudziak [mailto:[EMAIL PROTECTED] Sent: 16 July 2004 13:07 To: OJB Users List Subject: Re: newbie: using timestamp in criteria, compound primary key [EMAIL PROTECTED] wrote: I am trying to limit a select from a logtable to the last so many days worth

Re: newbie: using timestamp in criteria, compound primary key

2004-07-16 Thread Thomas Dudziak
[EMAIL PROTECTED] wrote: oops, here is the output exception. Using OJB 1.0rc7 stable INFO: adding criteria greater than log_time 2004-07-14 12:26:52.578 16-Jul-2004 12:26:53 com.vaisala.ice.vmdbReport.view.IpmLogDAO getRecentActivity INFO: calling getCollectionByQuery 04/07/16 12:26:53

Re: newbie: using timestamp in criteria, compound primary key

2004-07-16 Thread Thomas Dudziak
[EMAIL PROTECTED] wrote: very similar results using 1.0.0 final: (I really should read mails more thouroughly :-) ) The problem seems to be that you used the wrong method on the criteria object: criteria.addGreaterThanField(log_time, t); This method is intended to be used when comparing *with*

RE: newbie: using timestamp in criteria, compound primary key

2004-07-16 Thread jonathan . lister
excellent, works a treat now, many thanks ! -Original Message- From: Thomas Dudziak [mailto:[EMAIL PROTECTED] Sent: 16 July 2004 14:33 To: OJB Users List Subject: Re: newbie: using timestamp in criteria, compound primary key [EMAIL PROTECTED] wrote: very similar results using 1.0.0

updating collections (newbie)

2004-06-17 Thread Bartosz Jankiewicz
Hello, I just started using OJB and following question arised. Is there a way of updating referenced Collection without querying item objects from database? Example: User object hava Collection of Role objects attribute. All aplicable Role objects are already stored in database. Some view returns

Re: Newbie needs help with OJB in Eclipse

2004-04-17 Thread Thomas Mahler
Hi Doug, This seems like a problem with your build classpath settings in eclipse. Try to load OJB from CVS HEAD with eclipse. In CVS we have the eclipse .project and .claspath files that eclipse needs to build OJB. Thomas Doug Poland wrote: Hello, I'm trying to learn OJB but am struggling

Re: JDO and OJB newbie Question

2004-04-16 Thread Thomas Mahler
Use ANT. Using ANT to build OJB should work without problems on any platform. Thomas Charles N. Harvey III wrote: I'm having a lot of trouble building from HEAD. Do I use maven or ant? I get the STRANGEST error when I try to use ant. Its probably something with my maven/ant installation

Re: JDO and OJB newbie Question

2004-04-15 Thread Charles N. Harvey III
I'm having a lot of trouble building from HEAD. Do I use maven or ant? I get the STRANGEST error when I try to use ant. Its probably something with my maven/ant installation though. Ok, so, I'm getting there. I'm starting to understand JDO a bit. I hadn't actually looked at it before today.

Re: Newbie needs help with OJB in Eclipse

2004-04-14 Thread Armin Waibel
Hi Doug, seems like a classloader problem. Do you have different ojb-jar files (or source/classes + ojb-jar) in classpath? regards, Armin Doug Poland wrote: Hello, I'm trying to learn OJB but am struggling getting a simple project to run in Eclipse 2.1.3. I found what appears to be a good

JDO and OJB newbie Question

2004-04-14 Thread Nicolas Arni-Bloch
Hi all, I want to try JDO with OJB but I have some misunderstood. I am not very clear about where to put the MetaData for the mapping ? In the repository.xml or in the XXX.jdo ? I look in the tutorial5 and I see that information for the mapping are stored in the Product.jdo. So should we put

Re: Newbie Question : OTM or ODMG

2004-04-14 Thread Brian McCallister
Ah, I missed the checkin message on that! Thank you! -Brian On Apr 13, 2004, at 5:20 PM, Oleg Nitz wrote: On Tuesday 13 April 2004 15:17, Brian McCallister wrote: Huh, the ODMG slower thing is interesting as Armin just reemed us all out for letting the OTM get so much slower than ODMG ;-) Have

Re: JDO and OJB newbie Question

2004-04-14 Thread Brian McCallister
You need both if you are using the JDORI plugin. It is annoying =( The native JDO impl I am working on for OJB will allow you to just use the OJB mappings as the .jdo files will only be used for (optional in OJB but not for spec-compliant JDO) bytecode enhancement process. This JDO impl is

Re: JDO and OJB newbie Question

2004-04-14 Thread Charles N. Harvey III
Brian, I _don't_ want to filter my queries. Can I give the native implementation a try? Would that be the CVS Head or would it be a different branch? Thanks. Charlie Brian McCallister wrote: You need both if you are using the JDORI plugin. It is annoying =( The native JDO impl I am working

Re: JDO and OJB newbie Question

2004-04-14 Thread Brian McCallister
You will need CVS HEAD, correct -- also make sure you are comfy looking around the sources to see what is implemented and not. I have tried to throw OperationUnsupportedException(Not yet imeplemented!) when a feature isn't actually implemented yet =) This code is being actively written so it

Re: Newbie Question : OTM or ODMG

2004-04-14 Thread Oleg Nitz
On Wednesday 14 April 2004 15:51, Brian McCallister wrote: Have I missed something? Are there any new performance tests? Armin emailed the -dev list a few days back =) What was the subject? Still can't find. - To unsubscribe,

Re: Newbie Question : OTM or ODMG

2004-04-14 Thread Armin Waibel
Hi Oleg, try this [OTM] Massive performance decrease between Feb and Apr version http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]msgNo=6875 regards, Armin Oleg Nitz wrote: On Wednesday 14 April 2004 15:51, Brian McCallister wrote: Have I missed something? Are there any new performance

RE: Newbie Question : OTM or ODMG

2004-04-13 Thread Daniel Perry
- i never got it working in ODMG. Daniel. -Original Message- From: Jean-Francois Beaulac [mailto:[EMAIL PROTECTED] Sent: 07 April 2004 17:03 To: [EMAIL PROTECTED] Subject: Newbie Question : OTM or ODMG Hi , i'm a real OJB newbie and I wonder which API should I use, i searched

Re: Newbie Question : OTM or ODMG

2004-04-13 Thread Brian McCallister
by about 5x! Doing complex (nested to several degrees a.b.c...) in OTM works - i never got it working in ODMG. Daniel. -Original Message- From: Jean-Francois Beaulac [mailto:[EMAIL PROTECTED] Sent: 07 April 2004 17:03 To: [EMAIL PROTECTED] Subject: Newbie Question : OTM or ODMG Hi , i'm

RE: Newbie Question : OTM or ODMG

2004-04-13 Thread Daniel Perry
directly. (that was what i was refering to with regards to speed) And a little OTM when i need locking for administrative tasks. Daniel. -Original Message- From: Brian McCallister [mailto:[EMAIL PROTECTED] Sent: 13 April 2004 13:17 To: OJB Users List Subject: Re: Newbie Question : OTM

Re: Newbie Question : OTM or ODMG

2004-04-13 Thread Oleg Nitz
On Tuesday 13 April 2004 15:17, Brian McCallister wrote: Huh, the ODMG slower thing is interesting as Armin just reemed us all out for letting the OTM get so much slower than ODMG ;-) Have I missed something? Are there any new performance tests? When I tested last time, OTM was somewhat faster.

Newbie needs help with OJB in Eclipse

2004-04-13 Thread Doug Poland
Hello, I'm trying to learn OJB but am struggling getting a simple project to run in Eclipse 2.1.3. I found what appears to be a good tutorial entitled... Object-Relational Mapping with Apache Jakarta OJB by Charles Chan (http://www.onjava.com/lpt/a/2946) dated: 01/08/2003 I've

Newbie Question : OTM or ODMG

2004-04-07 Thread Jean-Francois Beaulac
Hi , i'm a real OJB newbie and I wonder which API should I use, i searched the mailing list and read the entire documentation on the website (i didnt read the entire JavaDoc of course) but i wasn't able to find a great comparison between the two APIs. It would be very usefull to me if somebody

Re: Newbie (almost) at a standstill

2004-04-02 Thread raphael . x . mankin
] | | | | cc: | | Subject: Re: Newbie at a standstill

Re: Newbie (almost) at a standstill

2004-04-02 Thread Brian McCallister
] | | | | cc: | | Subject: Re: Newbie at a standstill

Re: Newbie (almost) at a standstill

2004-04-02 Thread raphael . x . mankin
] | | | | cc: | | Subject: Re: Newbie

Re: Newbie (almost) at a standstill

2004-04-02 Thread raphael . x . mankin
] | | | | cc: | | Subject: Re: Newbie (almost) at a standstill

Re: Newbie (almost) at a standstill

2004-04-02 Thread Brian McCallister
On Apr 2, 2004, at 9:23 AM, [EMAIL PROTECTED] wrote: Thank you all for your pointers. I am well aware of the difficulty of writing good documentatioin when you are an expert in the field; sometimes ignorance is a blessing. I shall continue to report omissions or ambiguities as I find them. Much

Re: Newbie (almost) at a standstill

2004-04-02 Thread Thomas Dudziak
On Fri, 2 Apr 2004, Brian McCallister wrote: Both count(*) and 'as' are in the OQL grammar I downloaded from ODMG.org yesterday. The one is in 'aggregateExpr', the other in 'projection'. If, as you say, the selection list (projectionAttributes in the grammar) is merely a

Re: Newbie at a standstill

2004-03-30 Thread raphael . x . mankin
] | | | | cc: | | Subject: Re: Newbie at a standstill

Re: Newbie at a standstill

2004-03-30 Thread Armin Waibel
starting point for a newbie ;-) ahh, now I see in your repository_database.xml what you have done. You picked up a jdbc-connection-descriptor used for junit testing and set you DB properties. This will not work, because the used properties don't be valid. Did you see http://db.apache.org/ojb/getting

Re: Newbie at a standstill

2004-03-30 Thread raphael . x . mankin
: | | Subject: Re: Newbie at a standstill | -| Hi Raphael, from your

Newbie at a standstill

2004-03-29 Thread raphael . x . mankin
I am trying to get OJB working and am getting absolutely nowhere, so I appeal to the list for some help. The environment is OJB rc5, Eclipse IDE, Sun JDK1.4.2, Oracle 9, NT4.0. The running of the code is controlled by JUnit. I can connect to the DB both with sqlplus and jdbc. I cannot actually

Re: Newbie at a standstill

2004-03-29 Thread Brian McCallister
Are you using the ant build? The ojb-blank project template does a property replace in the build -- the required database information is in the build.properties and is copied into the generated repository_database.xml that goes in build/ when compilation is run. -Brian On Mar 29, 2004, at

Re: Newbie Proxy problem

2004-03-23 Thread Mauricio Montblanch
be going wrong. Best regards, Edson Richter - Original Message - From: Mauricio Montblanch To: OJB Users List Sent: Friday, March 19, 2004 11:54 AM Subject: Newbie Proxy problem Hi I am trying to use a dynamic proxy in a 1:n relation (loading a list) but a I can 't figure out how

Re: Newbie Proxy problem

2004-03-23 Thread Edson Carlos Ericksson Richter
for your objects. Best regards, Edson Richter - Original Message - From: Mauricio Montblanch To: OJB Users List Sent: Tuesday, March 23, 2004 3:16 PM Subject: Re: Newbie Proxy problem Nop, it did not work, have you any example Edson Carlos Ericksson Richter

Re: Newbie Proxy problem

2004-03-23 Thread Edson Carlos Ericksson Richter
Richter To: OJB Users List Sent: Tuesday, March 23, 2004 3:48 PM Subject: Re: Newbie Proxy problem I'll try to do show in a sample: public class TestA { public int idA; public java.util.List allB; } public class TestB { public int idB; public int idReferenceToA; public TestA

Newbie Proxy problem

2004-03-19 Thread Mauricio Montblanch
Hi I am trying to use a dynamic proxy in a 1:n relation (loading a list) but a I can 't figure out how make it work (I get a java.lang.ClassCastException when I try to get the any object), can anyone give me a simple example of how to use a dynamic proxy. Detail Clases: Product

RE: Newbie Question

2004-03-03 Thread Mahler Thomas
Hi Gavin, The ojb-blank target is a template for your own projects. To simply build ojb use the target release. Thomas -Original Message- From: Gavin Paul Selvaratnam [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 7:46 AM To: '[EMAIL PROTECTED]' Subject: Newbie Question

Newbie: Problems with passing persistent Objects via a RMI-Connection

2004-01-13 Thread Steckel, Philipp
, that this is a simple newbie-problem. If there is more information/code needed, please just tell me. Thanks a lot in advance, Philipp. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Newbie: Problems with passing persistent Objects via a RMI-Connection

2004-01-13 Thread Larry V. Streepy, Jr.
); This is used to store(like in the tutorial): dbBroker.beginTransaction(); dbBroker.store(ProductCon); dbBroker.commitTransaction(); I guess, that this is a simple newbie-problem. If there is more information/code needed, please just tell me. Thanks a lot

a select OQLQuery doing an insert on commit? [newbie]

2004-01-02 Thread katarn
Hello, I am having the following situation and I don't know where is my error: This is the code: tx = impl.newTransaction(); tx.begin(); final OQLQuery query = impl.newOQLQuery(); query.create(select TABLE from + classtype.class.getName()

Re: a select OQLQuery doing an insert on commit? [newbie]

2004-01-02 Thread katarn
I was inserting a row with a primary key of 0 (zero) by hand. That was the row that was being duplicated. The autoincrement was true for that field. I would like to learn why? : A field with autoincrement = true and a value of 0 is automatically inserted? If that is true, every time it was

OQLQuery being cached? [orb newbie]

2003-12-29 Thread katarn
Hi, I am executing the following code: OQLQuery query = impl.newOQLQuery(); query.create( [THEQUERY] ); DList results = (DList)query.execute(); Iterator iterator = results.iterator(); If I change some column with an external tool and then execute the code, the updated column is not

Re: OQLQuery being cached? [orb newbie]

2003-12-29 Thread edson . richter
Are you working with DefaultCacheImpl or EmptyCacheImpl? If you are working with DefaultCacheImpl, take a look at config parameters. Otherwise, are there any exceptions (stack trace), messages (they can be very usefull if you enable higher level of logging as DEBUG). Best regards, Edson Richter

Re: OQLQuery being cached? [orb newbie]

2003-12-29 Thread katarn
Thanks for your quick answer, I cheched the OJB.properties file an I was using DefaultCacheImpl I change it to ObjectCacheEmptyImpl and now it is working as I was expecting. Now just to learn the reasons for the previous behaviour: A comment in OJB.properties: # The ObjectCacheClass

Re: OQLQuery being cached? [orb newbie]

2003-12-29 Thread edson . richter
In real, I'm not an specialist in caches ;), but I've used with success object-cache .. tag inside class-descriptor, no elsewhere. I think I've read somewhere that is possible to configure the object-cache for the connection (or the alias), but I never reade more, and now I'm not sure. Give a

Newbie OQL select question - can I selectively retrieve fields?

2003-12-26 Thread Ara Juljulian
Is it possible to retrieve only certain fields of a table through OJB OQL? Something similar to the SQL: select id, video_id from VIDEO_DATA where id=5. Doing things like select id, videoId from + VideoData.class.getName() + where id = + videoDataId doesn't seem to work. It continues

RE: Newbie OQL select question - can I selectively retrieve field s?

2003-12-26 Thread Thierry Hanot
] Sent: Friday, December 26, 2003 4:14 PM To: [EMAIL PROTECTED] Subject: Newbie OQL select question - can I selectively retrieve fields? Is it possible to retrieve only certain fields of a table through OJB OQL? Something similar to the SQL: select id, video_id from VIDEO_DATA where id=5. Doing

RE: Newbie OQL select question - can I selectively retrieve field s?

2003-12-26 Thread Thierry Hanot
You can also use the ReportQuery for doing what you want but it doesn't return objects , only the request rows . -Original Message- From: Ara Juljulian [mailto:[EMAIL PROTECTED] Sent: Friday, December 26, 2003 4:14 PM To: [EMAIL PROTECTED] Subject: Newbie OQL select question - can I

RE: Newbie OQL select question - can I selectively retrieve fields?

2003-12-26 Thread Ara Juljulian
That sounds like an interesting solution. I'll try that. Thanks. -Ara- -Original Message- From: Thierry Hanot [mailto:[EMAIL PROTECTED] Sent: Friday, December 26, 2003 7:20 AM To: 'OJB Users List' Subject: RE: Newbie OQL select question - can I selectively retrieve fields? May be you

Newbie needs help

2003-12-10 Thread Patrick Scheuerer
Hello everybody, I just got started with OJB and i'm experiencing some problems. Here's the scenario that i'm trying to get to work: A DOCUMENT belongs to 1..n CATEGORY. A DOCUMENT is relevant to 0..n PRODUCT_MODELs. A DOCUMENT is written by 1..1 AUTHOR. D DOCUMENT is described by 1..n KEYWORDs.

Newbie questions….please help me

2003-12-10 Thread Mahbub ul Huq Bin Kabir
Hi, I’m a very new comer to this technology and don’t have clear idea about persistence layer. So I decided to ask some question to this group and hopefully get a reply. Now I’m using the JDBC API for the development. I’m handling a large database with simple JDBC and have to generate reports

  1   2   >