*) do.getUserData(id);
I thought the id1 would be the equals id2. Am I misunderstanding the
getUserData functionality?
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
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
,
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
,
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
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
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
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
[
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
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
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
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
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
What is the class equivalent to DataObjectBase.java in SDO C++?
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
[
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
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
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
.
Adriano Crestani
[
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
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
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
, 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
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
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
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
. 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
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
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
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
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
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
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
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
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
...
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
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
I'm getting this failure when I'm running the mvn:
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] Failed to resolve artifact.
Missing:
--
1)
+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
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
Is there anyone that is getting the same error?
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?
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
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
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
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
301 - 346 of 346 matches
Mail list logo