Re: [castor-dev] Dynamic JDO configuration

2003-12-16 Thread Alexey A. Efimov
As I know, you can get JDO Configuration only for existing XML file. You can't do it by coding. But, I think you can implement it by you self? :) -Original Message- From: Rowland Watkins [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 1:44 PM To: [EMAIL PROTECTED] Subject: [cas

Re: [castor-dev] What happened with the Castor?

2003-12-08 Thread Alexey A. Efimov
-dev] What happened with the Castor? Hi What you say about this: http://bugzilla.exolab.org/show_bug.cgi?id=1133 One year old my patch. Serge --- "Alexey A. Efimov" <[EMAIL PROTECTED]> wrote: > It is not true... But maybe you not like Castor? :) > In any case you can't say

Re: [castor-dev] light weight data store

2003-10-20 Thread Alexey A. Efimov
Thanks a lot for pointer :) I'll looking for such database! -Original Message- From: Kenneth Westelinck [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 9:46 AM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] light weight data store I am using HSQLDB and it has been serving my n

Re: [castor-dev] Print objects for debug purposes

2003-10-20 Thread Alexey A. Efimov
I think using this facades is not good - it very-very universal. And it may slow down your application. Enabling logging for Castor and simple implementing of toString method will better. My guess. -Original Message- From: John Weir [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09,

Re: [castor-dev] Loading a read only dependent object

2003-10-02 Thread Alexey A. Efimov
You can't select/update/create/remove depended objects. To manipulate such class objects, remove depends link in mapping XML. -Original Message- From: Ron Alsobrook [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 6:07 AM To: [EMAIL PROTECTED] Subject: [castor-dev] Loading a rea

Re: [castor-dev] Question

2003-09-25 Thread Alexey A. Efimov
Title: Message Hi, If you about storing some data, transfered by XML to DB, then you may use Castor. In this case you know structure of XML and then may get Java Object from XML by castor (unmarshaling), and then persist it in DB storage (Castor JDO). But if you want to tore XML files in DB

Re: [castor-dev] [JDO] Date Mapping: Java Date being stored without time in Oracle

2003-09-25 Thread Alexey A. Efimov
Hello You must used 'timestamp' instead of 'date'. -Original Message- From: Konrad [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 11:37 PM To: [EMAIL PROTECTED] Subject: [castor-dev] [JDO] Date Mapping: Java Date being stored without time in Oracle Hello. When a class fi

Re: [castor-dev] Is it strange or not ?

2003-09-24 Thread Alexey A. Efimov
Did you have key generators for your objects? If not, then you must manualy set ID field. -Original Message- From: Michel Bertrand [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 8:41 PM To: [EMAIL PROTECTED] Subject: [castor-dev] Is it strange or not ? Hi ! I'm having th

[castor-dev] FW: Issues on Database.update

2003-09-09 Thread Alexey A. Efimov
Bruce can you please comment my lost post? http://www.mail-archive.com/[EMAIL PROTECTED]/msg14995.html Thank you! --- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe casto

[castor-dev] Issues on Database.update

2003-09-03 Thread Alexey A. Efimov
Hello, I have simple framework to work with Castor as simplicity. Someone ask me why method JDOWorker.update look like: public void update(JDOObject o) { Database db = null; try { db = getDatabase(); db.begin(); // Get persistence object JDOObject persistent = (JDO

Re: [castor-dev] Log messages from Castor

2003-07-22 Thread Alexey A. Efimov
for log4j. Or more exactly I've set it up, but I've never seen a single line of log comming from it. From what I've seen in the source code of Castor, it seems normal because I didn't see any attempt to log something. Marc. - Original Message ----- From: "Alexey A.

Re: [castor-dev] Log messages from Castor

2003-07-22 Thread Alexey A. Efimov
Hello, Did you setup LogInterceptor? "How it" http://www.brainopolis.com/castorwiki/Wiki.jsp?page=IntegratingLogging -Original Message- From: Marc Guillemot [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 2:53 PM To: [EMAIL PROTECTED] Subject: [castor-dev] Log messages from Castor

Re: [castor-dev] Long Transactions suggestion

2003-07-15 Thread Alexey A. Efimov
Oh, I'm sorry, the db.update not needed actualy. The history is, then Castor was young and db.update throw LockNotGrantedException then method update will changed to this: /** * Smart update for JDO object. First the worker load the persistense object, then copy into it * values from o, and

Re: [castor-dev] Long Transactions suggestion

2003-07-15 Thread Alexey A. Efimov
Ok, I try perform some tests to invoke this -Original Message- From: Bruce Snyder [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 8:04 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] Long Transactions suggestion This one time, at band camp, Alexey A. Efimov said: AAE>

Re: [castor-dev] Castor JDO caching values

2003-07-09 Thread Alexey A. Efimov
Title: Message Excuse me, Forgot to wish Good luck :)) -Original Message-From: Schlachter, Steffen (LDS) [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 8:11 PMTo: [EMAIL PROTECTED]Subject: [castor-dev] Castor JDO caching values Hello,   I seem to have

Re: [castor-dev] Castor JDO caching values

2003-07-09 Thread Alexey A. Efimov
Title: Message           ...  -Original Message-From: Schlachter, Steffen (LDS) [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 8:11 PMTo: [EMAIL PROTECTED]Subject: [castor-dev] Castor JDO caching values Hello,   I seem to have found a weired problem

Re: [castor-dev] Complex query problem

2003-07-09 Thread Alexey A. Efimov
Hello, Did you try use CALL SQL? import java.sql.*; import org.exolab.castor.jdo.engine.DatabaseImpl; Databasedb; db.begin(); // Field must be ordered such as in mapping file OQLQuery query = db.getOQLQuery("CALL SQL SELECT

Re: [castor-dev] Sequence and SAP-DB

2003-07-07 Thread Alexey A. Efimov
Title: Message Yes, this is possibly BUG, i guess... So, if you can - you may define trigger on insert in your SAB DB, then castor will not use key generator and you problem will be fixed. You can also by using http://www.castor.org/javadoc/org/exolab/castor/persist/spi/KeyGenerator.html  a

Re: [castor-dev] Sequence and SAP-DB

2003-07-07 Thread Alexey A. Efimov
Title: Message Hi,   Can you run this SQL on DB side? For ? parameter just enter some string value: INSERT INTO "PRODUCT_GROUP" ("ID", "NAME") VALUES ("PRODUCT_GROUP_SEQ"."nextval", "test")   Thanks! -Original Message-From: michael simons [mailto:[EMAIL PROTECTED] Sent: Monda

[castor-dev] [ANN] The UML diagram of Phantom Castor Framework

2003-07-04 Thread Alexey A. Efimov
Hello, I have post the full UML diagram of Phantom Castor Framework on SF.net. You can see UML class diagram of whole Castor Framework. This diagram help to understand "How it can works". The document availe on link: http://sourceforge.net/docman/display_doc.php?docid=17859&group_id=67154 You

Re: [castor-dev] in- or contains-operator

2003-07-02 Thread Alexey A. Efimov
So, it look simple: class Vehicle { // Vehicles tours collection private ArrayList tours = new ArrayList(); ... } class Tour { // Tour vehicles private ArrayList vehicles = new ArrayList(); ... } You must create their classes and just load vehicle what you need: SELECT o FROM Vehicle

Re: [castor-dev] in- or contains-operator

2003-07-02 Thread Alexey A. Efimov
Ok, in your case you not need to use LIST IN operator, I guess: SELECT o FROM TOUR o WHERE o.vehicle = $1 Somethink like that Thanks -Original Message- From: michael simons [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 4:24 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] i

Re: [castor-dev] Sequence and SAP-DB

2003-07-02 Thread Alexey A. Efimov
Title: Message Hello! It becose you set parameter "trigger" to true http://www.castor.org/key-generator.html#SEQUENCE-key-generator   you may set the "trigger" parameter to "true". This will prevent the "Sequence_name".nexval from being pulled twice (first time in the insert statement (see ab

Re: [castor-dev] in- or contains-operator

2003-07-02 Thread Alexey A. Efimov
Hi, 1. IN LIST operator support syntax like: select o from Object o where id in list(1, 2, 3, 4), if values is numeric and select o from Object o where id in list("1", "2", "3", "4"), if values is stringable To perform automatical list OQL generation I use my framework (http://sourceforge.net/pro

Re: [castor-dev] Bug with complex ORDER BY queries (in Oracle?)

2003-07-01 Thread Alexey A. Efimov
to:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 1:00 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] Bug with complex ORDER BY queries (in Oracle?) This one time, at band camp, Alexey A. Efimov said: AAE>I think you must swap ORDER BY entries, becose REsultSet ordered in AAE>unknown

Re: [castor-dev] Bug with complex ORDER BY queries (in Oracle?)

2003-07-01 Thread Alexey A. Efimov
uot;DETAIL","BATCH" "BATCH_0","ORDERS" WHERE "ORDERS"."ID"="DETAIL"."ORDERID"(+) AND "ORDERS"."ID"="ITEM"."ORDERID"(+) AND "ORDERS"."BATCHID"="BATCH_0&qu

Re: [castor-dev] InfoGlue Content Management Platform Based On Castor

2003-06-24 Thread Alexey A. Efimov
Title: RE: [castor-dev] InfoGlue Content Management Platform Based On Castor Wow, looks good :)  -Original Message- From:   Mattias Bogeblad [mailto:[EMAIL PROTECTED]] Sent:   Tuesday, June 24, 2003 7:18 PM To: [EMAIL PROTECTED] Subject:    [castor-dev] InfoGlue Content

Re: [castor-dev] database connections - how do they work?

2003-06-20 Thread Alexey A. Efimov
Hello, Castor Database use JNDI DataSource as generic JDBC DataSource, e.q. call to getConnection http://java.sun.com/j2se/1.4.1/docs/api/javax/sql/DataSource.html#getCon nection() So, Castor use external implementation and it every time call getConnection. But that you question about is? If you

Re: [castor-dev] Default encoding in Castor -- Help

2003-06-20 Thread Alexey A. Efimov
Hello! Castor not using enconding directly, you can set encoding for database in JDBC driver properties or in XSD/XML files as special header Thanks! -Original Message- From: Ethakota, Lavakishan [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 10:25 PM To: [EMAIL PROTECTED] Subje

Re: [castor-dev] Tiny framework

2003-06-18 Thread Alexey A. Efimov
: [castor-dev] Tiny framework This one time, at band camp, Alexey A. Efimov said: AAE>Hello, I have the same, maybe someone interest with it too: AAE>http://sourceforge.net/projects/phantom-castor/ Many thanks Stein and Alexey! Actually this would be good content for a Best Practices docume

Re: [castor-dev] Again Castor JDO and Connection Pooling

2003-06-17 Thread Alexey A. Efimov
Title: Message Hello,   I think all that Castor will not control opening and closing database connections. It must be on side control. You must use JDBC drive implementation for connection control, becose each of them bo it correctly.   Also, i not recomend using PoolMan or DBCP for this pu

Re: [castor-dev] Short transaction doesn't update the object

2003-06-17 Thread Alexey A. Efimov
PROTECTED] Subject: Re: [castor-dev] Short transaction doesn't update the object Wonderful! I downloaded the source code and the org.phantom.lang package seems to be missing. Can you help? Thanks, Mehul. -Original Message- From: Alexey A. Efimov [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: [castor-dev] Short transaction doesn't update the object

2003-06-16 Thread Alexey A. Efimov
Hello, You can use castor framework for copyInto sulution. I have troubles this it and do some solution for my self. I create jdoWorker class that have methods: create(Object o), update(Object o) etc Take a look at http://sourceforge.net/projects/phantom-castor/ You can get sources for universal c

Re: [castor-dev] i do not understand lazy loading

2003-06-11 Thread Alexey A. Efimov
Hello, No it's not right - castor always load full object exept its collections. For collection it load only ids, but if you iterate throught it - castor load for each id their full object. So, you can get situation then you JDO object loaded partialy. Thanks! -Original Message- From: T

Re: [castor-dev] Newbie Question - OQL

2003-01-29 Thread Alexey A. Efimov
Title: Message Hi, Not wrong you can use it. But i never do this. I this this will be valid: select a from example.A a, example.B b where a.field1 = b.field1   Good luck! :) -Original Message-From: t tuf [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 3:49 PM

Re: [castor-dev] UTF-16 problem in IE6

2003-01-24 Thread Alexey A. Efimov
  http://www.xmltravel.com/fab/2002/09"> SyndicatorId="multicom"/>cots Of course in any sane reality I would be able to unistall IE6 and go back to using IE5 which worked fine. Argghhhh.   Adam.

Re: [castor-dev] Mapping various ELE to one field

2003-01-23 Thread Alexey A. Efimov
apping to the same method: -Mensaje original- De: Alexey A. Efimov [mailto:[EMAIL PROTECTED]] Enviado el: Thursday, January 23, 2003 11:53 AM Para: [EMAIL PROTECTED] Asunto: Re: [castor-dev] Mapping various ELE to one field Hello! You can't do thi

Re: [castor-dev] Mapping various ELE to one field

2003-01-23 Thread Alexey A. Efimov
Hello! You can't do this becose imagene that you want perform OQL select from JDO database that field castor will select?. Ok, if you not using JDO. Imagine that it's just object and object have one field (cos only unique name fields allow in Java class), but this filed have two direfent type: Jus

Re: [castor-dev] Simple mapping

2003-01-23 Thread Alexey A. Efimov
Hello, You can use DOM document, I guess. Just select required node and thread it as document into unmarshaler. -Original Message- From: Rodriguez, Christine [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 5:03 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] Simple mapping

Re: [castor-dev] : How do I handle java.util.Properties

2003-01-23 Thread Alexey A. Efimov
Title: Message AFAIK, castor still not support Map in collelction field. You can use it but both key and value will be used as value. By idea, the Map must map object list to id -> object map, but now castor not support this. I'll not recomended use it now. Wait for good time. Thanks!

[castor-dev] FieldDescriptor.getValue return sql type object, but needed is java type

2003-01-23 Thread Alexey A. Efimov
Hello, I have the project on sf.net - Castor Framework (http://sourceforge.net/projects/phantom-castor) I have in JDOWorker method getIdentity. This method return value of id through castor mapping. But it does not work correctly. Here is my method: /** * REturn identity for given object

Re: [castor-dev] Nested error: java.net.UnknownHostException

2002-03-06 Thread Alexey A. Efimov
Maybe you also have a proxy in your officenet try to run java with -Dhttp.proxyHost= -Dhttp.proxyPort= -Dhttp.nonProxyHosts=localhost -Dhttps.proxyHost= -Dhttps.proxyPort= Lucks :) Alexey Efimov - Software Engineer Sputnik Labs 1st Kolobovsky per., 6/3 Moscow, 103051, Russia Phone: +7 (095) 725 5

Re: [castor-dev] Recursive db.create() calls

2002-02-06 Thread Alexey A. Efimov
No, if you define your related classes as extends. But this just realy work so craches :) -Original Message- From: Adam Sherman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 8:48 PM To: [EMAIL PROTECTED] Subject: [castor-dev] Recursive db.create() calls Is it necessary

Re: [castor-dev] Transient base class

2002-02-06 Thread Alexey A. Efimov
Yes, but why define Base class in mapping.xml? Just write Base class and extends mapped classes Alexey Efimov - Software Engineer Sputnik Labs 1st Kolobovsky per., 6/3 Moscow, 103051, Russia Phone: +7 (095) 725 5444 Direct: +7 (501) 401 3217 Fax: +7 (095) 725 5443 E-Mail: mailto:[EMAIL PROTECTED]

Re: [castor-dev] Question regarding 'extends' and primary keys

2002-01-30 Thread Alexey A. Efimov
Dave, I think it not implemented feature :) So, with extend are one more corioses: Even if we get to Castor valid tables with id in product and id in computer, the SELECT c.name FROM myapp.Computer WHERE id = "1" Throw Exception somethink about "field can't be reached from Computer". I tried make

Re: [castor-dev] where should castor.properties be located, esp. under tomcat?

2002-01-30 Thread Alexey A. Efimov
remove castor.properties from castor's JAR file -Original Message- From: Stephen Tsun [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 3:28 AM To: [EMAIL PROTECTED] Subject: [castor-dev] where should castor.properties be located, esp. under tomcat? hi: I am a newbie with ca

[castor-dev] RE: [castor-dev] Rйp. : Re: [castor-dev] JDO- Problem mapping type oracle Number

2002-01-28 Thread Alexey A. Efimov
Hi, No I use in ORACLE type NUMBER -Original Message- From: Sylvie RAMON [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 7:07 PM To: [EMAIL PROTECTED] Subject: [castor-dev] RÊp. : Re: [castor-dev] JDO- Problem mapping type oracle Number Thanks for your response. I'm agree wi

Re: [castor-dev] DatabaseNotFoundException

2002-01-28 Thread Alexey A. Efimov
You must point to SID - -Original Message- From: heyvaert [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 6:39 PM To: [EMAIL PROTECTED] Subject: [castor-dev] DatabaseNotFoundException Hi, As a newbie, I try to connect to an existing DB to be able to run the jdo-ex

[castor-dev] Castor Not support extends

2002-01-28 Thread Alexey A. Efimov
Title: Castor Not support extends In samples we can look Computer exdends Product. But, if you try get field of products by accessing to child Computer object nothing getting… Extends affect only to identity and nothing else… Is it extend? It's not extend - it's one to one relation. Ext

Re: [castor-dev] JDO- Problem mapping type oracle Number

2002-01-28 Thread Alexey A. Efimov
hello, I use it and it works :) -Original Message- From: Sylvie RAMON [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 4:59 PM To: [EMAIL PROTECTED] Subject: [castor-dev] JDO- Problem mapping typ

Re: [castor-dev] FieldDescriptor for identity fields?

2002-01-28 Thread Alexey A. Efimov
mapping.getRootMapping().enumerateClassMappings(); classMapping.getIdentity() classMapping().enumerateFieldMappings() Good luck -Original Message- From: Konstantin Krasovsky [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 27, 2002 2:23 PM To: [EMAIL PROTECTED] Subject: [castor-dev] Fi

[castor-dev] How i can do inner SELECT in Castor OQL?

2002-01-25 Thread Alexey A. Efimov
Title: How i can do inner SELECT in Castor OQL? Hello, Does anybody known about SELECT o1 FROM Object1 o1 WHERE o1.idO2 IN LIST(SELECT o2.id FROM Object2 o2)?? How I can do? (if I can) :) Thanks

Re: [castor-dev] querying collections with oql

2002-01-25 Thread Alexey A. Efimov
article.id can't be 11 and 12 by one time: You queried follow: I = 1; (I == 1 and I == 2) this always false So, article.id - it's one value, how one value may be and 11 and 12 ? :) -Original Message- From: Christoph Sturm [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 06, 2002 8:03 P

Re: [castor-dev] Long Transaction Problem !!! HELP

2002-01-24 Thread Alexey A. Efimov
is there's a rule to map the Date fields in my objectPersistent class i use a java.util.Date i should use this or java.sql.Date ?? thanks Ben. -Message d'origine- De: Alexey A. Efimov [SMTP:[EMAIL PROTECTED]] Date: jeudi 24 janvier 2002 11:45 A: [EMAIL PROTECTED]

Re: [castor-dev] Long Transaction Problem !!! HELP

2002-01-24 Thread Alexey A. Efimov
depricated :) you already find that trouble is :)) -Original Message- From: Alexey A. Efimov Sent: Thursday, January 24, 2002 1:43 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] Long Transaction Problem !!! HELP I not sure but. try this selects: select * from utilisateur; and

Re: [castor-dev] Long Transaction Problem !!! HELP

2002-01-24 Thread Alexey A. Efimov
2 1:32 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] Long Transaction Problem !!! HELP i use MS SQL Server on a windows 2000 server and my web app is on a linux redhat 7 Ben. -Message d'origine- De: Alexey A. Efimov [SMTP:[EMAIL PROTECTED]] Date: jeudi 24 janvier 2002 11:13 A

Re: [castor-dev] Long Transaction Problem !!! HELP

2002-01-24 Thread Alexey A. Efimov
ng.Thread.run(Thread.java:484) thanks Ben -Message d'origine- De: Alexey A. Efimov [SMTP:[EMAIL PROTECTED]] Date: jeudi 24 janvier 2002 10:40 A: [EMAIL PROTECTED] Objet: Re: [castor-dev] Long Transaction Problem !!! HELP Heelo, try check SQL, that Castor send to Databa

Re: [castor-dev] Long Transaction Problem !!! HELP

2002-01-24 Thread Alexey A. Efimov
ow that my data were changed by another user ?? Ben -Message d'origine----- De: Alexey A. Efimov [SMTP:[EMAIL PROTECTED]] Date: mercredi 23 janvier 2002 20:22 A: [EMAIL PROTECTED] Objet: Re: [castor-dev] Long Transaction Problem !!! HELP Castor hold timestamp labels in thi

[castor-dev] Can i set type on XML field?

2002-01-24 Thread Alexey A. Efimov
Title: Can i set type on XML field? I want to use CDATA in big string fields. For example: class A {   private String text;   …. } And I want XML:   How I must wrtie mapping.xml that Castor begin used CDATA modifiers for fields? Thanks

Re: [castor-dev] TimeStamp...while updating

2002-01-22 Thread Alexey A. Efimov
You can use db.update only for object from another transaction. Example: ... // First transaction (get the object) db.begin o = db.load(Object.class, id); db.commit(); // Here we change object o.setXX(...); // Second transaction (update the object) db.begin(); db.update(o); db.commit(); This c

[castor-dev] Curious exceptions in Castor :) (serial "what the hell?")

