Build Failure: axis2 test cases failing

2006-10-06 Thread Amita Vadhavkar
Hi , I am new to Tuscany and trying to build the project for the first time. I am getting the below stack trace with 4 test cases errors. Please help in fixing the problem. --- T E S T S ---

Re: JDBC stored procedure container using DAS

2006-10-16 Thread Amita Vadhavkar
Hi, I am new to Tuscany but am interested in looking into this rightaway as I have some time. I hope to be bugging you folks soon for help as I get to understand and do this. Regards, Amita On 10/16/06, ant elder [EMAIL PROTECTED] wrote: I was reviewing the DAS user guide and reading the

Re: JDBC stored procedure container using DAS

2006-10-18 Thread Amita Vadhavkar
anywhere. If you want to keep this in our svn as you develop it open a JIRA and attach files to it and we can put them in the sandbox. ...ant On 10/16/06, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi, I am new to Tuscany but am interested in looking into this rightaway as I have some time. I

Re: JDBC stored procedure container using DAS

2006-10-19 Thread Amita Vadhavkar
important and the DAS team is ready to help. I want to make sure you have seen this discussion: http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200610.mbox/[EMAIL PROTECTED] Thanks. --Kevin Amita Vadhavkar wrote: Thanks a lot Ant. I am going through this and also have a few

Re: JDBC stored procedure container using DAS

2006-10-21 Thread Amita Vadhavkar
other way? Regards, Amita On 10/19/06, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi Kevin, Yes, I did go through that discussion. As the first step, I am trying for the stored procedure implementation. But definitely the bigger goal is the complete clean integration. Have created JIRAhttps

Question: Stored procedure support as binding in SCA

2006-10-23 Thread Amita Vadhavkar
Hi, There is a mention that database stored procedure binding is supported, in SCA Assembly model specification , page 43, section 1.5 , para 2 and some other places in the same document. Will somebody please elaborate using some sample / existing code location for it. Regards, Amita

Re: JDBC stored procedure container using DAS

2006-10-23 Thread Amita Vadhavkar
specs on this forum, as couple people here participate on the SCA spec group. - Luciano On 10/21/06, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi, I am working actively on the container part. Apart from that have developed a sample based on the discussion going on in thread http://www.mail

Re: Declarative DAS, was Re: Modeling the RDB DAS in SCA

2006-11-02 Thread Amita Vadhavkar
\samples\dasService das\samples.companyWeb.service or, more like BigBank das\samples\companyweb.Service\dasService das\samples\companyweb.Service\webClient Or even in sampleApps... Toughts ? On 10/21/06, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi

Re: Declarative DAS, was Re: Modeling the RDB DAS in SCA

2006-11-06 Thread Amita Vadhavkar
with this? Also please let me know if we can have an IRC chat to discuss this in more details and see how we can work together on this by splitting the work items etc. Regards, Amita On 11/3/06, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi, I am trying to create a container for DAS-SCA too (not just

Re: JDBC stored procedure container using DAS

2006-11-06 Thread Amita Vadhavkar
Hi , I have attached code jar and doc today to https://issues.apache.org/jira/browse/TUSCANY-898 Here I am trying to follow the approach of implementing SCA container for DAS. Please go through same and provide feedback. Regards, Amita On 10/23/06, Amita Vadhavkar [EMAIL PROTECTED] wrote: Yes

Re: JDBC stored procedure container using DAS

2006-11-07 Thread Amita Vadhavkar
was planning to introduce a sample das service and a client using - https://issues.apache.org/jira/browse/TUSCANY-898 Do you want to post your patches back to Tuscany-876 ? - Luciano On 11/6/06, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi , I have attached code jar and doc today

Re: Declarative DAS, was Re: Modeling the RDB DAS in SCA

2006-11-07 Thread Amita Vadhavkar
with Luciano for a convenient date/time when we can chat, would be great if you can also join. I am in IST timezone. Regards, Amita On 11/6/06, Kevin Williams [EMAIL PROTECTED] wrote: Hi Amita, This is looking good. Some comments inline: Amita Vadhavkar wrote: Hi, I am trying to create a container

Re: Declarative DAS, was Re: Modeling the RDB DAS in SCA

2006-11-08 Thread Amita Vadhavkar
think about that later. I does seem like you and Luciano should team up on this. Thanks! -- Kevin Amita Vadhavkar wrote: Hi Kevin, Thanks a lot for the comments. I have posted the code and doc on JIRA-904 for the container work. Also, am most likely missing something in the database

Re: DAS Container - First part ready for review....

2006-11-15 Thread Amita Vadhavkar
Hi Luciano, I had done a few changes and will be attaching the working code to JIRA in next couple of hours. Just wanted to update you for same and will start looking at the test case development after that. (Please note, for the basic testing to check that the code is working, I have still kept

Re: DAS Container - First part ready for review....

2006-11-21 Thread Amita Vadhavkar
Hi Luciano, I have made the web app and the das container combination working. There were some class cast etc. problems in orginal code. Now the jsp is showcasing a working SELECT through getAllCompanies(). This work is attached to JIRA-904. Please check it. I can modify it to showcase all CRUD +

Re: What's next for Tuscany DAS ?

2006-11-22 Thread Amita Vadhavkar
Hi, I am trying to understand DAS for last couple of weeks and thought that below may be helpful to make DAS more generic. 1) Oracle database support? - Are we not going to consider this 2) Support for working with J2SE - connection support - this way standalone applications can also benefit

