SDO C++ getUserData method

2007-01-29 Thread Adriano Crestani
*) do.getUserData(id); I thought the id1 would be the equals id2. Am I misunderstanding the getUserData functionality? Adriano Crestani

Needing C++ Coders Help

2007-01-25 Thread Adriano Crestani
I'm begginer with C++ and I would like to know the best way to obtain a char* from a string object, for example: string name = Alice; char* namePtr = (char*) string; // this is not possible : ( Obs.: I'm needing a char* and not a const char* pointer Thanks. Adriano Crestani

Re: Needing C++ Coders Help

2007-01-25 Thread Adriano Crestani
I'm trying to use a function that requires a char* not const as a paremeter. I think strdup will help a lot, thanks ; ) Adriano Crestani On 1/25/07, Pete Robbins [EMAIL PROTECTED] wrote: On 25/01/07, Adriano Crestani [EMAIL PROTECTED] wrote: I'm begginer with C++ and I would like to know

Re: Needing C++ Coders Help

2007-01-25 Thread Adriano Crestani
, On 25/01/07, Adriano Crestani [EMAIL PROTECTED] wrote: I'm trying to use a function that requires a char* not const as a paremeter. I think strdup will help a lot, thanks ; ) Adriano Crestani On 1/25/07, Pete Robbins [EMAIL PROTECTED] wrote: On 25/01/07, Adriano Crestani [EMAIL

Re: Needing C++ Coders Help

2007-01-25 Thread Adriano Crestani
, On 25/01/07, Adriano Crestani [EMAIL PROTECTED] wrote: I'm trying to use a function that requires a char* not const as a paremeter. I think strdup will help a lot, thanks ; ) Adriano Crestani On 1/25/07, Pete Robbins [EMAIL PROTECTED] wrote: On 25/01/07, Adriano Crestani [EMAIL

Re: Needing C++ Coders Help

2007-01-25 Thread Adriano Crestani
Thanks guys, you helped a lot. So I will copy the string to a char* and delete it after the usage. ; ) Adriano Crestani On 1/25/07, Pete Robbins [EMAIL PROTECTED] wrote: On 25/01/07, Yang ZHONG [EMAIL PROTECTED] wrote: Not every API is designed extremely careful: quite some times char

Re: Needing C++ Coders Help

2007-01-25 Thread Adriano Crestani
to not const type. Adriano Crestani On 1/25/07, Pete Robbins [EMAIL PROTECTED] wrote: That is the belt and braces approach but if it's a perfomance issue it would be OK to follow Yang's suggestion and jsut cast it to char*. Try it and see if it works! On 25/01/07, Adriano Crestani [EMAIL

Re: Needing C++ Coders Help

2007-01-25 Thread Adriano Crestani
The Yang solution worked, thanks a lot ; ) Adriano Crestani On 1/25/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Adriano Crestani wrote: OK, but when I try to do it: char* namePtr = (char*) name.c_str; I get this error message: Error36error C2440: 'type cast' : cannot

[jira] Updated: (TUSCANY-1040) DAS C++

