Re: [castor-dev] Error in compiling XSDs

2005-06-15 Thread Bruce Snyder
On 6/15/05, Palani, Uma Shankar <[EMAIL PROTECTED]> wrote: > Can you please help in resolving the following problem. I am trying to do the > XSD compiling through the castor Source Generator. > I am getting this following error while generating the java files from the > XSDs. > > Creating class

Re: [castor-dev] Websphere 4.0.2

2005-03-29 Thread Bruce Snyder
On Tue, 29 Mar 2005 13:22:42 +0200, Ralf Joachim <[EMAIL PROTECTED]> wrote: > > Is there anybody who can tell us the name of Websphere Transaction > Manager Factory at Version 4.0.2? We are not shure if it's: > > "com.ibm.ejcs.jts.jta.JTSXA" > > or > > "com.ibm.ejs.jts.jta.JTSXA" > > For Vers

Re: [castor-dev] References by class type

2005-03-21 Thread Bruce Snyder
On Mon, 21 Mar 2005 09:53:50 -0500, Jeremy Haile <[EMAIL PROTECTED]> wrote: > > Is there any way to reference an object by ID, but only have Castor > create the reference for a particular class. > > For example: > > > myFruit > > > > myFruit > > > > > > The subelements in the baske

Re: [castor-dev] how to make org.exolab.castor.jdo.Database thread safe

2005-02-12 Thread Bruce Snyder
On Sat, 12 Feb 2005 16:33:44 +0100, Markus Sell <[EMAIL PROTECTED]> wrote: > I want to use multiple Database Objects within my Application (A Database > object per Thread). The Application is running standalone, not in a J2EE > container. In the documentation I just found "There is little over

Re: [castor-dev] [XML] Schema Generation from source

2005-02-11 Thread Bruce Snyder
On Fri, 11 Feb 2005 11:46:49 -0600, Matthew D. Fleming <[EMAIL PROTECTED]> wrote: > We are using model driven development and as such have one domain level model > which is used to create all sorts of things: struts forms, hibernate mapping > files, etc. We use XDoclet to create the artifacts.

Re: [castor-dev] Source Generator - Advice/help? please

2005-01-27 Thread Bruce Snyder
On Thu, 27 Jan 2005 11:41:27 -0500, Paul Grillo <[EMAIL PROTECTED]> wrote: > > I would really appreciate some help on this, i'm sort of up against it. any > help would be "greatly" appreciated... > > I have a fairly complex schema that i'm generating java for. I have > flexibility to change

Re: [castor-dev] Hashmap key/value question

2005-01-25 Thread Bruce Snyder
On Tue, 25 Jan 2005 12:32:50 -0500, Mauricio Alarcon <[EMAIL PROTECTED]> wrote: > This might be a silly question, but I haven't been able to do this (also > I'm newbie to Castor), but I need some clues > > I've got a Hashmap in the following way > > key: LocId value:251 > key: ExpYrsCt value:

Re: [castor-dev] Fw: SVN -- Bugzilla (switch from CVS to Subversion)

2005-01-13 Thread Bruce Snyder
On Mon, 10 Jan 2005 09:43:37 +0100, Martin Fuchs <[EMAIL PROTECTED]> wrote: > Hi, > > just found a interesting message on the Subversion mailing list > about integration of Bugzilla and Subversion. > > Regards, > >Martih > > On 10.01.2005 05:02:55 McKenna, Simon (RGH) wrote: > > -=> Is an

Re: [castor-dev] Support for Apache Derby

2005-01-11 Thread Bruce Snyder
On Tue, 11 Jan 2005 20:44:19 +0100, Werner Guttmann <[EMAIL PROTECTED]> wrote: > I am currently in the process of adding support for Apache Derby for Castor > JDO. I am looking for users who are using Apache Derby (formerly known as > IBM Cloudscape) and who'd be willing to answer a couple of qu

Re: [castor-dev] Re: switch from CVS to Subversion

2005-01-03 Thread Bruce Snyder
On Mon, 03 Jan 2005 21:36:23 +0100, Martin Fuchs <[EMAIL PROTECTED]> wrote: > > > Hello Martin, have you see this thread from Nov. 2004? > > Yes, as you remember me. ;-) > > Bruce said, "SVN is fantastic", but he would like to have more > experience before switching. OK, this may be a standpoi

Re: [castor-dev] [jdo] Reading, in the same transaction, a data just created (reading via oql query)

2004-11-10 Thread Bruce Snyder
SYLVIE PALLUEL wrote: I don't know if this can help you, but I made another test with an OQL pass-thru, and I get the new object before the commit phase. It seems to me that using pass through SQL should only work if you are using autocommit. Are you using autocommit? What database are you using?

Re: [castor-dev] Re: [castor-user] How are you using Castor?