2002-01-22 Thread Alexey A. Efimov
Title: Curious exceptions in Castor :) (serial "what the hell?") 1. If you get exception after update or create that: StringBufferIndexOutOfBound exception, it mean that you try save to foreign key field an empty string value ("", but not null, becose for null it work correct). 2. If you get

[castor-dev] How get list of complex identifiers?

2002-01-22 Thread Alexey A. Efimov
Title: How get list of complex identifiers? How I can get list of complex identifiers of object. The OQL conception means that I can select only one object (not set of fields that in generic SQL). I can use: select o from Object o; or select o.field from Object o; and I can't use follow:

Re: [castor-dev] How can I load an object which have a multiple columns primary key ?

2002-01-21 Thread Alexey A. Efimov
Use Complex class. Complex identity = new Complex(firstName, lastName); Object o = db.load(com.xyz.MyObject.class, identity); -Original Message- From: Fabien Baligand [mailto:[EMAIL PROTECTED]] Sent: Monday, January 21, 2002 7:33 PM To: [EMAIL PROTECTED] Subject: [castor-dev] How can I l

Re: [castor-dev] New Line charachers in VARCHAR field. Marshal make ftrom each one \n two - \n\n

2002-01-20 Thread Alexey A. Efimov
Title: Сообщение This happend on Windows platform. In DOM document Node have value with "\r\n". How setup Castor for "\n" only character symbol? -Original Message-From: Alexey A. Efimov Sent: Sunday, January 20, 2002 1:21 PMTo: [EMAIL PROTECTED]Subje