Re: DAS Container - First part ready for review....

2006-11-22 Thread Amita Vadhavkar
files to check what you have modified also, you can be in sync with what I'm doing by calling svn updates - Luciano On 11/20/06, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi Luciano, I have made the web app and the das container combination working. There were some class cast etc

Re: [DAS]Approach for JIRA-948

2006-12-07 Thread Amita Vadhavkar
to have a way to encrypt/decrypt the field. Thanks, Brent On 12/6/06, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi Kevin, Luciano and All, I tried to implement support for DAS config connection for J2SE env. Please see the attachment for what changes are done. Tried to modify

[DAS]OutOfMemory when running 11 test cases through mvn

2006-12-14 Thread Amita Vadhavkar
Hi All, When running a J2SE client test cases through Eclipse, there are no errors, but running same through mvn, with set MAVEN_OPTS=-Xmx1500m in mvn.bat (maximum possible), get OutOfMemory for 12th onwards test cases. When these failing test cases are run separately in mvn, there is no memory

[DAS]Help - OutOfMemory when running 11 test cases through mvn

2006-12-17 Thread Amita Vadhavkar
Hi All, When running a J2SE DAS client test cases through Eclipse, there are no errors, but running same through mvn, with set MAVEN_OPTS=-Xmx1500m in mvn.bat (maximum possible), get OutOfMemory for 12th onwards test cases. When these failing test cases are run separately in mvn, there is no

Re: [DAS]Approach for JIRA-948

2006-12-20 Thread Amita Vadhavkar
Hi, Have got the code changes working for Derby and testing for DB2 and MySQL. config.xsd will have xsd:complexType name=ConnectionInfo xsd:sequence xsd:element maxOccurs=1 minOccurs=0 name=ConnectionProperties type=config:ConnectionProperties/ /xsd:sequence

[DAS] Getting exception in AllTestsDB2 - Unable to load T2 native library.

2006-12-21 Thread Amita Vadhavkar
Hi, I am getting below exception when running AllTestsDB2. I have DB2 UDB 8.1.x and have db2jcc.jar from my DB2Home\java in the classpath for the project. Any clue? com.ibm.db2.jcc.b.SQLException: Unable to load T2 native library. Type 2 JDBC architecture is not yet supported by the IBM DB2 JDBC

Re: [DAS]Approach for JIRA-948

2007-01-08 Thread Amita Vadhavkar
(queryString); } I'm still looking into the patch, and will let you know if I have further questions -- Luciano Resende http://people.apache.org/~lresende On 1/5/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi All, Please check the attachments to JIRA-948 on 5th Jan (it includes code changes in rdb

Re: [DAS]Approach for JIRA-948

