Re: [RDB DAS] Wrong Query Result when SELECT misses PKs

2007-08-02 Thread Amita Vadhavkar
There is a bit of confusion around the RecursiveTests.testReadEngineParts() , in the context of this fix. Below is the data for tables, queries etc. sql return:- *1 Engine 1 - 2 Block 1 1 - - - - *1 Engine 1 - 3 Cam Soft 2

[jira] Commented: (TUSCANY-1464) Wrong query results when SELECT misses PKs

2007-08-02 Thread Amita Vadhavkar (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517158 ] Amita Vadhavkar commented on TUSCANY-1464: -- 1 - On method ResultMetadata.getAllPKsForTable(String

[jira] Commented: (TUSCANY-1464) Wrong query results when SELECT misses PKs

2007-08-02 Thread Adriano Crestani (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517162 ] Adriano Crestani commented on TUSCANY-1464: --- 1- OK 2 - commented on ML 3- As ID column being considered

Re: [RDB DAS] Wrong Query Result when SELECT misses PKs

2007-08-02 Thread Adriano Crestani
Yes, I think it should fail, once DAS shouldn't omit a data from the user. Cause, if the pk has null pk, it means it doesn't have an id and cannot be guaranteed its uniqueness. I think maybe DAS should not throw the exception, but needs to warn the user when any row is omitted, however I don't

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

2007-08-02 Thread Amita Vadhavkar
JPQL, Hibernate ,... have support for named parameters. Why is RDB DAS going in the other way? If there is a reason for switching off named parameters, please elaborate, else is it OK to go for JIRA-1462? Regards, Amita On 7/13/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: I went through [1]

[jira] Commented: (TUSCANY-1397) createDataObject() throws NPE if property does not exist

2007-08-02 Thread Andy Grove (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517178 ] Andy Grove commented on TUSCANY-1397: - We discussed this issue in last week's SDO spec. call and decided that

Re: [jira] Closed: (TUSCANY-1053) Use a Tuscany namespace for all non-spec'd Tuscany extensions

2007-08-02 Thread Mike Edwards
Folks, I agree with Simon's comment - this resolution violates the SCA spec. You are not supposed to go adding stuff to the SCA namespace that is not approved by the SCA spec process. In particular, no additions to the sca.xsd or sca-core.xsd are allowed. Yours, Mike. ant elder (JIRA)

Build failure in binding-ejb

2007-08-02 Thread Simon Nash
The latest Java SCA trunk doesn't build from a clean checkout because of a failure building binding-ejb (a NoClassDefFoundError for org/objectweb/asm/Type). This was puzzling because there are no recent changes to binding-ejb. With a vital clue from Ant, I traced the problem to the recent

Re: Patch for TUSCANY-1397

2007-08-02 Thread Adriano Crestani
I may commit it till the eod if nobody has no objection ; ) Adriano Crestani On 8/2/07, Andy Grove [EMAIL PROTECTED] wrote: I've submitted a patch for TUSCANY-1397 and I'd like someone to review this before I apply it since it is my first patch to the Tuscany SDO implementation (I've only

[jira] Created: (TUSCANY-1504) getSequence() returns null with a complexType defined without mixed=true

2007-08-02 Thread Matthew Schultz (JIRA)
getSequence() returns null with a complexType defined without mixed=true -- Key: TUSCANY-1504 URL: https://issues.apache.org/jira/browse/TUSCANY-1504 Project: Tuscany

[jira] Issue Comment Edited: (TUSCANY-1504) getSequence() returns null with a complexType defined without mixed=true

2007-08-02 Thread Matthew Schultz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517286 ] Matthew Schultz edited comment on TUSCANY-1504 at 8/2/07 8:07 AM: -- Here's an

[jira] Updated: (TUSCANY-1504) getSequence() returns null with a complexType defined without mixed=true

2007-08-02 Thread Matthew Schultz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthew Schultz updated TUSCANY-1504: - Attachment: letter.xsd Here's an example xsd. If you try to run getSequence on the

Re: [jira] Closed: (TUSCANY-1053) Use a Tuscany namespace for all non-spec'd Tuscany extensions

2007-08-02 Thread Luciano Resende
I have reopened the JIRA and will give it a try... On 8/2/07, Mike Edwards [EMAIL PROTECTED] wrote: Folks, I agree with Simon's comment - this resolution violates the SCA spec. You are not supposed to go adding stuff to the SCA namespace that is not approved by the SCA spec process. In

[jira] Reopened: (TUSCANY-1053) Use a Tuscany namespace for all non-spec'd Tuscany extensions

