Re: New proposal to make DAS/SDO HOW TO

2006-11-16 Thread Katja
Hi! Is it possible to add a Timestamp or DateTime column to the database? I am very interested in how to access these columns with DAS and MySQL because I have not succeeded in doing this. Thanks, Katja Original-Nachricht Datum: Thu, 16 Nov 2006 03:44:18 -0400 Von: Adriano

Re: New proposal to make DAS/SDO HOW TO

2006-11-16 Thread Luciano Resende
Won't the Cart x Item relationship be a many to many relationship ? Currently, one item can only be in one cart, right ? You probably looking for something like this CREATE TABLE CART ( ID INTEGER PRIMARY KEY, SUB_TOTAL DOUBLE, TAX DOUBLE, TOTAL DOUBLE ); CREATE TABLE ITEM ( ID

Re: Bundles and OSGi

2006-11-16 Thread Jeremy Boynes
On 11/15/06, Hawkins, Joel [EMAIL PROTECTED] wrote: -Original Message- From: Wengatz, Nicole [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 10:23 AM To: Hawkins, Joel Cc: Jim Marino; Wengatz, Nicole; Jasny, Robert Subject: RE: Bundles and OSGi I performed now some tests

Re: New proposal to make DAS/SDO HOW TO

2006-11-16 Thread Adriano Crestani
Yes, it's many to many, I just thought in a simple way to do this, where the user would define its own items. But many to many is OK ; ). On 11/16/06, Luciano Resende [EMAIL PROTECTED] wrote: Won't the Cart x Item relationship be a many to many relationship ? Currently, one item can only be in

Harmonizing Ruby support in Tuscany

2006-11-16 Thread Andrew Borley
Hi all, I was recently asked to chat with a few people about the Ruby support in Tuscany, so I spent a bit of time looking at the support we provide in both the C++ and Java sides of Tuscany. There are a few differences that, in the absence of a spec, we should try to fix up so that we've at

[jira] Created: (TUSCANY-933) XSD2Java Generator still generates EMF codes with -noEMF option on

2006-11-16 Thread Fuhwei Lwo (JIRA)
XSD2Java Generator still generates EMF codes with -noEMF option on -- Key: TUSCANY-933 URL: http://issues.apache.org/jira/browse/TUSCANY-933 Project: Tuscany Issue Type: Bug

RE: Bundles and OSGi

2006-11-16 Thread Hawkins, Joel
Hi Jeremy, I think this investigation is geared more towards optimization for a particular platform, rather than exclusive support. I agree with you that our base target should be the OSGi R4 spec, which currently has broad support in the OSGi community. What Nicole is investigating are possible

RE: Bundles and OSGi

2006-11-16 Thread Wengatz, Nicole
Hi Jeremy, This worries me a little as I would not like to think that the only OSGi implementation that was supported was Eclipse's. When is 4.1 due and/or does, for example, Felix offer something similar to this? BuddyClassLoading is an alternative to the dynamic import feature. It's currently

Re: Wiki or website for doc?

2006-11-16 Thread Dan Murphy
I was looking at the Java SDO wiki... there is a lot of overlap between the web site and the wiki... should we clean up the wiki and link to the web site where appropriate (get rid of the duplication) ? Thanks in advance Dan

Re: New proposal to make DAS/SDO HOW TO

2006-11-16 Thread Willian Maja
I don't know if it's possible to read TimeStamp, but I'll try. And thanks for the idea :). Willian Yabusame Maja From: Katja [EMAIL PROTECTED] Reply-To: tuscany-dev@ws.apache.org To: tuscany-dev@ws.apache.org Subject: Re: New proposal to make DAS/SDO HOW TO Date: Thu, 16 Nov 2006 09:14:28

Re: Spec APIs in Tuscany distros (was Re: svn commit: r475086)

2006-11-16 Thread Simon Nash
Jeremy Boynes wrote: On 11/15/06, Simon Nash [EMAIL PROTECTED] wrote: Having a separate source distro for the SCA spec API makes sense to me. I see that your download page http://people.apache.org/~rfeng/tuscany/incubator-M2/downloads/ has already been updated to add this. I'm not so

Re: How can I clone a ServiceContract

2006-11-16 Thread Rajith Attapattu
Hi Folks, Raymond suggested that in order for me to get the data binding to work, I need to clone the ServiceContract and then set the data binding type. I see that I cannot clone the ServiceContract using the clone() method. So it means that I need to create ServiceContract from scratch. What

Re: Harmonizing Ruby support in Tuscany

2006-11-16 Thread Jim Marino
Hi Andy, Comments inline... Jim On Nov 16, 2006, at 4:27 AM, Andrew Borley wrote: Hi all, I was recently asked to chat with a few people about the Ruby support in Tuscany, so I spent a bit of time looking at the support we provide in both the C++ and Java sides of Tuscany. There are a few

Re: New proposal to make DAS/SDO HOW TO

2006-11-16 Thread Willian Maja
Hi Katja, I've just tested to read Date column, and it works. I'm going to paste my code here for you: This will be the test table, it's just a simple table with a DateTime Column. CREATE TABLE test (ID integer not null AUTO_INCREMENT, date_column date); INSERT INTO test (date_column)

Re: New proposal to make DAS/SDO HOW TO

2006-11-16 Thread Katja
Hi Willian! Thank you for the example! You tested with a Date-Column, that worked in my application, too, because no conversion between the column and the data object value is necessary. With DateTime a converter is needed: SDO format: 2006-11-16T17:22 MySQL format: 2006-11-16 17:22 The

Re: Re: Please review of the Tuscany SCA Java M2 release candidate

2006-11-16 Thread Raymond Feng
Hi, The source archives are created by an ant script which exports the source tree from the SVN repository and zips it up. Maven2 resource filitering is not in the process at all. Is there any way to handle this? BTW, is the title from ${pom.name} mandatory for NOTICE? Thanks, Raymond

Re: Please review of the Tuscany SCA Java M2 release candidate

2006-11-16 Thread Rick
Per filtering, I think this in regard to binary generation, and copying of those files in to the jars. But I don't know how or if that applies to the source disto. May I ask why the need for the ${pom.name} in the NOTICE? Raymond Feng wrote: Hi, The source archives are created by an ant

[jira] Created: (TUSCANY-934) XSD2JavaGenerator -noEMF option does not work with abstract classes.

2006-11-16 Thread Brian Murray (JIRA)
XSD2JavaGenerator -noEMF option does not work with abstract classes. Key: TUSCANY-934 URL: http://issues.apache.org/jira/browse/TUSCANY-934 Project: Tuscany Issue Type:

Re: Harmonizing Ruby support in Tuscany

2006-11-16 Thread Jean-Sebastien Delfino
[snip] The C++ schema doesn't actually include the script attribute used above (preferring module instead) - script is supported in the implementation. Andy, good catch. I added the missing script attribute to the schema (under revision r475824). Script is not used in place of module: -

Re: [Fwd: [VOTE] Ratify Tuscany PPMC vote to release DAS for Java M2 artifacts]

2006-11-16 Thread William A. Rowe, Jr.
Justin Erenkrantz wrote: On 11/14/06, Henri Yandell [EMAIL PROTECTED] wrote: Thanks, I withdraw my -1. Ditto. -- justin Heh - we had no -1 to withdraw, I agreed with you Justin that lazy concensus is wrong, but we hadn't put a -1 to the actual release. That's why I replied to your note and

Re: New proposal to make DAS/SDO HOW TO

2006-11-16 Thread Willian Maja
I think I didn't understand what you want. But i tested using TimeStamp and DateTime: CREATE TABLE test (ID integer not null AUTO_INCREMENT, timestamp timestamp, datetime datetime, primary key (ID)); INSERT INTO test VALUES (); This will create the following row: | 1 |

Firewalls and the Spring Container

2006-11-16 Thread Hawkins, Joel
Hi all, I'm doing some integration with the Spring Container and OSGi, and am having some troubles running behind my company's firewall. What I get is the following schema validation error when trying to load an application context: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the

RE: Firewalls and the Spring Container

2006-11-16 Thread Meeraj Kunnumpurath
-Original Message- From: Hawkins, Joel [mailto:[EMAIL PROTECTED] Sent: 16 November 2006 18:21 To: tuscany-dev@ws.apache.org Subject: Firewalls and the Spring Container Hi all, I'm doing some integration with the Spring Container and OSGi, and am having some troubles

Re: Firewalls and the Spring Container

2006-11-16 Thread Jim Marino
On Nov 16, 2006, at 10:21 AM, Hawkins, Joel wrote: Hi all, I'm doing some integration with the Spring Container and OSGi, and am having some troubles running behind my company's firewall. What I get is the following schema validation error when trying to load an application context:

Re: Harmonizing Ruby support in Tuscany

2006-11-16 Thread Andrew Borley
On 11/16/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: [snip] The C++ schema doesn't actually include the script attribute used above (preferring module instead) - script is supported in the implementation. Andy, good catch. I added the missing script attribute to the schema (under

Re: Spec APIs in Tuscany distros (was Re: svn commit: r475086)

2006-11-16 Thread Jeremy Boynes
On 11/16/06, Simon Nash [EMAIL PROTECTED] wrote: I don't understand how this would break modularity. Because it couples together the release lifecycles of two very independent modules. Users of the Tuscany api/spi javadoc will always need the spec javadoc as well. I'm not sure that that

Re: Clarifying the scope of a conversation

2006-11-16 Thread Ignacio Silva-Lepe
After looking at (the previous) version 0.9 of the CI spec and a discussion with Jim and Mike Rowley on the conversational services section, I am going to try to summarize my current understanding, Jim, Mike, please jump in if I mis-state or forget to mention something here. A conversation is

[jira] Commented: (TUSCANY-934) XSD2JavaGenerator -noEMF option does not work with abstract classes.

2006-11-16 Thread Kapil Katyal (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-934?page=comments#action_12450535 ] Kapil Katyal commented on TUSCANY-934: -- The generated FactoryImpl class needs to include the following lines in the generated createMetaData method:

[jira] Commented: (TUSCANY-932) Invoking DataObject.isSet(String path) with invalid path would result in NPE

2006-11-16 Thread Frank Budinsky (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-932?page=comments#action_12450551 ] Frank Budinsky commented on TUSCANY-932: Actually, this is one of the clarifications in the 2.1 spec. It says this: The isSet(path) method will never

[jira] Created: (TUSCANY-935) SDO path accessors need to support names that contain .

2006-11-16 Thread Frank Budinsky (JIRA)
SDO path accessors need to support names that contain . - Key: TUSCANY-935 URL: http://issues.apache.org/jira/browse/TUSCANY-935 Project: Tuscany Issue Type: Bug Components:

[jira] Created: (TUSCANY-936) HttpSessionScopeContainer requires a session to exist

2006-11-16 Thread Greg Dritschler (JIRA)
HttpSessionScopeContainer requires a session to exist - Key: TUSCANY-936 URL: http://issues.apache.org/jira/browse/TUSCANY-936 Project: Tuscany Issue Type: Bug Components: Java

Re: Harmonizing Ruby support in Tuscany

2006-11-16 Thread Venkata Krishnan
On 11/17/06, Andrew Borley [EMAIL PROTECTED] wrote: On 11/16/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: [snip] The C++ schema doesn't actually include the script attribute used above (preferring module instead) - script is supported in the implementation. Andy, good catch. I

[jira] Commented: (TUSCANY-936) HttpSessionScopeContainer requires a session to exist

2006-11-16 Thread Jim Marino (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-936?page=comments#action_12450646 ] Jim Marino commented on TUSCANY-936: It looks like the session scope container has not been completely integrated into the web app runtime and

DAS Testscases with MySQL and CONMGT.SERVERSTATUS

2006-11-16 Thread Luciano Resende
I was trying to run DAS junit tests against a MySQL database and found couple issues that i'll track with TUSCANY-937 I also had a question, why do we have to drop and recreate the CONMGT.SERVERSTATUS table ? This was causing me failures with a simple user that had all GRANTS in the dastest

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

2006-11-16 Thread Jim Marino
If I understood your question correctly, DAS allows a 1:1 and 1:N relationship, An application could have multiple components using the same config file, or could split the config file based on the components model... but the choice is really made by the app developer. This sounds similar

Re: New proposal to make DAS/SDO HOW TO

2006-11-16 Thread Adriano Crestani
I've started to create the Shopping Cart and I made this so far: ShoppingCartConfig.xml ?xml version=1.0 encoding=ASCII? Config xsi:noNamespaceSchemaLocation= http:///org.apache.tuscany.das.rdb/config.xsd; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; Command name=all carts

Re: New proposal to make DAS/SDO HOW TO

2006-11-16 Thread Luciano Resende
I think that what you have can generate most of the how-to... you should start formatting it on the Wiki. Also, I think we don't need the application itself as a result of the how-to, right ? -- Luciano Resende http://people.apache.org/~lresende On 11/16/06, Adriano Crestani [EMAIL PROTECTED]

Re: Clarifying the scope of a conversation

2006-11-16 Thread Pete Robbins
This is a fairly confusing area and I welcome your efforts to clarify this. On 16/11/06, Ignacio Silva-Lepe [EMAIL PROTECTED] wrote: After looking at (the previous) version 0.9 of the CI spec and a discussion with Jim and Mike Rowley on the conversational services section, I am going to try to

Re: Clarifying the scope of a conversation

2006-11-16 Thread Jim Marino
On Nov 16, 2006, at 1:26 PM, Ignacio Silva-Lepe wrote: After looking at (the previous) version 0.9 of the CI spec and a discussion with Jim and Mike Rowley on the conversational services section, I am going to try to summarize my current understanding, Jim, Mike, please jump in if I mis-state

Re: Clarifying the scope of a conversation

2006-11-16 Thread Jim Marino
On Nov 16, 2006, at 11:11 PM, Pete Robbins wrote: This is a fairly confusing area and I welcome your efforts to clarify this. On 16/11/06, Ignacio Silva-Lepe [EMAIL PROTECTED] wrote: After looking at (the previous) version 0.9 of the CI spec and a discussion with Jim and Mike Rowley on

Re: Clarifying the scope of a conversation

2006-11-16 Thread Pete Robbins
On 17/11/06, Jim Marino [EMAIL PROTECTED] wrote: On Nov 16, 2006, at 11:11 PM, Pete Robbins wrote: This is a fairly confusing area and I welcome your efforts to clarify this. On 16/11/06, Ignacio Silva-Lepe [EMAIL PROTECTED] wrote: After looking at (the previous) version 0.9 of the CI

Re: Clarifying the scope of a conversation

2006-11-16 Thread Jim Marino
the implementation must keep track The definition of scopes was originally in the Java CI spec, then it was removed with the intention of putting it in Assembly. The spec group then decided it need to go back to the individual language specs. I haven't had the chance to update the Java spec