2004-11-10 Thread Bruce Snyder
Siddharth Chhabra wrote: how about a castor sample code contest ? In both the JDO and XML categories Users can send in samples which should solve some business problem and at the same time show off their 'Castor - skills and tricks' And the castor developers pick one winner. If you're intereste

Re: [castor-dev] Wish: SourceGenerator support for mapping.xml instead of Descriptors

2004-11-09 Thread Bruce Snyder
David Blevins wrote: On Thu, Oct 28, 2004 at 01:38:31PM -0500, David Blevins wrote: On Thu, Oct 28, 2004 at 06:50:33AM -0600, Bruce Snyder wrote: David Blevins wrote: An informal feature request for the devs and community at large. The SourceGenerator can already create essentialy POJOs and has

[castor-dev] How are you using Castor?

2004-11-09 Thread Bruce Snyder
I'm curious to know how people in the Castor community are using Castor. What features are you using and *how* are you using them? What business or technical problems are you solving? In what industries are you using Castor? I'm interested to hear from anyone within the community who has used or

Re: [castor-dev] Key and KeyRef Support in Castor. (?)

2004-11-08 Thread Bruce Snyder
Saravanan Subbiah wrote: Can you please let me know where to start looking to implementing this? I can give it a shot if I get some time. UnmarshalHandler and IDResolver are the two primary places that would require changes. Thanks ! I will look into this sometime. I feel that if equals method i

Re: [castor-dev] Switch to subversion??

2004-11-05 Thread Bruce Snyder
Nick Stuart wrote: Any chance you guys have thought about the switch over to subversion? I realize you are probably tied to whatever exolab uses and would require the whole shabang to move over as well and not just Castor. But hey, its worth a shot right?? =D I, for one, wouldn't mind a switch to

Re: [castor-dev] Wish: SourceGenerator support for mapping.xml instead of Descriptors

2004-10-28 Thread Bruce Snyder
David Blevins wrote: An informal feature request for the devs and community at large. The SourceGenerator can already create essentialy POJOs and has the smarts to create Descriptor classes that can marshal data to and from the schema and generated classes. I would really, really love it if it cou

Re: [castor-dev] How difficult would it be to support join in Oql

2004-10-16 Thread Bruce Snyder
Philip DONAGHY wrote: Bruce Snyder a écrit : Philip DONAGHY wrote: I'm just throwing this out there because I could really use a join syntax in Castor JDO. I would like to keep the select as a simple object but the from and where clauses would look something like this. SELECT Org

Re: [castor-dev] How difficult would it be to support join in Oql

2004-10-16 Thread Bruce Snyder
Philip DONAGHY wrote: I've looked at the source and off the top of my head (gut feeling) I think that two oql methods should be supported. ClassicSqlOql for mappings that can not be supported like mine. And advanced oql for mappings that can be supported. When two objects (A and B) with no relation

Re: [castor-dev] How difficult would it be to support join in Oql

2004-10-14 Thread Bruce Snyder
Philip DONAGHY wrote: I'm just throwing this out there because I could really use a join syntax in Castor JDO. I would like to keep the select as a simple object but the from and where clauses would look something like this. SELECT Org FROM db.finaixm.OrgAuth Org, db.finaixm.OrgAuthM OrgM

Re: [castor-dev] problem when calling castorJDO from within an axis webservice

2004-10-14 Thread Bruce Snyder
Marco Mistroni wrote: I used axis to write a webservice, and inside the webservice I am Calling CastorJDO to update a database. For mysterious reasons, I am getting exception whenever I try to instantiate A JDO object. I have put my code into a try/catch block, catching a generic java.l

Re: [castor-dev] Regression BUG in 0.9.5.4rc

2004-10-07 Thread Bruce Snyder
Tomasz Piontek wrote: Hi, I tried to use 0.9.5.4rc and it seems that it doesn't check constraints connected with required number of elements. According to my XML-schema environment has to have at least ONE variable. /bin but in case 0.9.5.4 doesn't complain about the lack of variables. wit

Re: [castor-dev] [JDO + XML]Tiger and Castor

2004-09-30 Thread Bruce Snyder
This one time, at band camp, Nick Stuart said: NS>Just a fair warning that there are going to be issues with trying to NS>compile Castor with the newly release Tiger JDK 1.5.0. The biggest NS>issue, and possibly the only one that causes 'errors' instead of NS>'warnings' is the use of the variable

Re: [castor-dev] Upcoming Releases