2007-01-10 Thread Amita Vadhavkar
, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi All, Please check the attachments to JIRA-948 on 5th Jan (it includes code changes in rdb-das and a sample to test the same). Please let me know your feedback. Also, the sample tests for new config xsd element introduced for all the 3

Re: [DAS]Approach for JIRA-948

2007-01-19 Thread Amita Vadhavkar
Hi All, Please see the latest patch on Jan 18 and associated Note and give your comments about changes, corrections etc. Regards, Amita On 1/10/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi, Regarding the ecryption util, am trying for a clean new util. For JNDI context provider - used

DAS - JIRA-952 - multiple database schema support

2007-02-09 Thread Amita Vadhavkar
Hi All, Please see the below details for DAS JIRA-952 - mutliple schema support. I have made an attempt to analyze a scenario and change code and test with basic set of test cases. Details as below. Please give me your feedback. If below is what is expected out of this JIRA, please let me know

[DAS] Tuscany-863 - create/init of canned DB if not already present

2007-02-20 Thread Amita Vadhavkar
Hi All, Below is the link for the JIRA- https://issues.apache.org/jira/browse/TUSCANY-863 Using servlet init params, we can expand the current sample (companyweb) to use different DAS config xmls for demonstrating different DAS features. Any thoughts? Regards, Amita

[DAS] Questions regarding some details of DAS features

2007-02-21 Thread Amita Vadhavkar
Hi All, When going through DAS code and documentation, I had a couple of questions , as listed below. It will really be helpful to get more detail information for same. 1) what conventions are followed in OCC? - This was listed in the guide that OCC is going to follow some config convention. 2)

Re: [DAS] Questions regarding some details of DAS features

2007-02-21 Thread Amita Vadhavkar
appearing in call xyz command is fully qualified (i.e. prepended with some schema name). In this case we do not need schemaName attribute in Command. What is your advise? Regards, Amita On 2/22/07, Kevin Williams [EMAIL PROTECTED] wrote: Hi Amita, Comments in line ... Amita Vadhavkar wrote

Re: [DAS] Tuscany-863 - create/init of canned DB if not already present

2007-02-23 Thread Amita Vadhavkar
/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi All, Below is the link for the JIRA- https://issues.apache.org/jira/browse/TUSCANY-863 Using servlet init params, we can expand the current sample (companyweb) to use different DAS config xmls for demonstrating different DAS features. Any

[SDO] Question:Support for xpath expression to get batch of DOs

2007-02-27 Thread Amita Vadhavkar
Hi All, In the current SDO, the support is provided for do.getDataObject(xpath) and rootDo.getList(property) But there is no way to get multiple DOs from evaluating xpath. i.e. expression like rootDo.getDataObject(customer[name='patrick']) returns the first matching row and not all matching

[DAS] Test case : TopDown.testUserProvidedModelDynamic: is failing

2007-03-01 Thread Amita Vadhavkar
Fresh DAS build has the following test case failure: Tests run: 154, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 39.006 sec FAILURE! testUserProvidedModelDynamic(org.apache.tuscany.das.rdb.test.TopDown) Time elap sed: 0.06 sec ERROR! java.lang.NullPointerException at

Re: [SDO] Question:Support for xpath expression to get batch of DOs

2007-03-01 Thread Amita Vadhavkar
you'd like to get involved with? Best Regards, Kelvin. On 27/02/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi All, In the current SDO, the support is provided for do.getDataObject(xpath) and rootDo.getList(property) But there is no way to get multiple DOs from evaluating xpath. i.e

[DAS] JIRA-841 relationship test for compound FK

2007-03-07 Thread Amita Vadhavkar
Hi All, Title: There are no tests in the current suite that exercise relationships formed by compound keys. We need to add this for completeness Ref: IN RDB DAS User Guide - WorkingWithCompoundKeys section - It is explicitly stated that JIRA-841 is for demonstrating relationship with compound

[DAS] Ajax DAS Web Sample

