Re: SDO Java 1.1-incubating release candidate 2

2008-02-29 Thread Amita Vadhavkar
d anything. > > ...ant > > On Wed, Feb 27, 2008 at 5:49 AM, Amita Vadhavkar < > [EMAIL PROTECTED]> > wrote: > > > I've posted a RC2 of SDO Java 1.1-incubating at [1] > > Maven artifacts for the release candidate are available at [2] > > I cut a

Re: [DAS] Running tomcat samples

2008-02-26 Thread Amita Vadhavkar
The problem is version of derby jar in the samples/testing/tomcat/build.xml - it is asking for 10.1.2.1 Whereas the derby jar asked for in the rdb/pom.xml is 10.2.20. So when the user attempts to run the sample the required version is not found and no derby jar is deployed in tomcat lib and so no d

SDO Java 1.1-incubating release candidate 2

2008-02-26 Thread Amita Vadhavkar
I've posted a RC2 of SDO Java 1.1-incubating at [1] Maven artifacts for the release candidate are available at [2] I cut a branch for this release at [3] The rat report is at - [4], [5] Please take a look at this release candidate. Also please feed back on the install, build and samples. [1] h

Re: SDO Java 1.1-incubating release candidate 1

2008-02-24 Thread Amita Vadhavkar
of the felix maven-osgi-plugin, could that use a non-snapshot release? 3) Mention of backport util source location in bin/Notice file - confirmation Regards, Amita On Fri, Feb 22, 2008 at 10:18 PM, kelvin goodson <[EMAIL PROTECTED]> wrote: > On 22/02/2008, Amita Vadhavkar <[EMA

Re: SDO Java 1.1-incubating release candidate 1

2008-02-22 Thread Amita Vadhavkar
> > as those you have posted (including the spurious target directory in the > > samples project of the binary distribution) > > > > > > ISSUE - the java5tools project contains an unneccessary license.txt file > > > > Maven artifacts > > =====

SDO Java 1.1-incubating release candidate 1

2008-02-21 Thread Amita Vadhavkar
I've posted a RC1 of SDO Java 1.1-incubating at [1] Maven artifacts for the release candidate are available at [2] I cut a branch for this release at [3] The rat report is at - [4], [5] Please take a look at this release candidate. Also please feed back on the install, build and samples. Please

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-02-14 Thread Amita Vadhavkar
> discussed, if you and I continue to do a pass on this during your > > working > > > day tomorrow on IRC (say 9am approx GMT?), I will offer a follow up > IRC > > > chat > > > late this week that's at a convenient time for the west coast to offer > >

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-02-12 Thread Amita Vadhavkar
rse any other points of the plan we come up with. > > Kelvin. > > On 04/02/2008, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > > > > There was an IRC chat where me and Kelvin participated on Feb 4th, 7.30 > > a.m. > > PST > > for SDO Java 1.1-incubating re

[SDO Java] Pluggable SDOPackageRegistryDelegator and Tuscany-1459

2008-02-08 Thread Amita Vadhavkar
Please refer to https://issues.apache.org/jira/browse/TUSCANY-1831 and https://issues.apache.org/jira/browse/TUSCANY-1459 and share your thoughts about what can be done for Tuscany-1831 Regards, Amita

Re: [SDO Java] IRC chat on release contents

2008-02-07 Thread Amita Vadhavkar
Please see below complete summary of the IRC chat we had on 4,5,6th Feb. The next one is as specified in previous response. There was an IRC chat where me and Kelvin participated on Feb 4th, 5th and 6th , 2008 for SDO Java 1.1-incubating release. Below is the summary. 1) license files under distr

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-02-04 Thread Amita Vadhavkar
this release for some JIRA. Appreciate all help in getting all important JIRAs in this release Regards, Amita On Feb 4, 2008 8:41 PM, kelvin goodson <[EMAIL PROTECTED]> wrote: > On 04/02/2008, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > > > > Apologies for a lengthy

Re: [Java SDO] getEncoding() during load() - issues + TUSCANY-1545