2007-01-16 Thread Adriano Crestani (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adriano Crestani updated TUSCANY-1040: -- Attachment: tuscany1040.crestani.20070117.txt DAS C

Re: DAS C++ needing volunteers and advises

2007-01-15 Thread Adriano Crestani
of some class I need to fix the header of another, do you understand? How could be the best way to divide the classes for us to work on them parallelly? Adriano Crestani On 1/15/07, Geoffrey Winn [EMAIL PROTECTED] wrote: On 09/01/07, Adriano Crestani [EMAIL PROTECTED] wrote: - As I am not used

Re: DAS C++ needing volunteers and advises

2007-01-15 Thread Adriano Crestani
suggestion? Adriano Crestani On 1/16/07, Adriano Crestani [EMAIL PROTECTED] wrote: There are a lot Geoffrey : (...I'm compiling class by class and seeing the errors and fixing them. If you want to help to fix the code that would be great. But actually I don't know how to assign the classes you or me

SDO Java: ChangeSummary doubt

2007-01-14 Thread Adriano Crestani
Is the command DataObject.getDataGraph().getChangeSummary() equal to DataObject.getChangeSummary() or the second one returns only the ChangeSummary of the DataObject and the first one returns the ChangeSummary of the whole graph? Adriano Crestani

Re: DAS C++ needing volunteers and advises

2007-01-14 Thread Adriano Crestani
Thanks a lot Geoffrey, I think it will work ; ) Adriano Crestani On 1/11/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: [snip] Pete Robbins wrote: On 09/01/07, Luciano Resende [EMAIL PROTECTED] wrote: To get more people helping on this I was wondering if we should add the code

SDO Java/C++

2007-01-14 Thread Adriano Crestani
What is the class equivalent to DataObjectBase.java in SDO C++? Adriano Crestani

Re: SDO C++ doubts about Type.h

2007-01-11 Thread Adriano Crestani
if the property name is not found, instead of an exception. Another question, where do I find the sdo spec? Adriano Crestani On 1/11/07, Pete Robbins [EMAIL PROTECTED] wrote: On 11/01/07, Adriano Crestani [EMAIL PROTECTED] wrote: Thanks Pete, I thought there would be an easier way to do

[jira] Updated: (TUSCANY-1040) DAS C++

2007-01-11 Thread Adriano Crestani (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adriano Crestani updated TUSCANY-1040: -- Attachment: DAS_CPP_01_11_2007.zip DAS C++ --- Key: TUSCANY

Re: SDO C++ doubts about Type.h

2007-01-11 Thread Adriano Crestani
a property with a specified name. But I can handle it with exception anyway ; ) Thanks Adriano Crestani On 1/11/07, Pete Robbins [EMAIL PROTECTED] wrote: Just one more thought. It comes down to how often you think the property will not be found. returning a pointer (or even a re counting ptr object

Re: SDO C++ doubts about Type.h

2007-01-10 Thread Adriano Crestani
Thanks Pete, I thought there would be an easier way to do this. But if you say so, I think it's the only way. Thanks again! Adriano Crestani On 1/10/07, Pete Robbins [EMAIL PROTECTED] wrote: On 10/01/07, Adriano Crestani [EMAIL PROTECTED] wrote: I'm begginer with C++ and I have one doubt

DAS C++ needing volunteers and advises

2007-01-09 Thread Adriano Crestani
. Adriano Crestani

[jira] Updated: (TUSCANY-1040) DAS C++

2007-01-09 Thread Adriano Crestani (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adriano Crestani updated TUSCANY-1040: -- Attachment: DAS_CPP.zip DAS C++ --- Key: TUSCANY-1040

Re: DAS C++ needing volunteers and advises

2007-01-09 Thread Adriano Crestani
On 1/9/07, Pete Robbins [EMAIL PROTECTED] wrote: Is there a DAS C++ specification? On 09/01/07, Geoffrey Winn [EMAIL PROTECTED] wrote: On 09/01/07, Adriano Crestani [EMAIL PROTECTED] wrote: Luciano Resende and me are developing the DAS C++. I started developing

Re: DAS C++ needing volunteers and advises

2007-01-09 Thread Adriano Crestani
Hi Geoffrey, we're accepting any help. If you explain what you know about SDO that could help in DAS C++ would be useful. Thanks! Adriano Crestani On 1/9/07, Adriano Crestani [EMAIL PROTECTED] wrote: The project was uploaded here: http://issues.apache.org/jira/browse/TUSCANY-1040 On 1/9/07

SDO C++ doubts about Type.h

2007-01-09 Thread Adriano Crestani
, but if there is no Property object with this name? What does this function return? I tried to do this... if (type.getProperty(ID) == NULL) ...but as long as far as I know it's not possible. Is there a way to check if the function has found Property object with the specified name or not. Adriano Crestani

Re: [C++] ODBC and accessing Generated Keys

2007-01-02 Thread Adriano Crestani
to retrieve this PK on odbc without using another statement like a select statement just to read the PK. Adriano Crestani On 1/2/07, Simon Laws [EMAIL PROTECTED] wrote: On 1/2/07, Adriano Crestani [EMAIL PROTECTED] wrote: We are trying to get the auto-gererated keys after the invocation

Re: [C++] ODBC and accessing Generated Keys

2007-01-01 Thread Adriano Crestani
execution. I wonder if it has something to do with the IPD(Implementation Parameter Descriptor) that I found in ODBC API: SQL_ATTR_AUTO_IPD. Adriano Crestani On 1/1/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Luciano Resende wrote: Hi I'm trying to work with Adriano Crestani

Re: [DAS] ApplyChnages fails in a table with generated primary key... and added DO does not include a modified property...

2006-12-20 Thread Adriano Crestani
Maybe it has something to do with ths thread: http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg11303.html Adriano Crestani On 12/20/06, Luciano Resende [EMAIL PROTECTED] wrote: So, i was trying to create a test case for : Insert with no changed properties to row with generated ID

Re: Suggestion for try and catch

2006-12-08 Thread Adriano Crestani
. The Tomcat was printing the exception on the html it generates. Sorry, it was my mistake :S, I'm still learning how to deal with servlets. I think the JIRA is no more useful, how can I close it? Adriano Crestani On 12/8/06, Luciano Resende [EMAIL PROTECTED] wrote: Thanks Adriano, I updated

Re: Suggestion for try and catch

2006-12-07 Thread Adriano Crestani
Yes, I'm interested ; )...I will see how to create a Jira and any doubt (I think there will be many) I will post it here, ok?! Adriano Crestani On 12/7/06, Luciano Resende [EMAIL PROTECTED] wrote: Hi Adriano I had an offline chat with Brent, and we agreedn that this looks like a simple

Re: New proposal to make DAS/SDO HOW TO

2006-12-05 Thread Adriano Crestani
Yes, yes, I just tested the methods, cause I don't want a howto with a sourcecode that doesn't work as expected like the one you tried to follow on your howto. I will try to write something as soon as possible and I will post it here ; ). Adriano Crestani On 12/5/06, Luciano Resende [EMAIL

Re: New proposal to make DAS/SDO HOW TO

2006-12-04 Thread Adriano Crestani
PRIMARY KEY, DESCR CHAR(30), UNITS INTEGER ); CREATE TABLE CART_ITEM ( ID INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, CART_ID INTEGER, ITEM_ID INTEGER, QUANTITY INTEGER, FOREIGN KEY (CART_ID) REFERENCES CART(ID), FOREIGN KEY (ITEM_ID) REFERENCES ITEM(ID) ); Adriano Crestani On 12/4/06

Re: database update problem

2006-11-30 Thread Adriano Crestani
OK, I can set any attribute ; ) You got an exception? I'm getting no exception here, the new item is just not being updated in the database. Adriano Crestani On 11/30/06, Kevin Williams [EMAIL PROTECTED] wrote: Hello Adriano, No. It should not be working this way and thanks for finding

database update problem

2006-11-29 Thread Adriano Crestani
I created one table called cart with an auto-increment key on mysql, then I defined this table on the config.xml as containing an auto-increment key. Using SCO/DAS I create one tuple of the cart table, but no attribute is set. I know DAS only update one attribute tuple only if it has been

Re: New proposal to make DAS/SDO HOW TO

2006-11-16 Thread Adriano Crestani
INTEGER, ITEM_ID INTEGER, QUANTITY INTEGER, FOREIGN KEY (CART_ID) REFERENCES CART(ID), FOREIGN KEY (ITEM_ID) REFERENCES ITEM(ID) ) -- Luciano Resende http://people.apache.org/~lresende http://people.apache.org/%7Elresende On 11/15/06, Adriano Crestani [EMAIL PROTECTED] wrote