2004-09-30 Thread Bruce Snyder
This one time, at band camp, "Kreyßel, Conny" said: KC>can you tell me if the new release includes lazy loading for objects? KC> KC>I have written a patch for the 0.9.5.3 release with use of the cglib (http://cglib.sf.net/). KC> KC>If anyone would have it, write me a mail. Conny, I'd really lik

Re: [castor-dev] xml binding questions

2004-09-28 Thread Bruce Snyder
Kuldip Nijjar wrote: Kuldip, Please see my comments inline below: I’m looking into using Castor and I have a couple questions. I want map xml schema to Java objects inorder validate the data content of xml instance. I’m able to generate Java code from the xml schema using the source code generat

Re: [castor-dev] New datasource interface (was: Working with Castor's internal JDBC connection)

2004-09-15 Thread Bruce Snyder
Ralf Joachim wrote: I thougth it may be better to start a new tread for discussion on new Datasource interface. I appended the Datasource part of the original mail below. I was going to do the same thing ;-). As I do not know how you think the new interface should look like and if there are that

Re: [castor-dev] Re: Working with Castor's internal JDBC connection

2004-09-14 Thread Bruce Snyder
This one time, at band camp, Martin Fuchs said: MF>On 14.09.2004 20:20:52 Bruce Snyder wrote: MF> MF>> ... MF>> The cast to java.sql.Connection is explained above. Castor has MF>> always had plans to connected to data sources other than relational MF>> databases. B

Re: [castor-dev] Working with Castor's internal JDBC connection

2004-09-14 Thread Bruce Snyder
This one time, at band camp, Martin Fuchs said: MF>while looking through in Castor's source code the following question MF>hit me one more time: Why is it made so difficult to retrieve the MF>underlying JDBC connections from Castor? MF> MF>Yes, I saw the warning "Only for internal / advanced use

Re: [castor-dev] CallbackInterceptor release method

2004-09-03 Thread Bruce Snyder
Mattias Bogeblad wrote: I used to put some logic in the stored method which did castor cache-refreshes remote and some other logic. It seemed however that the locks were not released on the entities when "stored" was called so the application just hung. Is that the right conclusion? There is no sto

Re: [castor-dev] CallbackInterceptor release method

2004-09-02 Thread Bruce Snyder
Mattias Bogeblad wrote: Does anyone know the CallbackInterceptor good. I’m having problems intercepting which objects will in the end be actually committed to the database from the released-method. The commit-flag does not seem to reflect the actual state. The storing-method is better but that o

Re: [castor-dev] In Multithreaded environment Why acquire a lock when accessMode is "read-only"

2004-08-30 Thread Bruce Snyder
Kalpesh Patel wrote: Bruce, Thats fine that we will change the Cache implementation but if you see my mail was not regarding the Cache performance. My real Question is that if accessmode is "read-only" in mapping.xml then why we are doing this locking business after fectching the object from cache.

Re: [castor-dev] In Multithreaded environment Why acquire a lock when accessMode is "read-only"

2004-08-30 Thread Bruce Snyder
Gregory Block wrote: It would be nice if we included the oswego concurrency library and moved to ReadWriteLock API for operations like this. Also, sidenote: I've just done some perf analysis on our staging server and found some pretty hefty inefficiencies in the TimeLimited cache. (We use a low

Re: [castor-dev] Cant download...

2004-08-27 Thread Bruce Snyder
Nick Stuart wrote: Hey all, I'm trying to download the 9.5.3 src to try some stuff out and i cant get to the ftp site. Keeps saying I cant access the directory/file. Any ideas? Anyone else have this problem? If i try to access it in mozilla it gives the error: 425: Cant build data connection: Illeg

Re: [castor-dev] Patch for ClassMolder problem I'm encountering...

2004-07-26 Thread Bruce Snyder
Gregory Block wrote: On 26 Jul 2004, at 08:43, Bruce Snyder wrote: This would be great, Gregory. As long as it doesn't affect the other tests, I'm fine with that. Having a single, monolithic mapping descriptor was beginning to be a real pain anyway. However, it doesn't work - we

Re: [castor-dev] CVS version of Castor

2004-07-26 Thread Bruce Snyder
Martin Fuchs wrote: Hi, when trying to use the current CVS version of Castor I get the following Exception message: unable to find FieldDescriptor for 'data-source' in ClassDescriptor of jdo-conf org.xml.sax.SAXException: unable to find FieldDescriptor for 'data-source' in ClassDescriptor of jdo-

Re: [castor-dev] Patch for ClassMolder problem I'm encountering...

2004-07-26 Thread Bruce Snyder
Gregory Block wrote: On 22 Jul 2004, at 07:12, Bruce Snyder wrote: That's a good idea, I agree. Care to contribute some time to adding this to the Collections tests? ;-) I'll take the current mapping file, and split it in four: mapping-direct.xml (all tests mapped "direct

Re: [castor-dev] Two different file behaviors

2004-07-24 Thread Bruce Snyder
Nick Stuart wrote: Bruce, it does the same thing with the "./" in front as with out. It looks for the file in mappings/mappings instead of just mappings/. I don't know if this is a java issue or castor issue. Nick, This sounds like an issue that Keith and I fixed in CVS: http://bugzilla.exolab

Re: [castor-dev] javax.naming.NamingException: Not in an application scope and user-created threads

2004-07-22 Thread Bruce Snyder
SYLVIE PALLUEL wrote: Hi, My database is Oracle 9i, and the application server is Oracle 9ias. Everything was ok. But a developer added an access to the database (via Castor jdo) via a new Thread. The method TableParamMetierImpl.donneListe(,database) is called without any Database value. So it

Re: [castor-dev] Patch for ClassMolder problem I'm encountering...

2004-07-21 Thread Bruce Snyder
Gregory Block wrote: (My apologies to the list for signed mail; as I can't disable it for the list, I've removed it entirely from my config.) On 20 Jul 2004, at 17:35, Bruce Snyder wrote: My apologies for not responding sooner. I'll look into this tonight. Consequently, the be

Re: [castor-dev] [castor-dev]Key generator : best one for large tables

2004-07-21 Thread Bruce Snyder
Werner Guttmann wrote: can you pretty please post the URL for this article to the list as well. Reading articles by Scott is almost as much fun as reading articles by Erich Gamma ... ;-). My apologies, I should have explained further. The URL below requires a subscription: http://www.sdmagaz

Re: [castor-dev] Get/set for booleans

2004-07-14 Thread Bruce Snyder
This one time, at band camp, Nick Stuart said: NS>The get/set methods make sense. But I'm not having any luck with the NS>boolean. Here's an example of what I'm doing... NS> NS> identity="id" NS>depends="com.vort.ads.vortsentry.beans.VortSentryDims" NS>key-generator="IDENTITY"> NS>.

Re: [castor-dev] SourceGenerator vs JDO

2004-07-14 Thread Bruce Snyder
This one time, at band camp, Tomasz Piontek said: TP>I use Castor-JDO to store classes generated from XML schema by TP>SourceGenerator. TP> TP>My question is: Is it possible to configure SourceGenerator to be more TP>JDO friendly. TP>It means: is it possible to force it to generate bi-direction

Re: [castor-dev] Is TxSynchronizable the best way to apply hooks for implementing

2004-07-14 Thread Bruce Snyder
This one time, at band camp, Gregory Block said: GB>Which brings up a related and important question: Is the cache API far GB>enough along that a pluggable replacement cache is yet possible to GB>implement? GB> GB>On 14 Jul 2004, at 01:12, Patel, Kalpesh wrote: GB> GB>> GB>> We want to use cas

Re: [castor-dev] [XML] Persistable generated (source generator)

2004-07-11 Thread Bruce Snyder
Keith Visco wrote: You could add annotations to the schema for your Xdoclet tags. See the following: http://www.mail-archive.com/castor-user%40exolab.org/msg00394.html Justin, Keith, The one catch that I've run into with this approach is that a complexType referenced as a field within another comp

Re: [castor-dev] PersistenceException: Object links to another Object, that is not loaded/updated/created in this transaction

2004-06-10 Thread Bruce Snyder
[EMAIL PROTECTED] wrote: I get the following exception during an update. The class I want to update has a link to another object. org.exolab.castor.jdo.TransactionAbortedException: Nested error: org.exolab.castor.jdo.PersistenceException: Object, , links to another object, that is not load

Re: [castor-dev] A couple of questions.

2004-06-09 Thread Bruce Snyder
Nick Stuart wrote: Inline... ---Original Message- --From: Werner Guttmann [mailto:[EMAIL PROTECTED] --Sent: Wednesday, June 09, 2004 4:28 AM --To: [EMAIL PROTECTED] --Subject: Re: [castor-dev] A couple of questions. -- -- --Nick, -- --please see inline for comments ... -- --Werner -- --O

Re: [castor-dev] [JDO] Querying for null values?

2004-06-06 Thread Bruce Snyder
Konrad wrote: Hello. In the database, I have an 'int4' (Postgresql) field called 'parentId'. It is a foreign key reference that may be null. I'm mapping this 'int4' database field to an Integer Java field. Database Type id:int4 prnt_id:int4 Java Type.class -- Integer id

Re: [castor-dev] Castor JDO Performance Issue

2004-05-29 Thread Bruce Snyder
Werner Guttmann wrote: can you explain to me and everybody else what alternative strategy could be used to replace the outer joins ? Just being curious here .. ;-.). Werner On Fri, 28 May 2004 22:53:58 -0600, Bruce Snyder wrote: Sam Maloney wrote: Hi everyone, I am just wondering if the problem

Re: [castor-dev] Castor JDO Performance Issue

2004-05-28 Thread Bruce Snyder
Sam Maloney wrote: Hi everyone, I am just wondering if the problem with Castor using outer joins to fetch one-to-many relationship PKs still exists (it seems to), and if there is a work around known yet? The thread on castor-dev explaining the problem (from 2002) is: http://hypermail.linklord.c

Re: [castor-dev] Re: [JDO] Example of self-referential relationship

2004-05-28 Thread Bruce Snyder
Konrad wrote: Bruce, Werner, do you guys have any examples of self-referential relationships? I'd really like to use Castor on my project. Thanks... --- Konrad <[EMAIL PROTECTED]> wrote: Date: Tue, 25 May 2004 13:22:42 -0700 (PDT) From: Konrad <[EMAIL PROTECTED]> Subject: [JDO] Example of self-refe

Re: [castor-dev] [JDO] many-to-many as two one-to-manys?

2004-05-11 Thread Bruce Snyder
Werner Guttmann wrote: On Tue, 11 May 2004 10:39:09 -0600 (MDT), Bruce Snyder wrote: This one time, at band camp, Jon Wilmoth said: JW>I agree it is a pretty complex object, but it allows JW>for nice reuse of existing objects to form a new JW>assignment relationship. While I look for

Re: [castor-dev] [JDO] many-to-many as two one-to-manys?

2004-05-11 Thread Bruce Snyder
This one time, at band camp, Jon Wilmoth said: JW>I agree it is a pretty complex object, but it allows JW>for nice reuse of existing objects to form a new JW>assignment relationship. While I look for a way to JW>simplify, I think I've found a bug or undocumented JW>feature ;) JW> JW>I posted a m

Re: [castor-dev] Fw: User Group Meeting, Austria in May 2004

2004-05-11 Thread Bruce Snyder
This one time, at band camp, Ostermueller, Erik said: OE>Bruce, maybe we could rent a plane, get a cooler of tasty beverages OE>and make a field trip out of it. Not a bad idea, Erik. I can even bring my family and make a vacation out of it ;-). Bruce -- perl -e 'print unpack("u30","<0G)[EMAIL P