2008-02-04 Thread Amita Vadhavkar
erence in behavior and how Tuscany SDO Java will support this? (My previous response regd. InputSource() - Jan 29) Regards, Amita On Jan 29, 2008 3:15 PM, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > The getEncoding() issue I was facing was related to my env. JDK setting , > it was fai

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-02-04 Thread Amita Vadhavkar
And also src/distro and bin/distro license will be addition of the 2 license texts (Apache and OSOA) On Feb 4, 2008 7:40 PM, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > Apologies for a lengthy mail,but trying not to keep any ambiguities. > Please see all > **Question: > >

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-02-04 Thread Amita Vadhavkar
regards, amita On Feb 4, 2008 5:33 PM, kelvin goodson <[EMAIL PROTECTED]> wrote: > Hi Amita, > apologies, on further detailed inspection I see that whilst the thread I > directed you to was relevant, the resolution of the license t

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-02-04 Thread Amita Vadhavkar
On Jan 31, 2008 5:52 PM, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > Hi, > I am going through all the samples to see if there are any areas of > improvement, If anybody has spotted some areas or have some > suggestions, please explain the details. > > Regards, > A

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-31 Thread Amita Vadhavkar
Hi, I am going through all the samples to see if there are any areas of improvement, If anybody has spotted some areas or have some suggestions, please explain the details. Regards, Amita On Jan 30, 2008 3:35 PM, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > How about having an IRC o

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-30 Thread Amita Vadhavkar
better picture of what's wanted. When > would be a good time to do this? > > Kelvin. > > On 25/01/2008, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > > > > I have worked on the comments for RAT report and added the results at > the > > end of - > >

Re: [Java SDO] getEncoding() during load() - issues + TUSCANY-1545

2008-01-29 Thread Amita Vadhavkar
;; > xmlns:company="http://www.example.com/company"; >xmlns:simple="http://example.com/simple"; xsi:type="simple:Simple"> > John Smith > > 1) encoding = UTF-8 > 2) encoding = ASCII > > Round trip serializing doc that had no incoming enc

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-25 Thread Amita Vadhavkar
threads, where the RAT report is manually marked up. > > Kelvin. > > > On 18/01/2008, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > > > > What is the action for Ex.IFF - ignore? Also what TBD for the xml files > > under sdo-tools-test which do not contain headers -

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-25 Thread Amita Vadhavkar
. Regards, Amita On Jan 24, 2008 4:14 PM, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > Hi Kelvin, > What I did was - > renamed C:\Documents and Settings\Administrator\.m2\repository -> > C:\Documents and Settings\Administrator\.m2\repository_bkp > so that I don't have a

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-25 Thread Amita Vadhavkar
, 2008 4:29 PM, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > Yes, its maven build that is giving this failure, am checking more on it. > > Regards, > Amita > > > On Jan 24, 2008 4:25 PM, kelvin goodson <[EMAIL PROTECTED] > > wrote: > > > Hmmm, I also ju

[Java SDO] getEncoding() during load() - issues + TUSCANY-1545

2008-01-25 Thread Amita Vadhavkar
I am making this a separate thread and referring it in http://www.mail-archive.com/tuscany-user@ws.apache.org/msg02447.html as this can be my local setup issue and so don't want to mix with the release thread. 0] I checked that the EMF version in my classpath is 2.2.3. 1]Eclipse 3.2.1 http://help

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-24 Thread Amita Vadhavkar
. Maybe you could paste some > relevant error report sections from the files in target/surefire-reports > > Kelvin. > > On 21/01/2008, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > > > > After building a fresh checkout and using initially empty maven repo, > all >

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-24 Thread Amita Vadhavkar
you these errors, yes? > Kelvin > > On 24/01/2008, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > > > > Hi Kelvin, > > What I did was - > > renamed C:\Documents and Settings\Administrator\.m2\repository -> > > C:\Documents and Settings\Administrator\.m2\rep

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-23 Thread Amita Vadhavkar
pathrev=537953 > , > and the page indicates the file doesnt exisst after r*evision 543536.* The > work you are doing supercedes this. I close it. > > Kelvin. > > On 21/01/2008, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > > > > Some more questions about website

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-21 Thread Amita Vadhavkar
After building a fresh checkout and using initially empty maven repo, all except testEncoding(org.apache.tuscany.sdo.test.XMLHelperTestCase) failed. Is this a known issue? This is due to encoding mismatch between the one coming from org.eclipse.emf.ecore.xmi.XMLResource is ASCII and the expected on

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-21 Thread Amita Vadhavkar
ay other than duplicating the content here *Q*8) What is required for JIRA-1026? - is this JIRA based on some old documentation? Regards, Amita On Jan 21, 2008 6:17 PM, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > After building a fresh checkout and using initially empty maven repo, all

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-18 Thread Amita Vadhavkar
On Jan 18, 2008 3:56 PM, kelvin goodson <[EMAIL PROTECTED]> wrote: > On 18/01/2008, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > > > > Assuming name of the release as Tuscany SDO Java 1.1-incubating and > > keeping > > ref. to the > > old mail th

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-18 Thread Amita Vadhavkar
Hi, Regarding website updates, will you please help in 2) where there is a chance that there will be pre-existing page - I gave it an attempt but could not locate. Regards, Amita On Jan 18, 2008 3:56 PM, kelvin goodson <[EMAIL PROTECTED]> wrote: > On 18/01/2008, Amita Vadhavka

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-18 Thread Amita Vadhavkar
Sorry, please see point 1 ) i.e. old page for sdo get involved and not 2). On Jan 18, 2008 5:27 PM, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > > Hi, > Regarding website updates, will you please help in 2) where there is a > chance that there will be pre-existing page - I

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-18 Thread Amita Vadhavkar
need to be > changed > to be in line with. > > Kelvin. > > On 18/01/2008, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > > > > Thanks Kelvin, will look at all these points. Also, > > I used rat-5.0.jar and got the report at - > > http://cwiki.apache.or

