[castor-dev] Generating protected variables

2004-03-18 Thread Rughwani, Devashish (Devashish)
Hi Is there any way to instruct the source code generator to generate "protected" variables instead of "private" ones ? Thanks Devashish --- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of:

[castor-dev] Datasource

2004-03-18 Thread Wilfredo Sellado
I am starting my study on Castor. I would like to know the procedure on how to reuse my existing configured data-source in tomcat... or do i have to make a new set of configurations for Castor. And also, how will i get a castor database from a looked-up object from a JNDI using initial context

Re: [castor-dev] problems unmarshalling both the attribute and CDATA for

2004-03-18 Thread Keith Visco
Hi Adam, There are a couple bugs open on the location attribute already, I think the following covers this situation that you describe: http://bugzilla.exolab.org/show_bug.cgi?id=1516 Since that bug is lacking a test case, can you add your test case to the bug, and put yourself in the cc list

Re: [castor-dev] Code cleanup and Eclipse

2004-03-18 Thread Joao Luis Pinto
Werner, answers are inline... >I got the latest version of the code from CVS with Eclipse >(http://www.eclipse.org), and noticed a few problems: > >- File src/tools/ide/eclipse/classpath.template has not been updated to the >latest versions of the distributed .jars . Namely, it lists adaptx_0.9

[castor-dev] problems unmarshalling both the attribute and CDATA for a tag

2004-03-18 Thread Adam Murray
I'm going to give a working example and then describe my problem. Consider the following xml and code: --- testData.xml: ElementValue testMapping.xml:

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

2004-03-18 Thread Stein M. Hugubakken
Bruce Snyder wrote: This one time, at band camp, Stein M. Hugubakken said: SMH>Since Timer and TimerTask are only available from jdk 1.3.x my bug 1554 SMH>probably won't be accepted then? SMH> SMH>http://bugzilla.exolab.org/show_bug.cgi?id=1554 Stein, AFAIK, we are still focused on supporting JDK

Re: [castor-dev] Code cleanup and Eclipse

2004-03-18 Thread Stein M. Hugubakken
Werner Guttmann wrote: for some initial thoughts. An addition, if you check out the code, in src/docs you'll find ExolabJavaCoding.pdf. It's several things I disagree with in this document, like placing variables at the top of the method and comment right-braces that closes a block longer then 1

Re: [castor-dev] date manipulation in OQL

2004-03-18 Thread chad nash
Thanks. Good luck with all the work. Chad > -Original Message- > From: Bruce Snyder [mailto:[EMAIL PROTECTED] > Sent: Friday, 19 March 2004 5:19 AM > To: [EMAIL PROTECTED] > Subject: Re: [castor-dev] date manipulation in OQL > > > This one time, at band camp, chad nash said: > > cn>I

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

2004-03-18 Thread fahd kamal
In reference to the post, http://hypermail.linklord.com/castor-dev/2004/Jan/2417.html I would like to know what exactly are the changes to be made to the mapping file in order to get rid of the namespaces. Any help is appreciated. Thanks, -fahd --- Keith Visco <[EMAIL PROTECTED]> wrote: > >

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

2004-03-18 Thread Keith Visco
To all contributors, This is just a friendly reminder... We can't include any JBoss code in Castor as they use the LGPL. I believe we can link to a compiled jar, but I'd rather not deal with any GNU licensed products what-so-ever. If you want to use that code you must get written permission

[castor-dev] Re: jdo.getDatabaseName() call?

2004-03-18 Thread Emir Causevic
Werner, that was my assumption too, but I just wanted some clarification. Actually, I'm working on a thesis about object-relational mapping and specifically about Castor JDO, and thus my curiosity. Anyway, thank you for your prompt and helpful answers. There'll be a lot more questions until I'm

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

2004-03-18 Thread Bruce Snyder
This one time, at band camp, Stein M. Hugubakken said: SMH>Since Timer and TimerTask are only available from jdk 1.3.x my bug 1554 SMH>probably won't be accepted then? SMH> SMH>http://bugzilla.exolab.org/show_bug.cgi?id=1554 Stein, AFAIK, we are still focused on supporting JDK 1.2 as the lowest

Re: [castor-dev] date manipulation in OQL

2004-03-18 Thread Bruce Snyder
This one time, at band camp, chad nash said: cn>I am trying to get a handle on date manipulation in OQL. cn>Any references? (I could not find any) cn> cn>Obviously you can do any manipulation you want, in java, to the cn>parameters you bind to the OQL. cn> cn>Do + and - work for dates? (I imagin

Re: [castor-dev] update object in a different table (sql many-table) for collection type vector.

2004-03-18 Thread Bruce Snyder
This one time, at band camp, Avalivin Jhons said: AJ>I did the changes as you said which includes AJ> AJ>1. Implementing the org.exolab.castor.jdo.TimeStampable in the Object AJ> AJ>2. Define dirty checking capabilities for the Object in the mapping file by doing for the Object. AJ> AJ>After do

Re: [castor-dev] Re: jdo.getDatabaseName() call?

2004-03-18 Thread Werner Guttmann
Emir, I think what the authors had in mind originally is allowing to configure more than one database engine in the config file and during initialization of a JDO instance specify which one to use. But I could be wrong with this. Regards Werner --Original Message Text--- From: Emir Ca

[castor-dev] Re: jdo.getDatabaseName() call?

2004-03-18 Thread Emir Causevic
Hi Werner, I was just asking if there's some explanation behind that approach. Simply, why shouldn't the database name be read from the config file and set as appropriate? But, nevermind I'll just take it as it is.   Thank you for your help. Regards, Emir   Werner Guttmann writes: > Emir, >

Re: [castor-dev] jdo.getDatabaseName() call?

2004-03-18 Thread Werner Guttmann
Emir, as stated in the API docs for JDO.java at http://castor.exolab.org/api/org/exolab/castor/jdo/JDO.html when instantiating Castor JDO, you have to provide a valid database name, either via the constructor as per http://castor.exolab.org/api/org/exolab/castor/jdo/JDO.html#JDO(ja

[castor-dev] Question regarding sub-objects...

2004-03-18 Thread Gregory Block
I'd like to create a mapping that does something like the following...

[castor-dev] Re: Problems building jk 2.0.4

2004-03-18 Thread Jens Saade
Hm, libjnjni.so or jkjni.so is not built ... here's my configure line: ./configure --with-apxs=/usr/bin/apxs --with-apr-util=/home/ratze/apr-util-0.9.4 --with-apr=/home/ratze/apr-0.9.4 --with-tomcat41=/var/tomcat/ --with-java-home=/usr/java/java --with-jni Do i need it to be built separately? /

[castor-dev] jdo.getDatabaseName() call?

2004-03-18 Thread Emir Causevic
Hi all, can someone please explain me or point me to the API documentation regarding the call to getDatabaseName() before setting it with setDatabaseName(). I'm a beginner with Castor and just wondering why can't the database name be read from the database XML config file?It appears as attribute

[castor-dev] CALL SQL and insert statements - how?

2004-03-18 Thread Boris Klug
Hello! I have a big problem! In one part of my project I can only use Castor and I want to do an insert statement. The table name is not fix so I have to build a SQL statement on the fly. I want to submit the statement using the Castor pass-thru feature (CALL SQL). When I try this, I get an ex

[castor-dev] Unwanted Namespaces in Castor (ns1, ns2, ...)

2004-03-18 Thread fahd kamal
Hello, We are using Castor to generate class files from XML schema. However the XML generated from these class files have unwanted namespaces ns1, ns2, etc. on each element. I know that I can suppress these namespaces by making some modifications to the Mapping file but I am not sure how. Can som

Re: [castor-dev] Re: Problems building jk 2.0.4

2004-03-18 Thread Jens Saade
ooops =) Serge Maslyukov wrote: Ha-ha castor-dev subscribed on tomcat-user mailing list ) Serge Maslyukov --- Jens Saade <[EMAIL PROTECTED]> wrote: Yes, I did --with-jni Yiannis Mavroukakis wrote: You probably did not include the jni option in the ./configure script. -

Re: [castor-dev] Re: Problems building jk 2.0.4

2004-03-18 Thread Serge Maslyukov
Ha-ha castor-dev subscribed on tomcat-user mailing list ) Serge Maslyukov --- Jens Saade <[EMAIL PROTECTED]> wrote: > > Yes, I did --with-jni > > Yiannis Mavroukakis wrote: > > >You probably did not include the jni option in the > ./configure script. > > > >-Original Message- > >