2007-08-02 Thread Luciano Resende (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luciano Resende reopened TUSCANY-1053: -- Assignee: Luciano Resende (was: ant elder) Reopening per latest discussion

[jira] Updated: (TUSCANY-1347) IndexOutOfBoundsException thrown when trying to locate a service that includes a callback

2007-08-02 Thread Paul Golick (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Golick updated TUSCANY-1347: - Attachment: (was: sca_itest_echoService.jar) IndexOutOfBoundsException thrown when trying

[jira] Updated: (TUSCANY-1347) IndexOutOfBoundsException thrown when trying to locate a service that includes a callback

2007-08-02 Thread Paul Golick (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Golick updated TUSCANY-1347: - Attachment: sca_itest_echoService.jar The attached version of the test case code has been

[jira] Resolved: (TUSCANY-1492) Support implemental class not only interface when get a service

2007-08-02 Thread Raymond Feng (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raymond Feng resolved TUSCANY-1492. --- Resolution: Fixed Patch applied. Thank you so much. Support implemental class not only

Re: Build failure in binding-ejb

2007-08-02 Thread Raymond Feng
Hi, Simon. It's strange. I ran a full build and it didn't hit the problem? I aslo didn't see a failure report from continuum. It seems to be a bit random. BTW, what's the difference between cglib.jar and cglib-nodep.jar? If cglib-nodep helps, I'm happy to fix it. Thanks, Raymond -

Reference EJB Binding problem

2007-08-02 Thread Vamsavardhana Reddy
Hi, I have modified the Calculator sample to use an EJB binding for addService. I have deployed an AddService bean in Geronimo 2.0-SNAPSHOT Tomcat server. I am using an EmbeddedSCADomain to run the sample. I am facing a strange problem. When I run the sample in J2SE environment (I actually

Re: Java SDO failing on tests

2007-08-02 Thread Adriano Crestani
JDK version: java version 1.6.0_02 Java(TM) SE Runtime Environment (build 1.6.0_02-b06) Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing) maven version: 2.0.7 and probably the latest sdo code, downloaded 4 hours ago from /tuscany/java/sdo/ Regards, Adriano Crestani On

Re: Build failure in binding-ejb

2007-08-02 Thread Simon Nash
cglib-nodep is a jar containing all the dependencies of cglib, including asm. cglib is a jar that does not include these dependencies. In all the other places in Tuscany where cglib is used, the dependency is always on cglib-nodep, not on cglib. Simon Raymond Feng wrote: Hi, Simon. It's

Re: Patch for TUSCANY-1397

2007-08-02 Thread Fuhwei Lwo
I think the patch is based on an older version of DataObjectUtil.java. Can you create a new patch? Thanks. Adriano Crestani [EMAIL PROTECTED] wrote: I may commit it till the eod if nobody has no objection ; ) Adriano Crestani On 8/2/07, Andy Grove wrote: I've submitted a patch for

[jira] Updated: (TUSCANY-1505) Naming scheme used for variables in code gen factory init() method breaks under specific circumstances

2007-08-02 Thread David T. Adcox (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David T. Adcox updated TUSCANY-1505: Attachment: test1505.zip Attached is a zip with test materials that will reproduce the

Re: Reference EJB Binding problem

2007-08-02 Thread ant elder
I suspect a something somewhere is using the wrong class loader, but its hard to tell precisely where without being able to debug by stepping through the code. Any chance you could make your code available somewhere (a zip file in a jira or anywhere?) so we can try it? ...ant On 8/2/07,

0.91 Memory Footprint

2007-08-02 Thread scyip12
We recently migrated our version of Tuscany from M2 to 0.91, and we noticed that the memory consumption seems to have increased by quite a bit. When doing memory profiling, the culprit appeared to be classes related to Xerces DOM (DeferredElementNSImpl, several other schema element related

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

2007-08-02 Thread Kevin Williams
I ran the ComanyWeb and Ajax samples on OS X/Tomcat 6 and both ran fine. I think the Ajax example could be changed a bit to be more intuitive. For example, it is not clear what is happening with the OCC example. The Adhoc query example looks good but the Converter exercise is confusing; mainly

[jira] Commented: (TUSCANY-1492) Support implemental class not only interface when get a service

2007-08-02 Thread wangfeng (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517421 ] wangfeng commented on TUSCANY-1492: --- Thank Raymond for applying the patch. Support implemental class not only

Re: Java SDO failing on tests

2007-08-02 Thread Adriano Crestani
java version 1.5.0_12 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04) Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode, sharing) the same result, failing on the same tests :( Adriano Crestani On 8/2/07, Luciano Resende [EMAIL PROTECTED] wrote: Hi Adriano

Re: [jira] Closed: (TUSCANY-1053) Use a Tuscany namespace for all non-spec'd Tuscany extensions

2007-08-02 Thread ant elder
This is a real pity IMHO as it makes the SCDL significantly more complicated, ugly and error prone, changing this namespace is going to do nothing to help usability. I know line 2535 in the spec is clear, but the actual SCA schema supports doing this doesn't it? Could we just ignore line 2535, or

Re: Patch for TUSCANY-1397

2007-08-02 Thread Adriano Crestani
I've patched the sdo trunk under revision 562325 with the patch Andy created. All tests ran fine, even though it failed on the tests described on thread [1], but I these fails have nothing to do with Andy patch, so it's ok for me ; ). Anyway, I will wait for a new created patch from Andy, once