Re: [Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-18 Thread Amita Vadhavkar
08 3:56 PM, kelvin goodson <[EMAIL PROTECTED]> wrote: > On 18/01/2008, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > > > > Assuming name of the release as Tuscany SDO Java 1.1-incubating and > > keeping > > ref. to the > > old mail thread - > > http:

[Java SDO] Tuscany SDO Java 1.1-incubating

2008-01-18 Thread Amita Vadhavkar
Assuming name of the release as Tuscany SDO Java 1.1-incubating and keeping ref. to the old mail thread - http://www.mail-archive.com/[EMAIL PROTECTED]/msg27168.html. I am starting a new thread now. Web Site documentation:- I could gather a few places where small updates can be done. Please give y

Re: [Java SDO] What should we be attacking?

2008-01-16 Thread Amita Vadhavkar
#x27;s going to be in and out > is > the first step. I think the states and marked fix levels on the JIRAs > are > all as they should be, so that should be a relatively smooth operation. > I'll try to find pointers to the best reference information later in the > day

Re: [Java SDO] What should we be attacking?

2008-01-15 Thread Amita Vadhavkar
Hi, I would like to do Release Management activities for this SDO release. It will be a good learning for me. Appreciate your help. Regards, Amita On Jan 15, 2008 6:42 PM, kelvin goodson <[EMAIL PROTECTED]> wrote: > It's high time we spun this release. There are various patches still to > apply

Re: An update collision occurred when update the primary key property !

2008-01-02 Thread Amita Vadhavkar
UpdateGenerator forms update statement with "where" clause like this - iterate over all PKs and include them in "where" clause. Then iterate over all changed fields and include them in "where" clause with values set to old values from change summary. In case the PK itself is being changed, this res

Re: What's mean of the managed column in DAS config ?

2008-01-01 Thread Amita Vadhavkar
Hi, If your question is about managed=true setting in a Table's Column, please see http://incubator.apache.org/tuscany/das-java-faq.html#DASJava-FAQ-OptimisticConcurrencyControl for more explanation about managed and collision attributes at Column level and how these can control the Optimistic Conc

[DAS] What's next for Tuscany DAS?

2007-11-16 Thread Amita Vadhavkar
Hi, Thinking about RDB DAS Next release, there can be different interesting features to add like - 1- Integration with SCA policy and transaction support 2- Data Services (following DAS Specification investigations/directions) 3- DAS & WebServices 4- DAS integration with JPA (Fluid) 5 - XML Types

Re: DAS Web Service

2007-11-14 Thread Amita Vadhavkar
Hi Umesh, Just thought of checking if you have some work to contribute to Tuscany, also please give your comments to the new thread [DAS] DAS as web service. Regards, Amita On Oct 3, 2007 11:02 PM, Luciano Resende <[EMAIL PROTECTED]> wrote: > On 10/2/07, Umesh Tyagi (utyagi) <[EMAIL PROTECTED]> w

[DAS] DAS as web service

2007-11-14 Thread Amita Vadhavkar
There is an old thread - http://www.mail-archive.com/tuscany-user@ws.apache.org/msg01951.html I am just trying to continue the discussion here to come up with requirement, use cases and a basic implementation. Standalone DAS can be used by client by having the required jar in classpath. By exposin

[DAS] need to correct condition check in UpdateGenerator

2007-11-07 Thread Amita Vadhavkar
Link to JIRA - https://issues.apache.org/jira/browse/TUSCANY-1895 RDB DAS - UpdateGenerator performs incorrect check when passing property values from parent DO to child DO. It tries to find the FK property in Parent DO and gives exception. code .UdateGenerator.getChangedFields() - if (!ref.is

Re: Another DAS problem/question

2007-11-07 Thread Amita Vadhavkar
DAS is supporting data transfer between SDO and DB. In this, the uniqueness of a DataObject(DO) is ensured by having a PK in it. If this is not done, it will not be possible to get correct query results and also to do CUD on DB based on changes in DO. Due to this the DAS query mandates that the SEL

Re: Different DB Drivers pulling information differently?

2007-11-05 Thread Amita Vadhavkar
nt. Could that be causing the problem? I honestly don't know that much > about databases but my project doesn't have enough money to hire someone > who > does. > > -Jason > > > -Original Message- > > From: Amita Vadhavkar [mailto:[EMAIL PROTECTED]

Re: Different DB Drivers pulling information differently?

2007-11-05 Thread Amita Vadhavkar
What is the column type in database for LAST_NAME? If it is varchar, what is the length if any specified? Regards, Amita On 11/3/07, Jason Clark <[EMAIL PROTECTED]> wrote: > > My Config. > > > > > > > driverClass="net.sourceforge.jtds.jdbc.Driver" > >

Re: DAS configuration must specify ResultDescriptors

2007-11-01 Thread Amita Vadhavkar
various > jurisdictions. If you are not the named addressee you should not > disseminate, distribute or copy this e-mail. If you are not the intended > recipient you are notified that disclosing, copying, distributing or > taking > any action in reliance on the contents of this infor

Re: DAS configuration must specify ResultDescriptors

2007-10-31 Thread Amita Vadhavkar
TUSCANY-1465 is the JIRA which added index to the With that the physical order can be anything for as long as index is used properly. This JIRA helps in specifying result descriptor programmatically (i.e. not thru config file). See DynamicResultDescriptorTests.java and http://incubator.apache.org

Re: DAS configuration must specify ResultDescriptors

2007-10-30 Thread Amita Vadhavkar
Also, please see if the table can have a logical Primary Key. DAS can identify unique DB records and thus unique Data Objects only based on Primary Key. One can be specified in the DAS Config section. If it is not specified but the table has a column id (ignore case), it is considered as PK by som

Re: generated fields in Static SDO's not getting populated

2007-09-27 Thread Amita Vadhavkar
valid problem. patch is provided for review in TUSCANY-1807. Detailed analysis in same place. Regards, Amita On 9/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > If I attach a static SDO to a data graph, that has a generated id > field, after "applyChanges", that field on the stat

Re: [DAS] Transaction support - a bigger picture question

2007-09-20 Thread Amita Vadhavkar
transaction manager ? The SCA runtime, or > implementations ? In the case of SCA runtime, we need to investigate > that part, but I guess we can start by having it under the > implementation as a proof of concept for now. > > On 9/13/07, Amita Vadhavkar <[EMAIL PROTECTED]> wrote:

Re: [DAS] Das beta2 stable distributions

2007-09-18 Thread Amita Vadhavkar
please see if jira-1720 can be included. it contains only sample reademes with steps to run the samples against other dbs like mysql, db2 regards, amita On 9/11/07, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > > Ran samples and junit/htmlunit suites and found no issues > >

Re: Das beta2 MySQL Customer Example

2007-09-17 Thread Amita Vadhavkar
Please see with the below steps, if it works for you, I am also modifying the beta2 sample readme to include the same instructions for use with other dbs like MySQL, DB2 etc. On 9/17/07, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > > Hi, > I took the following steps to get the

Re: Das beta2 MySQL Customer Example

2007-09-17 Thread Amita Vadhavkar
Hi, I took the following steps to get the customer sample working with MySQL Used bin distro 0) expand sample-customer.jar to get access to CustomersConfig.xml 1) change CustomersConfig.xml to comment derby connection info and uncomment mysql connection info (check for correct id, pwd, url, driver

Re: [DAS] Transaction support - a bigger picture question

2007-09-13 Thread Amita Vadhavkar
Hi, I have given this a try based on what I tried in JIRA-1665 (Sample Using JOTM with DAS) Here also I am using JOTM with SCA+DAS. Currently played with 2 simple intents: a> transaction (Tx management from External TM), b> noTransaction (Tx management from DAS) The only changes needed are as belo

Re: [DAS] Das beta2 stable distributions

2007-09-10 Thread Amita Vadhavkar
Ran samples and junit/htmlunit suites and found no issues Regards, Amita On 9/11/07, ant elder <[EMAIL PROTECTED]> wrote: > > On 9/10/07, Luciano Resende <[EMAIL PROTECTED]> wrote: > > > > I have posted stable distributions in preparation for DAS beta2 > > release [1]. I still have to fix-up the

Re: RDB DAS read, then write XML file for data export

2007-09-07 Thread Amita Vadhavkar
born, Eric D <[EMAIL PROTECTED]> wrote: > > I am using beta1. However, the proxy I connect through disallows > external SVN servers. Is there an HTTP download of the trunk binary? > > That xml output looks good, except, is it possible to have it display > all 4 customer

Re: RDB DAS read, then write XML file for data export

2007-09-06 Thread Amita Vadhavkar
Hi , Will you please try the example with latest SDO and DAS code from svn trunk, There are some differences in DAS-beta1 (older releases) and the current one from https://svn.apache.org/repos/asf/incubator/tuscany/java/. These differences are due to some changes in SDO. With the latest one, I am

Re: [DAS] What's next for Tuscany DAS ?

2007-09-05 Thread Amita Vadhavkar
next couple > days, and if we make it on time, we could still have a chance to > include DAS in the SCA 1.0 release (planned for middle of September). > As for naming, I was thinking to make this a beta2 release. Thoughts ? > > On 8/27/07, Amita Vadhavkar <[EMAIL PROTECTED]> wrot

Re: How to deal with the DateTime field in DAS ?

2007-09-04 Thread Amita Vadhavkar
Hi, java.sql.Types.DATE, TIME and TIMESTAMP maps to "commonj.sdo.Date". Also see, KennelTests.testSimple5() for an example of using Timestamp -> https://svn.apache.org/repos/asf/incubator/tuscany/java/das/rdb/src/test/ Regards, Amita On 9/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > H

Re: Where could I found the source in the package of "org.apache.tuscany.das.rdb.config "

2007-09-04 Thread Amita Vadhavkar
Hi, When you extract the src and do mvn build, all these files will get generated. There is a sdo-plugin used (see pom.xml) which does xsd2java generation. So in the src zip, the xsds will be there but not the java files. If you take the bin zip , you will get the class files for these. Regards, A

[DAS] DAS Web Sample with Tomcat and JOTM as Transaction Manager

2007-08-31 Thread Amita Vadhavkar
I am using jotm-2.0.10 and Tomcat 5.5.23. The HowTo from JOTM site has a few problems and the below info worked for me - [1]http://www.nabble.com/UserTransaction,- JOTM-and-Tomcat-5.5.x-t1073172.html [2]http://static.raibledesigns.com/downloads/howto-tomcat-jotm.html Also, as mentioned in [1] for

Re: [DAS] Transaction support

2007-08-31 Thread Amita Vadhavkar
causing > this whole confusion. Let me spend couple hours on this over the > weekend, and send some feedback after that. I'll also write a wiki > page with what I think the Transaction support should do/work. > > On 8/17/07, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > > Ju

Re: Having problem with null values in my DAS

2007-08-31 Thread Amita Vadhavkar
nt. > > Regards, > Wing > > -Original Message- > From: Amita Vadhavkar [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 30, 2007 1:58 AM > To: tuscany-user@ws.apache.org > Subject: Re: Having problem with null values in my DAS > > Will you please share the conf

Re: [RDB DAS] Consistent use of Parameters in Config

2007-08-29 Thread Amita Vadhavkar
> -- rest of the attributes optional > -- rest of the > attributes optional > -- rest of the attributes > optional > > > --Kevin > > On 8/29/07, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > > Below is one of the use ca

Re: Having problem with null values in my DAS

2007-08-29 Thread Amita Vadhavkar
Will you please share the config file and the data/table info here, so I can simulate the condition. When tried with a simple sample, it seems that - when any other column other that the one mentioned in DAS as PK has null value, DAS is producing correct result. So, your details will help. Also, wi

Re: [RDB DAS] Consistent use of Parameters in Config

2007-08-29 Thread Amita Vadhavkar
ny of these cases, the user will need to define a parameter N > times if there are N commands that use it. I don't see any solution for > these case : ( > > Regards, > Adriano Crestani > > > [1] > > > > > > [2] > >

Re: [DAS] What's next for Tuscany DAS ?

2007-08-27 Thread Amita Vadhavkar
I have attached patch for TUSCANY-961+ TUSCANY-986 combined in TUSCANY-961. One observation here - Generated code shows usage of deprecated method FactoryBase.getProperty(Type, int) and needs to be replaced by getLocalProperty(), any changes needed in xsdtojava generator in SDO? Any suggestions?

Re: [DAS] Transaction support - a bigger picture question

2007-08-21 Thread Amita Vadhavkar
I have not worked on the latest DAS-SCA integration so far, and am quite sure Lucinao will have good pointers in this area. But looking at the current tuscany-implementation-das, can see the following possible. So take this as my attempt to understand intents/policySets and DAS-SCA integration :)

Re: [DAS] Transaction support

2007-08-17 Thread Amita Vadhavkar
ection, I do not see anything new in using > these > > new methods, start/endTransactions, that user cannot perform only using > a > > Connection object. > > > > c) About data integrity, I think it's also wrong decision if the user > set > > the managedtx=tr