2007-03-22 Thread Amita Vadhavkar
Hi All, JIRA-800 is created for supporting use of Ajax to create web sample. With this approach, it will be easy to modify the sample to add new features. Many features like OCC, Column Converter, Compound Key Relationship can be added Also HTMLUnit testing can be used. Also, auto

Re: DAS Integration Tests using Tomcat

2007-03-25 Thread Amita Vadhavkar
How about TC 6.0.10? I have TC 5.5.20 where I was running all tests so far. Regards, Amita On 3/24/07, Luciano Resende [EMAIL PROTECTED] wrote: I was playing with the Tomcat integration tests and the latests TC releases. I was thinking about moving it to latest TC5 release (5.5.23). Any

Re: [DAS Java] created SDO graph doubt

2007-04-04 Thread Amita Vadhavkar
Hi Adriano, Let me show what I got so far: Below is the debug dump and the relevant portion of the logic will be in ResultSetProcessor and ResultSetRow. Based on it, it is seen that the parent/s attributes and data is not added. Please let me know if you are looking for something more/different.

DAS] Are we assuming table undergoing update should have at least one PK?Or is this a bug?

2007-04-04 Thread Amita Vadhavkar
Hi All, UpdateGenerator.getUpdateCommand() - Here the logic to form update statement is such that for forming WHERE CLAUSE, it first iterates over PKs and then the columns which are undergoing changes. In case where, update is occurring on a table row which does not have a PK, the statement

[DAS] Erroneous behavior when PK's value is updated using applyChanges()

2007-04-04 Thread Amita Vadhavkar
Hi All, In addition to the problem mentioned in below link, http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg16304.html Found one more issue when tried to have a PK on the same table OrderDetails{ORDER_ID, PRODUCT_ID, PRICE} , PK - ORDER_ID And update is attempted to update ORDER_ID to

Re: [DAS] Automatically Creating sample canned databases

2007-04-11 Thread Amita Vadhavkar
Hi Luciano, Yes, I am making a util jar for that. Please check all the below details and let me know yout suggestions. Trying to reuse part of DAS config.xsd's (ConnectionInfo portion ) to supply the connection params and adding a new element to xsd to list database table names that need to be

[DAS] problem in getting SDO DataGraph serialized

2007-04-19 Thread Amita Vadhavkar
Hi All, I am facing a problem of getting garbage chars in the serialized output. Say I have a method as below private String xmlizeContent(DataGraph graph) throws Exception{ ByteArrayOutputStream out = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream(out);

Re: DAS M3 Release

2007-04-20 Thread Amita Vadhavkar
/confluence/display/TUSCANY/Features+for+Java+DAS+M3+Release Adriano Crestani On 4/17/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi All, I have worked on a couple of jiras, and planning to analyze more JIRAs soon.So far the JIRAs I have worked on are as below:- TUSCANY-800 - Ajax

Re: [DAS] Unit Tests as samples, was Fwd: [jira] Commented: (TUSCANY-952) DAS must support queries that reference tables in different schemas

2007-04-27 Thread Amita Vadhavkar
and tested. How do you plan to automate the tests around this, if you use a J2SE sample instead of JUnit ? How difficult would be to extend the current unit tests database framework to support the TUSCANY-952 requirements? -- Forwarded message -- From: Amita Vadhavkar (JIRA) tuscany-dev

Re: [DAS] Unit Tests as samples, was Fwd: [jira] Commented: (TUSCANY-952) DAS must support queries that reference tables in different schemas

2007-04-27 Thread Amita Vadhavkar
know if there is a solution. Regards, Amita On 4/27/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi, I have submitted 2 patches on 26th Apr. One is the rdb - das and other for DB2 sample. The readme in the sample can be reviewed to check completeness of test cases. I am working on changing

Re: DAS M3 Release

2007-04-27 Thread Amita Vadhavkar
? Regards, Amita On 4/20/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi, I have introduced a new section in the wiki page for JIRAs which are under review (patch available) and are just a couple of days away from getting into trunk. I will modify the wiki page ones these are committed. The 2 JIRAs

Re: DAS - relationship with composite keys

2007-04-27 Thread Amita Vadhavkar
I am not sure if I am interpreting the question correct, but please see below findings. I guess the relationship is considered for the key part present in select. e.g. if you look at the current CompoundKeyRelationshipTests in java rdb das, Data: - protected static Object[][]

Re: DAS M3 Release

2007-04-30 Thread Amita Vadhavkar
comments inline... Could we also start summarizing this on the release page : http://cwiki.apache.org/confluence/display/TUSCANY/RDB+DAS+-+Java+DAS+M3+Release On 4/27/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi All, I was going through http://wiki.apache.org/ws/Tuscany

[Maven] Heap memory error - Help wanted! Maven experts!

2007-05-01 Thread Amita Vadhavkar
Hi , When I add any new test cases to DAS Unit Tests, I get the below error testMultiSchemaCase14(org.apache.tuscany.das.rdb.test.MultiSchemaTests) Time el apsed: 1.382 sec ERROR! java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space My MVN_OPTS are as

[DAS] htmlunit ajax das web sampe

2007-05-03 Thread Amita Vadhavkar
Hi, Below are 2 test cases - for Ajax DAS Web Sample 1) check initial content of page 2) check result of adhoc select statement Will have similar test cases as below- 3) for testAllCompaniesAndDepartmentsCommand() //for test select using DAS config command 4) insert - using adhoc 5) delete -

