[castor-dev] Searching the mailing list

2001-10-24 Thread Jacek Kruszelnicki
Hi, Is there a way to search the mailing list somehow? I don't see any (other than displaying each of the 27890 pages and doing Edit->Find) If we had a decent search capability, it would help participants from asking questions that have been asked beforeIncluding a few of mine, I am sure..

Re: [castor-dev] Does Castor support cursor behaviuor

2001-10-24 Thread Bruce Snyder
This one time, at band camp, Domagoj Jugovic said: DJ >Does Castor get results in chunks (for wieving in web app, so the data DJ >could be paged in more pages). No, Castor does not provide this functionality yet. DJ > DJ >Also does Castor provides a way to go back in results ( like rs.previous

Re: [castor-dev] Database configuration

2001-10-24 Thread Bruce Snyder
This one time, at band camp, marie sauvaud said: ms >Hi, ms > ms >The DTD for the file database.xml does not explain how ms >to configure each pooling tool. It depends on each ms >tool. But what are the rules to follow? ms >For example, if the pooling tool is programmatically ms >configured with

[castor-dev] "IN" w/subquery support

2001-10-24 Thread Greg Merrill
Does the current version of Castor support "IN" with subqueries? For example, is the following OQL query valid? SELECT x.id FROM Employee x WHERE id IN (SELECT y.id FROM Employee y) (Yes, I know this is a pointless query - I just wanted to present a simplistic example.) Looking at the OQL defi

Re: [castor-dev] Generation of mapping file from Together Control Center

2001-10-24 Thread James Higginbotham
Erik, Sounds interesting and I for one would love to see it. Unfortunately, I've had to stop using anything but the whiteboard edition since they keep raising the prices as they become an IDE rather than a modeling tool. If it works with Whiteboard edition, I'm all for it. If not, it would still

[castor-dev] Database configuration

2001-10-24 Thread marie sauvaud
Hi, The DTD for the file database.xml does not explain how to configure each pooling tool. It depends on each tool. But what are the rules to follow? For example, if the pooling tool is programmatically configured with the methods: setMaximum(int) setMinimum(int) does it mean that the parameter

[castor-dev] Problem with OQL queries with inherited classes

2001-10-24 Thread Nick Fortescue
We are getting illegal SQL generated by the Castor OQL/JDO and we wondered if anyone knows a solution, or whether this is a bug in the Castor OQL/JDO. Situation: We have a base class Base which is extended by two other classes, say SubClassA and SubClassB. These two subclasses have no new field

[castor-dev] Réf. : Re: [castor-dev] Réf._:_[castor-dev]_Castor_with_Sybase

2001-10-24 Thread jfjames
You need to modify the master database in order to make jConnect works with your server. See your DBA and run $(JCONNECT_DIR)/sp/sql_server.sql or $(JCONNECT_DIR)/sp/sql_server12.sql depending on the Sybase version you are running. --- If

Re: [castor-dev] Réf._:_[castor-dev]_Castor_with_Sybase

2001-10-24 Thread Duss Jean
In fact, i have passed this last error, but i have another which is : org.exolab.castor.jdo.PersistenceException: Nested error: java.sql.SQLException: JZ0SJ: Les informations d'accès aux métadonnées sont introuvables dans cette base de données. Veuillez installer les tables requises comme indiqué

[castor-dev] Does Castor support cursor behaviuor

2001-10-24 Thread Domagoj Jugovic
HiI want to use some O/R mapping layer for my next project and I am tryingto decide which. Castor is my favourite for now, but I have some questions.Does Castor get results in chunks (for wieving in web app, so the datacould be paged in more pages).I would expect this because Castor works w

Re: [castor-dev] Castor with Sybase

2001-10-24 Thread Duss Jean
I've already try it, but it doesn't work --- Patrick van Kann <[EMAIL PROTECTED]> a écrit : > Check this page > http://www.castor.org/database-conf.html > > I think the engine is case-sensitive. > > i.e. try engine="sybase" > > Patrick > > Duss Jean wrote: > > >Hi all, > > > >Someone kn

Re: [castor-dev] Castor with Sybase

2001-10-24 Thread Patrick van Kann
Check this page http://www.castor.org/database-conf.html I think the engine is case-sensitive. i.e. try engine="sybase" Patrick Duss Jean wrote: >Hi all, > >Someone knows how to configure the xml file in order >to declare a sybase database??? > >I have write a xml config file like this, but i

[castor-dev] Generation of mapping file from Together Control Center

2001-10-24 Thread Erik Gollot
Does anybody tried to generate (develop a module) the xml mapping file from a class diagram(s) under TogetherControlCenter ? We plan to develop a Together module that will generate the database schema/diagram (with mapping options) and that will generate the xml mapping file from the database dia

Re: [castor-dev] Réf._:_[castor-dev]_Castor_with_Sybase

2001-10-24 Thread Duss Jean
When I try the code : db = jdo.getDatabase();, it through an Exception like : org.exolab.castor.jdo.DatabaseNotFoundException: Nested error: org.exolab.castor.mapping.MappingException: Could not find the class String --- [EMAIL PROTECTED] a écrit : > I have successfully used CASTOR 0.9.3 + JCO

[castor-dev] Réf. : [castor-dev] Castor with Sybase

2001-10-24 Thread jfjames
I have successfully used CASTOR 0.9.3 + JCONNECT 5.2 + SYBASE 11.9.2. Your database.xml file seems correct to me... May be you it's a CLASSPATH or network pb. I think the easyiest way to test is with oqlquery Can you detail your exact error message ? --

[castor-dev] Réf. : Re: [castor-dev] Problems with locking, access mode and castor cache. ADDITIONAL INFO

2001-10-24 Thread jfjames
You need to turn cache on if you want to use long transaction (via db.update method). --- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev

[castor-dev] SourceGenerator Ant Task

2001-10-24 Thread Jakob Praher
hi all, attached you'll find a SourceGenerator Ant Task, I have implemented. About === It is a simple task definition that behaves somewhat like other java-based tasks (for instance Junit task ). You can invoke it in the same vm or in an external vm, both of which are equivalent.

[castor-dev] Castor with Sybase

2001-10-24 Thread Duss Jean
Hi all, Someone knows how to configure the xml file in order to declare a sybase database??? I have write a xml config file like this, but it doesn't work ! http://castor.exolab.org/jdo-conf.dtd";> ___

Re: [castor-dev] Problems with locking, access mode and castor cache. ADDITIONAL INFO

2001-10-24 Thread Andrey Chernyh
Hi, All ! I turned all caches off, castor too, and have this message (I specially logged timestamps): org.exolab.castor.jdo.ObjectModifiedException: Timestamp mismatched!, object stamp is 1003907395355, lockTimestamp:0 at org.exolab.castor.persist.ClassMolder.update(ClassMolder.java:1726)

[castor-dev] Re: Unmarshalling of simple types : char and byte

2001-10-24 Thread Keith Visco
Hi Bikash, I haven't had a chance to look into this, but apparently the introspector is smarter than the mapping loader, which is not surprising. :-) We will be doing a full overhaul of the Mapping API soon, but for now, perhaps you can use a Mix of both mapping and introspection. If you can,