Re: [castor-dev] Fw: User Group Meeting, Austria in May 2004

2004-05-11 Thread Bruce Snyder
Werner Guttmann wrote: All, Please have a look at http://brainopolis.dnsalias.com/castorwiki/Wiki.jsp?page=UserCommunity for details about location and time of this suggested meeting. I wish I lived near Austria because I would certainly be there! Bruce -- perl -e 'print unpack("u30","<0G)[E

Re: [castor-dev] [JDO] - Are explicit object relationships supported in Castor OQL?

2004-05-05 Thread Bruce Snyder
Jon Wilmoth wrote: That makes complete sense! What doesn't is why, after changing the parent's sql mapping to the FK column in the child table, why I still get the same org.exolab.castor.jdo.DataObjectAccessException: Type conversion error: could not set value of FieldMolder of Product.setproduct

Re: [castor-dev] [JDO] - Are explicit object relationships supported in Castor OQL?

2004-05-04 Thread Bruce Snyder
<<< No Message Collected >>>

Re: [castor-dev] Unable to download Castor. Please help!!!

2004-04-30 Thread Bruce Snyder
Gebriel George wrote: When I right click and do 'Save As' . I get this error. "Internet Explorer cannot download castor-0.9.5.3-xml.jar from ftp.castor.org. The server returned extended information." Geb, My guess is that you're behind a firewall that doesn't allow downloading from ftp maybe???