Re: DAS M3 Release

2007-05-11 Thread Amita Vadhavkar
(See Capabilities In Use) Please check and give comments. Regards, Amita On 4/17/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi All, I have worked on a couple of jiras, and planning to analyze more JIRAs soon.So far the JIRAs I have worked on are as below:- TUSCANY-800 - Ajax DAS - patch

IRC for DAS release - May15th , 8.00 a.m. PST

2007-05-14 Thread Amita Vadhavkar
Hi, Regarding DAS release , we need to know where we are and what is still left. So it will be really helpful if we can talk in IRC at the proposed time. See you there. Regards, Amita

Re: Tuscany DAS Features/Questions

2007-05-15 Thread Amita Vadhavkar
It will be interesting to get these features into DAS using JIRAs. I am just trying to get a clear picture of what all details these features can consist. 1. This can be support for explicit as well as SDO-integrated inserts/updates 2. a. Here validations can be based on Database provided Meta

Re: DAS M3 Release

2007-05-15 Thread Amita Vadhavkar
-archive.com/tuscany-dev@ws.apache.org/msg16628.html what did you do here? 14) http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg09612.html what was this? Regards, Amita On 5/11/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi, I have made a few changes to http://cwiki.apache.org/confluence

DAS Release: IRC chat log 15 May 2007

2007-05-15 Thread Amita Vadhavkar
Start of #tuscany buffer: Tue May 15 21:35:03 2007 * Now talking in #tuscany * adrianocrestani has joined #tuscany adrianocrestani hi lresende hi * Venkat has joined #tuscany kgoodson hi lresende Amita wanted to discuss the status of the das release, and i think this would be good exercise to

Re: DAS M3 Release

2007-05-20 Thread Amita Vadhavkar
, is there any other new feature or bug to be implemented for this release? Adriano Crestani On 5/15/07, Luciano Resende [EMAIL PROTECTED] wrote: I have committed the initial part of TUSCANY-863 under revision 538267.** On 5/15/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi All, Points I gathered

Re: DAS M3 Release

2007-05-23 Thread Amita Vadhavkar
review.) On 5/21/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi Adriano, It is still work-in-progress. Main changes I did are 1) use simple connection pool on Test Cases framework 2) use finalize() in RDB DAS code 3) Do cleanup (removing references) as needed 4) Decouple DatabaseSetup

Re: Tuscany DAS Features/Questions

2007-05-23 Thread Amita Vadhavkar
Hi Folks, Can I create JIRAs for these and mark them for DAS Mx, just to have a pointer to come back to these features? Regards, Amita On 5/15/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: It will be interesting to get these features into DAS using JIRAs. I am just trying to get a clear picture

companyweb and dbconfig integration