[castor-dev] New Line charachers in VARCHAR field. Marshal make ftrom each one \n two - \n\n

2002-01-20 Thread Alexey A. Efimov
Title: Сообщение Then i save in varchar2 field text with '\n' symbols marshaller make XML document that have converted '\n' to "\n\n". Why?

Re: [castor-dev] OQL question

2002-01-20 Thread Alexey A. Efimov
  goodLuck :) -Original Message-From: Bert van Brakel [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 20, 2002 3:10 AMTo: [EMAIL PROTECTED]Subject: Re: [castor-dev] OQL question Ok, thanks. - Original Message - From: Alexey A. Efimov To

Re: [castor-dev] LIST operator

2002-01-14 Thread Alexey A. Efimov
Hello, If you use values as numbers you not need quotes, for characted date use single quote = ' (apostrof), for example: select o from Object o where id in list(1, 2, 3); or select o from Object o where name in list('name1', 'name2', 'name3'); Thanks -Original Message- From: Bruce Sn

Re: [castor-dev] Why it is RelationCollection?

2002-01-14 Thread Alexey A. Efimov
kept in the mail archive and wait long long time until we would have the time to review the code and write test cases for that.         Thomas   -Original Message- >From: Alexey A. Efimov [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, December 26, 2

Re: [castor-dev] How to find out the table of a mapped field?

2002-01-11 Thread Alexey A. Efimov
When you load mappin.xml and get object Mapping. Then: MappingRoot mappingRoot = mapping.getRoot(); Enumeration e = mappingRoot.enumerateClassMapping(); while (e.hasMoreElements()) { ClassMapping classMapping = (ClassMapping)e.nextElement(); // Here using ClassMapping you can retrive all info

Re: [castor-dev] DataSource Parameters

2002-01-11 Thread Alexey A. Efimov
To: [EMAIL PROTECTED] Subject: Re: [castor-dev] DataSource Parameters > "Alexey A. Efimov" wrote: > > Hello, > > I have question for DataSource xml setup in database.xml: > ... > > > > ... > > Where are put those parameters (param1="value

Re: [castor-dev] Selection of multiple columns in JDO

2002-01-09 Thread Alexey A. Efimov
I think, no Castor throws Exception on this OQL. OQL concept says what result of selection must be object -Original Message- From: Mandava, Sunil (PLC, IT, ValueMomentum) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 6:19 PM To: [EMAIL PROTECTED] Subject: [castor-dev] Sele

Re: [castor-dev] Using Castor in J2EE (JNDI) mode with Poolman - anyone done this?

2002-01-08 Thread Alexey A. Efimov
Hi, Yes, we use PoolMan with Castor. Simple: In poolman.xml we defined section for datasource named "oraclepool". Alexey Efimov - Software Engineer Sputnik Labs 1st Kolobovsky per., 6/3 Moscow, 103051, Russia Phone: +7 (095) 725 5444 Direct: +7 (501) 401 3217 Fax: +7 (095) 725 5443 E-

Re: [castor-dev] OQL question

2002-01-08 Thread Alexey A. Efimov
Title: Сообщение Hello, You can use follow form syntax: select o from Product p where id in list(1, 45, 120)   Alexey Efimov - Software Engineer Sputnik Labs 1st Kolobovsky per., 6/3 Moscow, 103051, Russia Phone: +7 (095) 725 5444 Direct: +7 (501) 401 3217 Fax: +7 (095) 725 5443 E-Mail: m

[castor-dev] Why it is RelationCollection?

2001-12-26 Thread Alexey A. Efimov
Title: Why it is RelationCollection? If I have two classes - A and B. A have a set of B (by collection). B depends on A. Becose class B depends on A, I can't use OQL and db.load per class B directly. But I have access to them via class A (a collection field). But this mean that I can only