Re: [castor-dev] mailinglist: how to unsubscribe

2004-04-30 Thread Bruce Snyder
<<< No Message Collected >>>

Re: [castor-dev] Castor Evaluation

2004-04-29 Thread Bruce Snyder
This one time, at band camp, Norm Deane said: ND>> > 2) We need flexibility to define our object model ND>> independent of the ND>> > XML document format. It looks like Castor maps a class ND>> directly to an ND>> > element. For us this is not acceptable. ND>> ND>> Castor can certainly handle th

Re: [castor-dev] not a good sign

2004-04-29 Thread Bruce Snyder
This one time, at band camp, Robert Adamsky said: RA>Bad sign when number is disconnected for RA>exolab - and when unsubscribe fails with RA>server errors. Robert, ExoLab is the Open Source arm of Intalio, Inc. ExoLab used to sponsor and host a number of projects, most of which have been spun o

Re: [castor-dev] Key generator -- Duplicated Identity is generated!

2004-04-24 Thread Bruce Snyder
Stephen Ince wrote: I am using the castors key generator to generate key ids. I am intermittently getting duplicate key ids. Does anyone know of a method to have castor refresh the key generator cache if it becomes out of sync with the database? I use a plethora of databases, oracle, db2, sql

Re: [castor-dev] JDO: OQL's first() and last()

2004-04-24 Thread Bruce Snyder
Emir Causevic wrote: Hi, OQL keyWords "first" and "last" are considered identifiers in Castor's OQL parser. Obviously they're not yet implemented. Should I submit a bug or an enhancement request? I hope that I will contribute these soon. :-) Please do so and we'd really like to have your enhanceme