2007-05-24 Thread Amita Vadhavkar
Hello Luciano, In the companyweb integration with dbconfig - update and delete was not working for the below reason:- The config for dbconfig util had 1Table name=DEPARTMENT SQLCreate=CREATE TABLE DEPARTMENT (ID INT PRIMARY KEY NOT NULL GENERATED ALWAYS AS IDENTITY, NAME VARCHAR(30),LOCATION

Re: companyweb and dbconfig integration

2007-05-24 Thread Amita Vadhavkar
the batch support on next release. What do you think? Adriano Crestani On 5/24/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hello Luciano, In the companyweb integration with dbconfig - update and delete was not working for the below reason:- The config for dbconfig util had 1Table name

Re: companyweb and dbconfig integration

2007-05-28 Thread Amita Vadhavkar
for departments rather than using the generated value for a company. Is there somewhere else where foreign key assignments are handled? Brent On 5/24/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hello Luciano, In the companyweb integration with dbconfig - update and delete was not working for the below

Re: companyweb and dbconfig integration

2007-05-28 Thread Amita Vadhavkar
Oops, I did not see JIRA-1300 before, we can delete JIRA-1304 and continue with JIRA-1300 or otherwise. On 5/28/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Yes, what I meant is simply multiple updates on same table in one transaction

Re: DAS M3 Release

2007-05-28 Thread Amita Vadhavkar
Hi , FAQs in place, please check and give comments/add to it http://cwiki.apache.org/confluence/display/TUSCANY/RDB+DAS+Java+-+FAQ Regards, Amita On 5/23/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi, Please take a look at the section Ongoing work items on page http://cwiki.apache.org

Re: DAS M3 Release - Documentation

2007-06-01 Thread Amita Vadhavkar
setup pieces in the sample and what the purpose for each step is? Just a thought.. [1] http://cwiki.apache.org/confluence/display/TUSCANY/Starting+with+DAS On 5/29/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi, I have recently added FAQs and also a couple of new sections in http

Re: DAS M3 Release

2007-06-04 Thread Amita Vadhavkar
, Amita On 5/28/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi , FAQs in place, please check and give comments/add to it http://cwiki.apache.org/confluence/display/TUSCANY/RDB+DAS+Java+-+FAQ Regards, Amita On 5/23/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi, Please take a look

Re: [DAS] Status of DAS Release

2007-06-11 Thread Amita Vadhavkar
Hi All, When tried mvn -Pdistribution on das:- das\distribution\binary\pom.xml - does not list ajax web sample under dependency and thus does not package same As now, non-committer does not have access to edit wiki, I have created JIRA-TUSCANY-1335 for all the pending updates for DAS I was

[DAS] Transaction support

2007-06-12 Thread Amita Vadhavkar
Hi All, I just want to clarify if the below is something missing in DAS or just that I have not understood it clearly. Appreciate your response. At present, DAS has managedtx attribute at ConnectionInfo level(default true). So when true or not specificed, each Command does a database commit.

Re: [DAS] TUSCANY-866: Default OCC policy

2007-06-13 Thread Amita Vadhavkar
Please let me know what is there in code base at present/in-progress for OCC recovery? Will you please elaborate the approach and if there is any item I can pick up for next release? Regards, Amita On 10/18/06, Brent Daniel [EMAIL PROTECTED] wrote: I've been working on some function to

Re: [DAS] Status of DAS Release

2007-06-13 Thread Amita Vadhavkar
-incubating.jar? Regards, Amita On 6/11/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi All, When tried mvn -Pdistribution on das:- das\distribution\binary\pom.xml - does not list ajax web sample under dependency and thus does not package same As now, non-committer does not have access to edit wiki

Re: [DAS] Status of DAS Release

2007-06-15 Thread Amita Vadhavkar
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] wrote: Small update

Re: [DAS] XQuery-DAS

2007-06-15 Thread Amita Vadhavkar
to keep a XQuery DAS page on the Wiki and keep updating it with requirements, discussions and design we are taking... [1] - https://svn.apache.org/repos/asf/incubator/tuscany/sandbox/lresende/das/ [2] - http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg14428.html On 3/26/07, Amita Vadhavkar