[castor-dev] Re: Problems building jk 2.0.4

2004-03-18 Thread Jens Saade
Yes, I did --with-jni Yiannis Mavroukakis wrote: You probably did not include the jni option in the ./configure script. -Original Message- From: Jens Saade [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 13:08 To: Tomcat Users List Subject: Problems building jk 2.0.4 Hi, i got jk 2.0.

[castor-dev] Problems building jk 2.0.4

2004-03-18 Thread Jens Saade
Hi, i got jk 2.0.4 from cvs, compiled it and added it to my http.conf via LoadModule. Apache 1.3.29 won't start: Cannot load /usr/lib/apache/1.3/mod_jk2.so into server: /usr/lib/apache/1.3/mod_jk2.so: undefined symbol: jk_jni_status_code The compilation did well, no error messages. Any ideas why

Re: [castor-dev] Code cleanup and Eclipse

2004-03-18 Thread Werner Guttmann
Joao, thanks for your offer, Please see inline for help ... Werner On Wed, 17 Mar 2004 18:31:44 +, Joao Luis Pinto wrote: > >Dear all > >I got the latest version of the code from CVS with Eclipse >(http://www.eclipse.org), and noticed a few problems: > >- File src/tools/ide/eclipse/class

[castor-dev] problem with create-method

2004-03-18 Thread marathonkati
Hi, I already ask this question under a different thread but maybe somebody who can answere didn't read it. I think, it is my last question on the project I'm working at the moment. In one class I'm already using the constructor with null parameters and while unmarshalling happens a mistake the

中学生网络题库―80元解决孩子的学习问题

2004-03-18 Thread zjmmxcz1
    亲爱的朋友:  您好! 欢迎您点击http://www.up100.net进入爱普格瑞初一至高三网络题库俱乐部,您可轻松定制获得最新、最权威的分章练习、模拟试题、真题题库、习题详解、网上答疑辅导等超值服务。您所花费的代价仅相当于一、两本辅导书的价钱(80元4个月的会员资格),但您得到的是总数超过十万道及时更新的题目! 借助Internet强大的功能,您还可以获得电脑自动判题、历史成绩记录、自动选题、题目收藏等增值服务。当然,要特别强调的是您还可以按章节、知识点、题型、难易程度等不同条件检索您所需要