Re: [castor-dev] JDO: OQL's first() and last()

2004-04-22 Thread Bruce Snyder
This one time, at band camp, Emir Causevic said: EC>may someone please write an OQL query example that uses the EC>first() and last(). As I can see, these are implemented in EC>Castor's OQL/SQL translator. Emir, Actually I've never attempted to use these two functions via Castor. If you're so i

Re: [castor-dev] Relocating castor.properties file from the Defaults?

2004-04-22 Thread Bruce Snyder
This one time, at band camp, Sagar S said: SS>Reading the javadocs for LocalConfiguration it SS>states the configuration file is loaded from the Java SS>lib directory, the classpath and the Castor JAR (maybe SS>current directory). SS>I want to place my castor.properties in a SS>different

Re: [castor-dev] UUID key generator

2004-04-22 Thread Bruce Snyder
This one time, at band camp, Michael Fork said: MF>Is there any way to have the UUID based on the MAC MF>address instead of the IP address? Only if you provide your own key generator implementation. It's actually quite easy to do so and just list the class in castor.properties under the org.exol

Re: [castor-dev] dirty checking

2004-04-22 Thread Bruce Snyder
Emir Causevic wrote: Here is something from the section on exclusive access mode: Dirty checking does not have a severe affect on performance, and can be turned on by marking all the fields of the object with dirty="ignore". http://castor.exolab.org/locking.html#Access-mode:-Exclusive I'm a litt

Re: [castor-dev] Loading configuration from memory

2004-04-16 Thread Bruce Snyder
Grinvald, Edward wrote: Hello all, I would like to call JDO.setConfiguration() with a buffer or a stream i have in memory, rather than a physical file or a url. Can this be accomplished? This functionality can certainly be introduced providing these capabilities quite easily. How about somethin

Re: [castor-dev] mapping file path name

2004-04-16 Thread Bruce Snyder
Rich Trevor wrote: In 0.9.5.3 (JDO), it appears that the mapping file specified in the database configuration file must be specified with a hard path name. In 0.9.5.2 I was able to specify the file name, and castor was able to find the mapping file on the classpath. Rich, Yes, a bug was introduce

Re: [castor-dev] Interface, when root, not marshalled, mapping ignored

2004-04-15 Thread Bruce Snyder
This one time, at band camp, Stein M. Hugubakken said: SMH>g r i t s e n k o wrote: SMH>> SMH>> OK. I was loading whole database of about 1.5 meg (mysql database was of SMH>> this size) into memeory using Castor - the concept was to have a root SMH>> class, on which children were dependent, in tu

Re: [castor-dev] Small fix for sapdb.sql

2004-04-15 Thread Bruce Snyder
This one time, at band camp, Emir Causevic said: EC>It's on Bugzilla under the id of 1605. Great, thanks! EC>BTW, is there a way to edit an enclosure in a bug report after it's been EC>added? EC>I had some typos, so it would be nice if I'm able to edit my comments... Unfortunately there is no

Re: [castor-dev] Small fix for sapdb.sql

2004-04-15 Thread Bruce Snyder
This one time, at band camp, Emir Causevic said: EC>Here's a small change to sapdb.sql script found in EC>/castor/src/tests/jdo. EC>Here's a unified diff file (Bruce, I hope this time I made it right EC>:-)). EC>I've changed semicolon to 'sapdb native' double slash (//) on a single EC>line. EC>I

Re: [castor-dev] Interface, when root, not marshalled, mapping ignored

2004-04-15 Thread Bruce Snyder
This one time, at band camp, g r i t s e n k o said: gritse>I tried, cast gives CastException. But conceptually, this is the right gritse>ide, to convert proxy to real class and then marshall. Only conversion gritse>may be not necessarily casting. It can be copying property by property gritse>wit

Re: [castor-dev] Duration type in JDO]

2004-04-15 Thread Bruce Snyder
This one time, at band camp, Werner Guttmann said: WG>On Thu, 15 Apr 2004 11:52:49 +0200, Werner Guttmann wrote: WG> WG>> WG>>On Tue, 13 Apr 2004 08:23:33 -0600 (MDT), Bruce Snyder wrote: WG>> WG>>> WG>>>This one time, at band camp, Werner Guttmann

Re: [castor-dev] Changing database config/mapping in JDO

2004-04-15 Thread Bruce Snyder
guration from the first JDO object created. B> B>I saw a post from Bruce Snyder addressing a similar issue in this thread: B> B>http://hypermail.linklord.com/castor-dev/2003/Dec/2156.html B> B>But I am unable to configure more than one element in my config B>file because if you h

Re: [castor-dev] problem with connection pooling for Oracle