Re: New proposal to make DAS/SDO HOW TO

2006-11-16 Thread Adriano Crestani
the ShoppingCart.jsp, I needing some ideas for the layout. Adriano Crestani On 11/16/06, Willian Maja [EMAIL PROTECTED] wrote: 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

Re: New proposal to make DAS/SDO HOW TO

2006-11-15 Thread Adriano Crestani
idea to use the MySql as the database server, once it's the most used server on webapps ; ) We must discuss how will be the Shopping Cart GUI, it must be simple once it's not the focus of our howto. I think a simple html genarated by a jsp is enough. ; ) Adriano Crestani On 11/15/06, Willian

Re: New proposal to make DAS/SDO HOW TO

2006-11-15 Thread Adriano Crestani
... BTW, others are welcome to voice their opinion on what direction we should take here... - Luciano Resende Apache Tuscany On 11/15/06, Adriano Crestani [EMAIL PROTECTED] wrote: I've decribed the XML configuration file, but it's still looking like a user guide than a howto. I think

Howto

2006-11-14 Thread Adriano Crestani
Willian, Luciano said to upload the howto in the wiki, no matter if it's finished or not. Report us when you have uploaded it ; ) Then I will try to describe the the xml configuration file you've made. Adriano Crestani

axis2 problem :s