[Tuscany SDO] JIRA-1317 - questions/doubts

2007-06-19 Thread Amita Vadhavkar
Hi, In attempt to analyze JIRA-1317, I had some questions and would like to get some points clear. 1)Tuscany xmlHelperImpl have load() method where options can be passed in. Why save() methods with XMLDocument only have options supported and not for save() methods with DataObject? 2)Why

Re: [Tuscany SDO] JIRA-1317 - questions/doubts

2007-06-21 Thread Amita Vadhavkar
} */ final String XML_LOAD_SCHEMA = ProcessSchemaLocations; /** * To tolerate malformed elements and attributes (default unless set by System property XML.load.form.lax). 0 not to. */ final String XML_LOAD_LAX_FORM = load malform; Regards, Amita On 6/19/07, Amita Vadhavkar

Re: [DAS] XQuery-DAS

2007-06-21 Thread Amita Vadhavkar
Hoping to make XQuery DAS useful to the community as an alternative to other DAS flavours. Regards, Amita On 6/15/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi All, After a while on RDB DAS beta1 , I am trying to do more

Re: [Tuscany SDO] JIRA-1317 - questions/doubts

2007-06-21 Thread Amita Vadhavkar
Hi, I got the below mapping between Tuscany's XMLOptions and emf XMLResource Options Is this what is intended to be passed to in load method, i.e. is it expected to have this mapping and pass appropriate options set to the doLoad()? Also, we have multiple options for line formatting whereas there

Re: [Tuscany SDO] JIRA-1317 - questions/doubts

2007-06-22 Thread Amita Vadhavkar
point of view because it's using EMF API not SDO's. From a SDO user point of view, he/she should not need to import any EMF packages in his/her SDO program. Fuhwei Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi, I got the below mapping between Tuscany's XMLOptions and emf XMLResource Options

Re: [Tuscany SDO] JIRA-1317 - questions/doubts