2004-04-15 Thread Bruce Snyder
This one time, at band camp, Ughetti Marco said: UM>This is a re-send after the dev mailing list subscription: UM> UM> UM> UM>Hi, UM> UM>Using this conf file: UM> UM> UM> UM> UM> UM>> UM> UM> password="pwd" UM> UM>minLimit="5" maxLimit="10" cache-scheme="1" /> UM> UM> UM>

Re: [castor-dev] Support for aggregate functions in OQL

2004-04-15 Thread Bruce Snyder
This one time, at band camp, Emir Causevic said: EC>Forget this one - I figured it out already. EC>I can see that even "between" works with dates - very nice. :-) EC>This OqlTests class from the Castor jdo test package is still just a EC>stub. I'll see if I can spare some time to fill in some of

Re: [castor-dev] OQL Query Editor?

2004-04-13 Thread Bruce Snyder
This one time, at band camp, Rich Trevor said: RT>Are there any Java GUI OQL query editors out there? RT> RT>Also, I see a few references in the archives to a "OQL Query Analyzer GUI RT>tool". Does anyone know what this is or where to get it? RT> RT>How about OQL query examples? Is there anything

Re: [castor-dev] Duration type in JDO]

2004-04-13 Thread Bruce Snyder
This one time, at band camp, Werner Guttmann said: WG>after a litztle bit of debugging, I've traced this exception to the following code fragementin Types.java: WG> WG>public static Class typeFromName( ClassLoader loader, String typeName ) WG>throws ClassNotFoundException WG>{ WG

Re: [castor-dev] JBOSS 3.2 ** please dis-regard previous email ** review this one instead ** thanks. (fwd)

2004-04-13 Thread Bruce Snyder
-- Forwarded message -- Date: Tue, 13 Apr 2004 01:39:08 -0500 From: Don Vines <[EMAIL PROTECTED]> To: Bruce Snyder <[EMAIL PROTECTED]> Subject: RE: [castor-dev] JBOSS 3.2 ** please dis-regard previous email ** review this one instead ** thanks. Bruce, The ema

Re: [castor-dev] Castor Ant Task, Re: ant task

2004-04-12 Thread Bruce Snyder
This one time, at band camp, Vadim Gritsenko said: VG>Bruce Snyder wrote: VG>> This one time, at band camp, Yevgeniy Tovshteyn said: VG>> VG>> YT>Where can I find ant task for the newest version of castor. VG>> VG>> AFAIK, the Ant task for the Source

Re: [castor-dev] JBOSS 3.2

2004-04-11 Thread Bruce Snyder
This one time, at band camp, Don Vines said: DV>Here's some additional information that may help. DV> DV>1. I have attached the complete stack trace following my signature. DV>Basically, it says that the CastorJDOImpl class can't be found. DV> DV>2. I have attached the jboss-castorjdo.jar f

Re: [castor-dev] ObjectModifiedException when updating an Object created in the same transaction?

2004-04-03 Thread Bruce Snyder
August Detlefsen wrote: I understand the need for dirty checking to manage concurrency across many transactions, but what is the need for dirty checking within the bounds of one transaction? In my case, I originally attempted to create the object, get the newly created ID, us the ID to set a fie

Re: [castor-dev] updating when not in cache...

2004-04-03 Thread Bruce Snyder
Nick Stuart wrote: Thanks for your replies, both Werner and Bruce. I'll add a enhancement bug to bugzilla for the exception and take a look at those other bugs as well. Everything you state makes sense, I know all about re-using stuff once its already been coded...even if there is a better way

Re: [castor-dev] ObjectModifiedException when updating an Object created in the same transaction?

2004-04-03 Thread Bruce Snyder
Stein M. Hugubakken wrote: August Detlefsen wrote: I recently ran into this and I'm interested to know if it is designed-in behavior, a bug, or a 'feature'. The abstract is that I needed to create a NavPageContent Object, then use its ID to formulate a link String, which was then set back into th

Re: [castor-dev] ObjectModifiedException when updating an Object created in the same transaction?

2004-04-02 Thread Bruce Snyder
August Detlefsen wrote: I recently ran into this and I'm interested to know if it is designed-in behavior, a bug, or a 'feature'. The abstract is that I needed to create a NavPageContent Object, then use its ID to formulate a link String, which was then set back into the same Object and persisted.

Re: [castor-dev] updating when not in cache...

2004-04-01 Thread Bruce Snyder
Nick Stuart wrote: Hello all. I was just wandering about long transactions and cache management. What's happening is that I'm loading a bunch of stuff up to use/view in jsp pages. I load enough stuff up so that stuff gets bumped out of the cache, which is fine until I try and go to update somet

Re: [castor-dev] JDO: persistence engine mysql is not supported