2006-10-31 Thread Adriano Crestani
I'm getting this failure when I'm running the mvn: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1)

Re: [VOTE] Luciano Resende for committer

2006-10-26 Thread Adriano Crestani
+1, I am newbie in this project, but he has helped a lot so far ; ). Thanks Luciano! Adriano Crestani On 10/26/06, Kevin Williams [EMAIL PROTECTED] wrote: +1 from me. Jeremy Boynes wrote: I would like to nominate Luciano as a committer on Tuscany. He has been helping with DAS for several

Re: Compile errors in projects databinding-test and databinding-jaxb

2006-10-24 Thread Adriano Crestani
to be offline yet :s. Thanks anyway ; ) Adriano Crestani On 10/24/06, Luciano Resende [EMAIL PROTECTED] wrote: Unless you are building offline, you are going to find issues, as the maven repositories were being moved over the weekend and are not back online yet... -- Forwarded message

Compile errors in projects databinding-test and databinding-jaxb

2006-10-23 Thread Adriano Crestani
Is there anyone that is getting the same error? Adriano Crestani

building project problem

2006-10-20 Thread Adriano Crestani
I'm getting this error when I'm trying to import the projects: Cannot nest output folder 'axis2/target/classes/META-INF' inside output folder 'axis2/target/classes'. Does anyone know hot to fix it?

Re: building project problem

2006-10-20 Thread Adriano Crestani
Yeah, it was my mistake, sorry. I forgot -Peclipse. Thanks ; ) Adriano Crestani On 10/20/06, Brent Daniel [EMAIL PROTECTED] wrote: Adriano, This is the error you get if you generate the eclipse artifacts without specifying the eclipse profile. Make sure you run mvn -Peclipse eclipse:eclipse

Re: Missing classes

2006-10-19 Thread Adriano Crestani
is getting this error? Adriano Crestani On 10/18/06, Luciano Resende [EMAIL PROTECTED] wrote: Thanks Ant. Hi Adriano, try it again, after Ant's fixes it seems to be working fine now. - Luciano Resende On 10/18/06, Rick [EMAIL PROTECTED] wrote: One thing I have noticed is the -U while it helps

Hi Tuscany Community

2006-10-16 Thread Adriano Crestani
can about XML and the integration between Java and XML. I'd like to know if there's somebody that can help to give the first step on this project, cause I don't know where to start :s. Thanks! Adriano Crestani

Re: Eclipse projects

2006-10-16 Thread Adriano Crestani
I had tried it, but now I realised that when I executed this command I was outside the folder java, now I am trying it in folder java and it seems to be working. Thanks. Adriano Crestani On 10/16/06, Luciano Resende [EMAIL PROTECTED] wrote: Once you generate the project files, you should

<    1   2   3   4