Re: Example to define the ResultSet shape Definition for a join in DAS

2007-08-16 Thread Amita Vadhavkar
Hi, DAS Config file does support ResultDescriptor and [2] test case mentioned by Luciano is quite descriptive. This functionality is there in the latest stable release. Recently there is JIRA-1465 fixed with which, Dynamically created Commands (the ones that are not in DAS Config file) also can ma

Re: [DAS] Transaction support

2007-08-16 Thread Amita Vadhavkar
DAS on its creation no matter if the > > managedtx > > is true or not, because he will have a reference to the Connection he > > created. > > > > So, if the managedtx=true and the user passed the Connection to DAS, it > > will > > make no sense not to expose the C

Re: [DAS] Transaction support

2007-08-14 Thread Amita Vadhavkar
m Interface level itself is tied to Database. Can we open another thread and list/discuss all the changes around this separation work? Regards, > Adriano Crestani > > On 8/14/07, Amita Vadhavkar < [EMAIL PROTECTED]> wrote: > > > > Just looked more at the code and found

Re: [DAS] Transaction support

2007-08-14 Thread Amita Vadhavkar
connection, is there any issue with supplying it to DAS ?'} ___ Regards, Amita On 8/14/07, Luciano Resende <[EMAIL PROTECTED]> wrote: > > Comments inline > > On 8/13/07, Amita Vadhavkar <[EMAIL PROTECTED]