2007-06-25 Thread Amita Vadhavkar
] wrote: Since the word feature is an EMF term (in SDO it's called property) I would recommend changing the name of the new option in Tuscany. Something like XMLOptions.XML_LOAD_UNKNOWN_PROPERTIES would be a good name. Frank. Amita Vadhavkar [EMAIL PROTECTED] wrote on 06/22/2007 09:33:22 AM: Hello

Re: [Tuscany SDO] JIRA-1317 - questions/doubts

2007-06-26 Thread Amita Vadhavkar
(), else for if(options != null) is never executed(checked all test cases, that this path is never taken), as in DataObjectUtil.configureXMLResource(), some default options are always set. So, what is the purpose of having this code? Regards, Amita On 6/25/07, Amita Vadhavkar [EMAIL PROTECTED

Re: DAS Beta1 distros

2007-06-27 Thread Amita Vadhavkar
Hi Luciano, There were issues regarding url specified in the sample-ajax-das, Createda JIRA for this (JIRA-1390) and uploaded patch. Regards, Amita On 6/27/07, Luciano Resende [EMAIL PROTECTED] wrote: Thanks Ant I have just added RELEASE_NOTES and BUILDING files and I'm refreshing the

Re: Why the parameter has no name element ?

2007-06-27 Thread Amita Vadhavkar
Hi, RDB DAS uses java.sql.PreparedStatement at the end to issue any SQL to RDBMS. In PreparedStatement, there is support for setXXX(index, value) and not setXXX(name, value), so the sequence of parameters is what is matched when setting params. This is the reason why in RDB DAS Config, there is

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

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

2007-07-10 Thread Amita Vadhavkar
or not generated keys. On 7/9/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: 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

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

2007-07-10 Thread Amita Vadhavkar
I somehow missed tuscany-dev in last reply... On 7/10/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: 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

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

2007-07-11 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: [DAS] Transaction support

2007-07-12 Thread Amita Vadhavkar
on business logic and issue 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

[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

[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/tuscany-dev@ws.apache.org/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

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

2007-07-13 Thread Amita Vadhavkar
://issues.apache.org/jira/browse/TUSCANY-658 On 7/12/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi, A few days ago there was a user question about passing name in Parameter:- http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg19339.html When checking how Parameters are used in Config, came

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

2007-07-13 Thread Amita Vadhavkar
, Amita Vadhavkar [EMAIL PROTECTED] wrote: 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

Re: DAS Programming model for multiple implementations Fwd: [jira] Updated: (TUSCANY-1431) DAS with XQuery based data access support

2007-07-16 Thread Amita Vadhavkar
] ? Have you looked at the implications of these changes on other DAS implementations, such as LDAP DAS ? [1] http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg14428.html -- Forwarded message -- From: Amita Vadhavkar (JIRA) tuscany-dev@ws.apache.org Date: Jul 15, 2007 10:56

[RDB DAS] Wrong Query Result when SELECT misses PKs

2007-07-18 Thread Amita Vadhavkar
Sorry for the leng thy mail Tried to check the case when the database has parent-child tables and DAS SELECT Command may/may not contain the PKs of the tables. And found some quite confusing cases/results, which are effectively giving user a wrong impression of the data in tables. Looks

Re: [DAS] XQuery-DAS

2007-07-18 Thread Amita Vadhavkar
in 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 was just

Re: Tuscany DAS M2 Exception with default useGetGeneratedKeys = true

2007-07-19 Thread Amita Vadhavkar
if the corresponding table has no generated keys? - Ron - Original Message From: Amita Vadhavkar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 26, 2007 7:51:12 AM Subject: Re: Tuscany DA S M2 Exception with default useGetGeneratedKeys = true Please check if the driver you

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

[RDB DAS] Solution:sample-ajax-das failing due to SDO-XMLHelpe.save() changes

2007-07-19 Thread Amita Vadhavkar
There is some change in SDO around XMLHelper.save(DO, uri, elementname) - I could not locate which SDO JIRA it is, but due to this, when the query result from DAS are saved into String using XMLHelper.save() - all ones that used to be attributes are now elements. e.g. OLD: ?xml version='1.0'

Re: [DAS] DAS SDO

2007-07-20 Thread Amita Vadhavkar
Hi, I have started checking the details and will consolidate my findings here. Regards, Amita On 7/20/07, Luciano Resende [EMAIL PROTECTED] wrote: Hey Kelvin gave as some head's up of upcoming changes that might affect DAS [1] and [2] (Thanks Kelvin). I think there is also a JIRA

Re: [Java SDO, DAS and SCA] alteration to unreleased API

2007-07-20 Thread Amita Vadhavkar
As in tuscany-sdo-impl - SDOHelperImpl.createType(HelperContext,...) returns null if the type is already created before, result of is null for all 2nd and later calls to createType(). Also, there is no getType(HelperContext,...) in (lib)SDOHelper, (lib)SDOUtil and (impl)SDOHelperImpl, which can

Re: Website ACL

2007-07-23 Thread Amita Vadhavkar
I'd like write access please. I have a CLA in place. Thank you. Amita On 7/18/07, Venkata Krishnan [EMAIL PROTECTED] wrote: Thank you, Ant. On 7/18/07, ant elder [EMAIL PROTECTED] wrote: This is now in place and changes to the Tuscany cwiki now have emails sent to tuscany-commits

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

2007-07-24 Thread Amita Vadhavkar
proposal. On 7/10/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: That is right, I will also give it a try with some known rdbms dirvers, versions and list the results in JIRA-1417, and we will also analyze further for alternatives. I also, saw some relevant links related to JIRA-1416 (PostgreSQL

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

2007-07-25 Thread Amita Vadhavkar
Message From: Amita Vadhavkar [EMAIL PROTECTED] To: [EMAIL PROTECTED]; tuscany-dev@ws.apache.org 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 some details about the solution for JIRA-1353

[SDO RDB DAS] Problems in using new SDO APIs

2007-07-26 Thread Amita Vadhavkar
Hi, Current RDB DAS(deprecated SDO), by using, SDOUtil.createTypeHelper(); is creating new TypeHelper instance for each SELECT query (GraphBuilderMetadata()). But this way we end up in creating many TypeHelpers.

  1   2   3   4   5   >