2004-04-01 Thread Bruce Snyder
Barley wrote: Using castor version 0.9.5.2. This database setup has been working for me in the past. I just upgraded to JBuilderX from JBuilder8, but I can't imagine what difference that makes. How can I possibly be getting this exception?: org.exolab.castor.mapping.MappingException: The persisten

Re: [castor-dev] CVS access

2004-03-29 Thread Bruce Snyder
This one time, at band camp, Werner Guttmann said: WG>Btw, when trying to check out a fresh copy ten minutes ago, I am getting a timeout on lib/adapt-whatever-the-version-number-is.jar .. ;-). I've tried it three WG>or four times, but to no avail. I just performed a clean checkout via command l

Re: [castor-dev] CVS access

2004-03-29 Thread Bruce Snyder
Werner Guttmann wrote: I've now been trying to check out Castor from CVS, but I've been getting connection resets from the server ? Any known issues ? Everything is OK from my end at the moment. That doesn't mean that there was nothing wring when you were trying to chack out though. Bruce -- per

Re: [castor-dev] Castor JDO users PLEASE READ - big refactoring in Castor JDO

2004-03-25 Thread Bruce Snyder
Werner Guttmann wrote: All, following up my own email from yesterday, please note that all issues with Castor JDO in CVS have been resolved. For the sake of clarity, contrary to what I have been saying, it was possible to build Castor JDO with Ant. Due to some minor issues, the build was only

Re: [castor-dev] Re: How to force Castor to releoad a database configuration file?

2004-03-25 Thread Bruce Snyder
Wlid Yemah wrote: just as proposed by Bruce, whenever I want to force Castor to reload the mapping files, I just give a different database name for example "care4u1" and then "care4u2" in the example below. Notice that in my case, I do not have a database configuration file, I construct the string

[castor-dev] Castor JDO users PLEASE READ - big refactoring in Castor JDO

2004-03-23 Thread Bruce Snyder
My previous message made light of some trouble I'm having completing a big checkin to CVS and I want to let the community know about some of the changes. --- Until the next release, anyone checking out code from CVS will need to be aware o

[castor-dev] Castor JDO users PLEASE READ - big refactoring in Castor JDO

2004-03-23 Thread Bruce Snyder
My previous message made light of some trouble I'm having completing a big checkin to CVS and I want to let the community know about some of the changes. --- Until the next release, anyone checking out code from CVS will need to be aware o

[castor-dev] Castor JDO users PLEASE READ - big refactoring in Castor JDO

2004-03-23 Thread Bruce Snyder
My previous message made light of some trouble I'm having completing a big checkin to CVS and I want to let the community know about some of the changes. --- Until the next release, anyone checking out code from CVS will need to be aware o

[castor-dev] broken build - CVS checkin gone awry :-(

2004-03-23 Thread Bruce Snyder
Right in the middle of a big checkin it appears that CVS is hanging due to a lock that was left behind for some reason by the anoncvs user. Until this lock is physically removed from the filesystem my checkin won't complete and it will probably need to be completed manually at that point. Unfor

Re: [castor-dev] Searching inside a collection containing other data objects

2004-03-22 Thread Bruce Snyder
R. Theuma wrote: Hello people I am new to the mailing list so sorry if I seem too newbie. I have a rather simple problem which I am sure most of you experienced guys solved it. I need to perform a query upon a data object which contains a Collection and need to search inside this collection.

Re: [castor-dev] Searching inside a collection containing other data objects

2004-03-22 Thread Bruce Snyder
R. Theuma wrote: Hello people I am new to the mailing list so sorry if I seem too newbie. I have a rather simple problem which I am sure most of you experienced guys solved it. I need to perform a query upon a data object which contains a Collection and need to search inside this collection.

Re: [castor-dev] How to force Castor to releoad a database configuration file?

2004-03-22 Thread Bruce Snyder
Emir Causevic wrote: Hi Bruce, I'm not sure if the proposed method number 2 below is working. Here is my configuration file content: I'm using same test code to test Oracle and SAPDB connection. Here is some java code exce

Re: [castor-dev] Duplicate entry problem...

2004-03-22 Thread Bruce Snyder
Stein M. Hugubakken wrote: Nick Stuart wrote: Ok, found another way around the issue. If I leave the field in the database as accepting nulls, and change the order around of my update() and create() so it reads like: db.begin(); db.create(user); db.update(user.getDepartment());

Re: [castor-dev] The lowest common denominator is JDK 1.2?

2004-03-22 Thread Bruce Snyder
Werner Guttmann wrote: On Fri, 19 Mar 2004 14:10:40 -0700 (MST), Bruce Snyder wrote: This one time, at band camp, Werner Guttmann said: WG>if that's the case, what would you (and the other contributors) think about the following procedure to make some progress with this and similar

  1   2   3   4   5   6   7   8   9   >