Re: [DAS] Transaction support

2007-08-13 Thread Amita Vadhavkar
why you need to expose > DAS.getConnection() ? > >- If you already defined the transaction demarcation flags, why you > still ask the client code to handle start/endTransaction? Why is that > different from passing managedtx = false ? > > On 8/13/07, Amita Vadhavkar <

Re: [DAS] Transaction support

2007-08-13 Thread Amita Vadhavkar
e: > > Hi Amita, > > I think it can be useful to bunch commands, but I didn't get how you are > planning to do it : ( > > What would be the parameter of method getTransaction? > > Regards, > Adriano Crestani > > On 7/12/07, Amita Vadhavkar <[EMAIL PROTECTED]

[DAS] Relationship info using DBMS Metadata getCrossReference() - pros and cons?

2007-08-13 Thread Amita Vadhavkar
(Prev mail thread:- http://www.mail-archive.com/[EMAIL PROTECTED]/msg20770.html) More on this... Looks like, single table registry approach was taken to dump all rows fetcted from database without linking DataObjects, as there is no relationship information in DAS Config. So, from the above mail th

Re: Flexibility in supporting JDBC's Statement.RETURN_GENERATED_KEYS in RDB DAS (JIRA-1417)

2007-08-07 Thread Amita Vadhavkar
special > code to ensure it works "out-of-the-box" with no > special Config attribute. Thanks for persevering with > this issue. Also, thanks in advance for your patch. > > Regards, > > - Ron > > --- Amita Vadhavkar <[EMAIL PROTECTED]> wrote: > >

[DAS] Column Converter - why not to associate with ResultDescriptor?

2007-08-07 Thread Amita Vadhavkar
With JIRA-1465, ResultDescriptor can be set dynamically for DAS Commands which are created with DAS.createCommand(). Further on this, will it be helpful to associate ColumnConverter with ResultDescriptor? So, when there is no Config File, user will have a choice to use ColumnConveter on-the-fly /C

Re: [RDB DAS] Need to allow passing ResultDescriptor for dynamic Commands (Ref.JIRA-1355)

2007-08-06 Thread Amita Vadhavkar
it changes. But on the second one, the user > might not be able to know when it changes. > > The only way to overcome this problem is to leave it with JDBC metadata. > Unfortunately, Oracle JDBC Driver does not provide all necessary metadata > that DAS needs : ( > > Regards, >

Re: [VOTE] Release Tuscany Java DAS beta1 (RC3)

2007-07-30 Thread Amita Vadhavkar
Downloaded src and bin destro and tried tests, samples, checked javadoc, readmes. Looks fine to me. +1 (non-binding) Regards, Amita On 7/30/07, Luciano Resende <[EMAIL PROTECTED]> wrote: > > Please vote to release the beta1 distribution of Tuscany DAS for Java. > All the major issues reported in

Re: Flexibility in supporting JDBC's Statement.RETURN_GENERATED_KEYS in RDB DAS (JIRA-1417)

2007-07-24 Thread Amita Vadhavkar
... - Ron - Original Message From: Amita Vadhavkar <[EMAIL PROTECTED]> To: tuscany-user@ws.apache.org; [EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 8:56:36 AM Subject: Re: Flexibility in supporting JDBC's Statement.RETURN_GENERATED_KEYS in RDB DAS (JIRA-1417) Hi, Below are som

Re: Flexibility in supporting JDBC's Statement.RETURN_GENERATED_KEYS in RDB DAS (JIRA-1417)

2007-07-24 Thread Amita Vadhavkar
0/07, Luciano Resende <[EMAIL PROTECTED]> wrote: It would be great if you could force a different exception in your investigation (e.g jdbc driver supports returning the generated keys, but the call gives back a different exception), and see what is the resulted behavior of your proposal. On 7/

Re: How to do if I need the DAS and SDO to support reading and writing the BLOB or CLOB field

2007-07-19 Thread Amita Vadhavkar
Hi Folks, JIRA-1453 opened for this issue is perfectly fixing Blob and ByteArray. Clob and Array, seem to be the only remaining types where TypeHelper.getType("commonj.sdo",...) returns null. Same approach as JIRA-1453 can work the Clob , but for Array? Any hints? Can the same JIRA be used or new

Re: Tuscany DAS M2 Exception with default useGetGeneratedKeys = true

2007-07-18 Thread Amita Vadhavkar
ports this statement. However, is it legal to use this type of PreparedStatement if the corresponding table has no generated keys? > > - Ron > > - Original Message > From: Amita Vadhavkar <[EMAIL PROTECTED]> > To: tuscany-user@ws.apache.org > Sent: Tuesday, Jun

Re: [DAS] XQuery-DAS

2007-07-18 Thread Amita Vadhavkar
maven repos. It will be great if latest 8.9 saxon can appear in maven repo. Regards, Amita On 7/15/07, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: Hi, Yes, Saxon was suggested by Ant also before and it has saxon-b as freeware. Anybody please any comment on any licensing restrictions? Also I wa

Re: [DAS] XQuery-DAS

2007-07-15 Thread Amita Vadhavkar
Hi, Yes, Saxon was suggested by Ant also before and it has saxon-b as freeware. Anybody please any comment on any licensing restrictions? Also I was just giving a try to DB2 Express XQuery support. There are a couple of others listed in June 15 mail, in this same thread. Saxon will be a good choic

Re: Does DAS could support the blob field read and write ?

2007-07-13 Thread Amita Vadhavkar
-- boolean Not supported! long Not supported! float Not supported! double Not supported! ByteArray Not supported! Clob Not supported! Blob Not supported! Array Not supported! Thus for all

Re: Re: Does DAS could support the blob field read and write ?

2007-07-13 Thread Amita Vadhavkar
Hi, There is none at present, am giving it a try, will give you some update in couple of hrs. Regards, Amita On 7/13/07, litaojian <[EMAIL PROTECTED]> wrote: Hi Amita , Thanks , but where is the sample that I could find ? litaojian 2007-07-13 发件人: Amita Vadhavkar 发送时间: 2007-07-13

Re: Does DAS could support the blob field read and write ?

2007-07-13 Thread Amita Vadhavkar
Hi, DAS does show support for Blob. I am trying a small sample with MySQL -DAS to verify the same. There is also a DefaultConverter provided in DAS Impl which seems to be there for handling Blobs. Thanks, Amita On 7/13/07, litaojian <[EMAIL PROTECTED]> wrote: Hi All , I need to read or

[RDB DAS] Consistent use of Parameters in Config

2007-07-12 Thread Amita Vadhavkar
Hi, A few days ago there was a user question about passing name in Parameter:- http://www.mail-archive.com/[EMAIL PROTECTED]/msg19339.html When checking how Parameters are used in Config, came across the following points. There is a difference in Config (SDO) generated Parameter and org.apache.tu

[RDB DAS] Need to allow passing ResultDescriptor for dynamic Commands (Ref.JIRA-1355)

2007-07-12 Thread Amita Vadhavkar
Hi, Recently there came up a requirement from user (ref. JIRA-1355), when the user was attempting DAS.createCommand(sql) in Oracle. As of today, in RDB DAS, user can specify ResultDescriptor using external Config File containing Commands. But there is no provision for user to pass ResultDescriptor

Re: [DAS] Transaction support

2007-07-11 Thread Amita Vadhavkar
sue commits/rollbacks. Also, internally, RDB DAS will be responsible to rollback in case of exceptions and in case of Timeouts. Please share your thoughts. Regards, Amita On 6/12/07, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: Hi All, I just want to clarify if the below is something missi

Re: [VOTE] Release Tuscany Java DAS beta1 (RC2)

2007-07-10 Thread Amita Vadhavkar
Hi, Pease visit JIRA-1419 to find the summary of changes done to different readmes based on all the comments obtained so far. It will be very helpful if these can be reviewed from JIRA attachments and further comments given there, so that the finalilized readmes can be used in RC. Regards, Amita

Re: [VOTE] Release Tuscany Java DAS beta1 (RC2)

2007-07-10 Thread Amita Vadhavkar
Hi, Suggestions:- Note: I have created JIRA-1419 to upload files wherever I could see a few issues, mentioned below. Please review the uploads (1 hr from now) and comment RELEASE NOTES - 1) Under DAS Samples 3rd point , we say Integration with dbConfig, but in 1st point we do not name the databa

Re: New version solves "Feature 'ConnectionInfo' not found" problem

2007-07-10 Thread Amita Vadhavkar
Hi Enric, I just came across some links from PostgreSQL, relevant to the exception mentioned earlier - Exception in thread "main" *java.lang.RuntimeException*: * org.postgresql.util.PSQLException*: Returning autogenerated keys is not supported. [1]http://gborg.postgresql.org/project/pgjdbc/bug

Flexibility in supporting JDBC's Statement.RETURN_GENERATED_KEYS in RDB DAS (JIRA-1417)

2007-07-09 Thread Amita Vadhavkar
Hi, We are at present hardcoding some vendors (e.g. Oracle) in ConnectionImpl to decide whether to use autogenerated key feature in preparedStatement. This logic is subject to change as and when new features are supported by different databases and different vendors. Instead, if we have a flexibi

Re: Why the rootDataObject can't save to a xml file ?

2007-07-05 Thread Amita Vadhavkar
Hi, I have only a limited understanding about SDO and EMF, but what it looks like is - List custList = root.getList("CUSTOMER"); for(int i=0; i http://www.w3.org/2001/XMLSchema-instance"; xmlns:das="http:///org.apache.tuscany.das.rdb/das"; xmlns:whatever="whatever" xsi:type="das:CUSTOMER

Re: Tuscany DAS M2 Exception with default useGetGeneratedKeys = true

2007-06-26 Thread Amita Vadhavkar
Please check if the driver you are using is supporting connection.prepareStatement(queryString, Statement.*RETURN_GENERATED_KEYS*); Regards, Amita On 6/18/07, Ron Gavlin <[EMAIL PROTECTED]> wrote: Greetings, I am having problems inserting rows with Tuscany DAS M2 using the BEA WebLogic Sybas

Re: [DAS] Status of DAS Release

2007-06-21 Thread Amita Vadhavkar
s it has now functionality. PS: I could fix some of these issues I`ve pointed, but I don't know why I'm not being able to edit it : ( Regards, Adriano Crestani On 6/15/07, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: Hi Luciano, I tested latest from trunk and the issues discussed

Re: [SDO Java] 1.0 Release Content Review

2007-06-15 Thread Amita Vadhavkar
Hi, I am trying to go through details of JIRA 1317 and will get back here with any questions, doubts. Thanks, Amita On 6/15/07, kelvin goodson <[EMAIL PROTECTED]> wrote: The IRC chat to review the SDO release content didn't work out (I'd be interested in any feedback why that was), so here's a

Re: [DAS] Status of DAS Release

2007-06-15 Thread Amita Vadhavkar
nd the logging issue as in TUSCANY-1349. I also noticed an issue with logging in dbConfig, where we were not checking if logging was enabled and always calling log, and I have also fixed that. Please let me know if things are looking better now. On 6/14/07, Amita Vadhavkar <[EMAIL PROTECTED]> wr

  1   2   >