Re: [SDO C++] DataFactory::generateInterface() function problem

2007-06-01 Thread Adriano Crestani
Crestani On 6/1/07, Geoffrey Winn [EMAIL PROTECTED] wrote: Could you explain a little more about what you are trying to do? Regards, Geoff. On 01/06/07, Adriano Crestani [EMAIL PROTECTED] wrote: Is there any other way to use static object on sdo c++? Adriano Crestani On 5/31/07, Adriano

Re: [SDO C++] DataFactory::generateInterface() function problem

2007-05-31 Thread Adriano Crestani
Thanks for clarification ; ) Adriano Crestani On 5/31/07, Pete Robbins [EMAIL PROTECTED] wrote: Adriano, this isn't so much a bug as unsupported function. DataFactory::generateInterface() is not part of the spec (I believe) and was an old experiment in supporting static SDOs. As far as I am

Re: [SDO C++] DataFactory::generateInterface() function problem

2007-05-31 Thread Adriano Crestani
Is there any other way to use static object on sdo c++? Adriano Crestani On 5/31/07, Adriano Crestani [EMAIL PROTECTED] wrote: Thanks for clarification ; ) Adriano Crestani On 5/31/07, Pete Robbins [EMAIL PROTECTED] wrote: Adriano, this isn't so much a bug as unsupported function

Re: DAS C++ Status

2007-05-30 Thread Adriano Crestani
Since revision 542742, DAS C++ is only working with SDO on trunk, and not with SDO C++ M3. Adriano Crestani On 5/29/07, Adriano Crestani [EMAIL PROTECTED] wrote: Added support to one to many relationship under revision 542742 Adriano Crestani On 5/28/07, Adriano Crestani [EMAIL PROTECTED

[SDO C++] DataFactory::generateInterface() function problem

2007-05-30 Thread Adriano Crestani
=required/ xsd:attribute name=sqlType type=xsd:string use=required/ xsd:attribute name=propertyName type=xsd:string/ xsd:attribute name=primaryKey type=xsd:boolean default=false/ /xsd:complexType /xsd:schema Am I committing some mistake or it's really a bug? Adriano Crestani

Re: DAS C++ Status

2007-05-29 Thread Adriano Crestani
Added support to one to many relationship under revision 542742 Adriano Crestani On 5/28/07, Adriano Crestani [EMAIL PROTECTED] wrote: Added support to set up the framework via config xml under revision 542124. Adriano Crestani On 5/22/07, haleh mahbod [EMAIL PROTECTED] wrote: Thank you

Re: DAS C++ Status

2007-05-28 Thread Adriano Crestani
Added support to set up the framework via config xml under revision 542124. Adriano Crestani On 5/22/07, haleh mahbod [EMAIL PROTECTED] wrote: Thank you for the explanation. On 5/21/07, Adriano Crestani [EMAIL PROTECTED] wrote: Yes, it's intergrated with Tuscany SDO C++. Next step

Re: companyweb and dbconfig integration

2007-05-24 Thread Adriano Crestani
Hi Amita, We could fix the batch problem as you suggested on CompanyWeb sample and add 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

[jira] Commented: (TUSCANY-1295) Resolve Memory Leaks in RDB DAS source and test cases code

2007-05-23 Thread Adriano Crestani (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498146 ] Adriano Crestani commented on TUSCANY-1295: --- Hi Amita, I got a problem with the file

Re: DAS C++ Status

2007-05-21 Thread Adriano Crestani
Yes, it's intergrated with Tuscany SDO C++. Next step is to implement a sample for it. I intend to add some info on wiki before the first release. Regards, Adriano Crestani On 5/21/07, haleh mahbod [EMAIL PROTECTED] wrote: Hi Adriano, Is this integrated with SDO C++? Is there a sample

DAS C++ Status

2007-05-20 Thread Adriano Crestani
; ) Regards, Adriano Crestani

Re: DAS M3 Release

2007-05-19 Thread Adriano Crestani
Amita, did you solve the JIRA 952 memory leak problem? Except JIRA 800 that luciano is going to commit, 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

[jira] Created: (TUSCANY-1239) Statement::executeQuery and Statement::execute should throw exception

2007-05-02 Thread Adriano Crestani (JIRA)
Type: Improvement Components: C++ DAS Affects Versions: Wish list Reporter: Adriano Crestani Fix For: Wish list Statement::executeQuery and Statement::execute should throw some kind of exception when the statement query is not successfully completed

Mais um jira criado

2007-05-02 Thread Adriano Crestani
Nao lembro se vc disse q ainda iria fazer ou eskeceu oq estah descrito no jira [1], mas d qq forma criei um jira pra isso. Se fizer basta attachar o patch lah ; ) [1] https://issues.apache.org/jira/browse/TUSCANY-1239 Adriano Crestani

Re: Mais um jira criado

2007-05-02 Thread Adriano Crestani
Sorry guys, This email was not inteded to the ML I committed a mistake and typed the ML address. Just ignore it! Sorry again :( Adriano Crestani On 5/2/07, Adriano Crestani [EMAIL PROTECTED] wrote: Nao lembro se vc disse q ainda iria fazer ou eskeceu oq estah descrito no jira [1], mas d qq

Re: DAS M3 Release

2007-04-29 Thread Adriano Crestani
+Guide Adriano Crestani On 4/27/07, Luciano Resende [EMAIL PROTECTED] wrote: Ah, one more thing, as SDO is moving to call it's release SDO beta1, I think we should align the DAS release name to that. Also, there is Java One conference on May 8th, should we target at least a good Release Candidate

DAS Relationship Reference

2007-04-27 Thread Adriano Crestani
and populated, is modified and two different DEPARTMENT DataObjects reference the same EMPLOYEE DataObject the relationship turns to NxN. How does the Java DAS handle that? Does it throw an exception? Adriano Crestani

Re: DAS - relationship with composite keys

2007-04-27 Thread Adriano Crestani
the data are on the database, the user would get a wrong idea of how data are linked. On the example above the sdo user may think that a row of table A is referenced by two different rows of table B, but on the database it does not exist. Adriano Crestani On 4/27/07, Amita Vadhavkar [EMAIL

Re: DAS Relationship Reference

2007-04-27 Thread Adriano Crestani
Thanks Kevin : ) Adriano Crestani On 4/27/07, Kevin Williams [EMAIL PROTECTED] wrote: There is no way to morph a 1:m relationship into a M:M relationship. SDO maintains referential integrity. If you have a dept1 with emp1 and then execute: dep2.getEmployees.add(emp1) the graph

Re: DAS - relationship with composite keys

2007-04-27 Thread Adriano Crestani
Sorry, the query above should be SELECT A.id http://a.id/, A.b_id1, B_id1, B_id2 from A, B; instead of SELECT A.id http://a.id/, A.b_id1 from A, B; Adriano Crestani On 4/27/07, Adriano Crestani [EMAIL PROTECTED] wrote: I guess the relationship is considered for the key part present in select

DAS - relationship with composite keys

2007-04-26 Thread Adriano Crestani
I wonder what happens if a relationship has composite keys and the query does not returns all the relationship keys. Is the relationship ignored and the keys returned are treated only as containment attributes on the sdo graph? Adriano Crestani

[jira] Commented: (TUSCANY-952) DAS must support queries that reference tables in different schemas

2007-04-24 Thread Adriano Crestani (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491452 ] Adriano Crestani commented on TUSCANY-952: -- Amita, I was revising your classes and found some problems

[jira] Resolved: (TUSCANY-1219) Modification in Connection and Statement classes. Creation of new classes : SqlException, PreparedStatement

2007-04-21 Thread Adriano Crestani (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adriano Crestani resolved TUSCANY-1219. --- Resolution: Fixed Modification in Connection and Statement classes. Creation

[jira] Created: (TUSCANY-1220) FK columns name retrieved by dbms contain invalid characters

2007-04-21 Thread Adriano Crestani (JIRA)
Components: C++ DAS Affects Versions: Wish list Reporter: Adriano Crestani Priority: Minor Fix For: Wish list The method ResultSet* Database::getFKs(std::string tableName) const returns a ResultSet containing information about the tableName foreign keys

DataFactory::addType problem

2007-04-20 Thread Adriano Crestani
(dasnamespace, tableName.c_str() ); // works Has it something to do with some character codification option on my VC project? Adriano Crestani

Re: DataFactory::addType problem

2007-04-20 Thread Adriano Crestani
Thanks, I will try it out ; ) Adriano Crestani On 4/20/07, Pete Robbins [EMAIL PROTECTED] wrote: Interesting! There are 2 methods: 1. addType(const string, const string, ...etc.) 2. addType(const char*, const char*, ...etc.) the first variation calls the second. Where you pass char

[jira] Updated: (TUSCANY-1219) Modification in Connection and Statement classes. Creation of new classes : SqlException, PreparedStatement

2007-04-20 Thread Adriano Crestani (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adriano Crestani updated TUSCANY-1219: -- Environment: WIN32 (was: Plattaform Windows with Microsoft Visual C++ 2005 Express

Windows Plataform SDK include

2007-04-19 Thread Adriano Crestani
it as something like %PLATAFORM_SDK_HOME%\include. Is there a default environment variable that defines it? Adriano Crestani

Re: Windows Plataform SDK include

2007-04-19 Thread Adriano Crestani
I have the same question for C:\Program Files\Microsoft Visual Studio 8\VC\include. How would be the better way to define it on my include directory? Adriano Crestani On 4/19/07, Adriano Crestani [EMAIL PROTECTED] wrote: Hi, Guys, I need some suggestion about how should I define a include

VS .ncb file

2007-04-14 Thread Adriano Crestani
Does anyone know if is necessary to upload the .ncb file project into the repository. Is this file really necessary to open a VS project on VS? Adriano Crestani

Re: [DAS Java] created SDO graph doubt 2

2007-04-09 Thread Adriano Crestani
But shouldn't be created a relationship between two or more tables on the graph even if the query has no join? For example, if I make a query that return all the database data: select * from Table1, Table2, TableN. Adriano Crestani On 4/9/07, Kevin Williams [EMAIL PROTECTED] wrote: Hi Guys

Re: [DAS Java] created SDO graph doubt

2007-04-07 Thread Adriano Crestani
on the graph. Maybe there is a reason for the graph to be generated as Graph1 instead of Graph2. What do you say guys? Adriano Crestani On 4/5/07, Adriano Crestani [EMAIL PROTECTED] wrote: Thanks kelvin ; ) Adriano Crestani On 4/4/07, Kevin Williams [EMAIL PROTECTED] wrote: The RDB DAS

Re: Cleaning up module names

2007-04-07 Thread Adriano Crestani
+1, clearer names are good, mainly for newbies like me that isn't yet familiarized with the module names ; ) Adriano Crestani On 4/7/07, Luciano Resende [EMAIL PROTECTED] wrote: +1 Consistent is always good, and we should keep this in mind when creating new modules as well. On 4/6/07, Jean

[DAS Java] created SDO graph doubt 2

2007-04-07 Thread Adriano Crestani
+suppose+it+shoud+be.JPG This way I think the data returned by the query would be better represented on the graph. Maybe there is a reason for the graph to be generated as Graph1 instead of Graph2. What do you say guys? Adriano Crestani

Re: [DAS Java] created SDO graph doubt

2007-04-07 Thread Adriano Crestani
Last doubt moved to thread: [DAS Java] created SDO graph doubt 2 Adriano Crestani On 4/7/07, Adriano Crestani [EMAIL PROTECTED] wrote: Another doubt: I have the following tables on my database: create table B ( ID INTEGER NOT NULL PRIMARY KEY ); create table A ( ID INTEGER NOT NULL

Re: [DAS Java] created SDO graph doubt 2

2007-04-07 Thread Adriano Crestani
Yes, you got the point Luciano...so the reason is that it's not yet implemented on Convetion Over Configuration ; ). Thanks Adriano Crestani On 4/7/07, Luciano Resende [EMAIL PROTECTED] wrote: Have you setup the relationship on your DAS config file ? Should look something like the example

Re: DAS Java Convention Over Configuration question

2007-04-06 Thread Adriano Crestani
Just to be sure: Is the Convetion Over Configuration over id and xxx_id columns, more specifically the id keyword, case sensitive? Adriano Crestani On 4/5/07, Adriano Crestani [EMAIL PROTECTED] wrote: Thanks Kelvin ; )(again) Adriano Crestani On 4/4/07, Kevin Williams [EMAIL PROTECTED

Re: DAS Java Convention Over Configuration question

2007-04-05 Thread Adriano Crestani
Thanks Kelvin ; )(again) Adriano Crestani On 4/4/07, Kevin Williams [EMAIL PROTECTED] wrote: Hello Adriano, This use of convention is actually for the write side of things. A PK is needed to generate correct update commands based on the SDO Change Summary. In the absence of a defined PK

Re: [DAS Java] created SDO graph doubt

2007-04-05 Thread Adriano Crestani
Thanks kelvin ; ) Adriano Crestani On 4/4/07, Kevin Williams [EMAIL PROTECTED] wrote: The RDB DAS will only populate a graph with data returned from the used query. If you want a graph that contains data from related tables then the query provided must return that data (typically a join

[DAS Java] created SDO graph doubt

2007-04-04 Thread Adriano Crestani
, the SDO graph only with the metadata and data contained in the ResultSet or the das also adds to the SDO graph the referenced Y table and its attributes and keep doing it till there is no more referenced table? I expect to be clear enough ; ) Adriano Crestani

Re: [DAS Java] created SDO graph doubt

2007-04-04 Thread Adriano Crestani
Thanks Amita, I also debugged the code and took this conclusion. And I wasn't sure if it's supposed to work this way. Is there anybody that could confirm that it should work this way? Adriano Crestani On 4/4/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi Adriano, Let me show what I got so

Re: [RESULT] Adriano Crestani for Tuscany Committer

2007-04-03 Thread Adriano Crestani
Thank guys, I will try to do my best for the community ; ) Adriano Crestani On 4/3/07, Luciano Resende [EMAIL PROTECTED] wrote: Passed with PPMC +1 from lresende, ajborley, antelder, robbinspg, jsdelfino, kelvingoodson, svkrish, rfeng, slaws and no -1s Welcome to the project Adriano. On 3

DAS Java Convention Over Configuration question

2007-04-03 Thread Adriano Crestani
Over Configuration exist only because some DBMS does not support the java.sql.DatabaseMetaData.getPrimaryKeys(String catalog, String schema, String table) method? Adriano Crestani

Re: [VOTE] Adopt a near-zero-tolerance Be Nice policy

2007-03-26 Thread Adriano Crestani
+1 On 3/26/07, Simon Laws [EMAIL PROTECTED] wrote: On 3/26/07, Davanum Srinivas [EMAIL PROTECTED] wrote: Touché :) On 3/26/07, Frank Budinsky [EMAIL PROTECTED] wrote: +1, and here's a first test case of saying what I really think. I hope nobody is going to slam me :-) I think Ant's

Re: [VOTE] Release Milestone 3 of Tuscany SCA Native and Tuscany SDO C++

2007-03-22 Thread Adriano Crestani
Sorry, I added now the sdo/bin to the path variable, but the sample is still not working. I will download the release source and compile it, if the problem persists I will debug it till I find where is throwing this bad_alloc exception. Adriano Crestani On 3/22/07, Pete Robbins [EMAIL PROTECTED

Re: [VOTE] Release Milestone 3 of Tuscany SCA Native and Tuscany SDO C++

2007-03-22 Thread Adriano Crestani
*/ dor-setCString(name,Acme); // here the bad_alloc exception is being thrown /** * Set up the two departments - using the * DataObject createDataObject API */ ... Have any idea what is happening? Adriano Crestani On 3/22/07, Adriano

Re: SDO C++ creating property problem

2007-03-22 Thread Adriano Crestani
character in its beginning: int m; commonj::sdo::PropertyList list = myType.getProperties(); for (m = 0 ; m list.size() ; m++) { std::cout list[m].getName() \n; } Output: xèH►ID// should be ID xèH►DESCR// should be DESCR xèH►UNITS // should be UNITS Adriano Crestani

Re: SDO C++ creating property problem

2007-03-22 Thread Adriano Crestani
Crestani On 3/22/07, Adriano Crestani [EMAIL PROTECTED] wrote: Every project I use sdo is set the Multi-threaded Debug DLL (/MDd) option. I modified the getColumnName function to free the allocated memory: std::string getColumnName(HSTMT statement, int column) { SQLCHAR* sqlPtr = 0; char

Re: [VOTE] Release Milestone 3 of Tuscany SCA Native and Tuscany SDO C++

2007-03-22 Thread Adriano Crestani
Expected an PathNotFoundException and got SDOPathNotFoundException I don't know if the exceptions should be the same, but the exceptions' name are different. As everything else was OK, here is my +1 to sdo release for windows ; ) Adriano Crestani On 3/22/07, Jean-Sebastien Delfino [EMAIL

Re: [VOTE] Release Milestone 3 of Tuscany SCA Native and Tuscany SDO C++

2007-03-21 Thread Adriano Crestani
Crestani On 3/21/07, Luciano Resende [EMAIL PROTECTED] wrote: Do you have any more information that could help the guys help you or investigate the issue ? On 3/20/07, Adriano Crestani [EMAIL PROTECTED] wrote: I downloaded the sdo bin for windows and compiled the sdo misc sample and I got

Re: [VOTE] Release Milestone 3 of Tuscany SCA Native and Tuscany SDO C++

2007-03-21 Thread Adriano Crestani
My TUSCANY_SDOCPP is pointing to C:\tuscany_sdo_cpp-1.0-incubator-M3-binthat's the latest version, I suppose. Adriano Crestani On 3/21/07, Pete Robbins [EMAIL PROTECTED] wrote: On 21/03/07, Adriano Crestani [EMAIL PROTECTED] wrote: When I run it on vs express the cosole opens, the text

Re: [VOTE] Release Milestone 3 of Tuscany SCA Native and Tuscany SDO C++

2007-03-21 Thread Adriano Crestani
My VC version is the 2005 express. Maybe this problem has something to do with my libxml, iconv or zlib version. What is the minimum required version of these libraries to run the misc sample? Answering Pete's question: PATH = C:\Adriano\Faculdade\Tuscany\Tuscany\CPP\libxml2-2.6.13.win32\bin;

Re: [VOTE] Release Milestone 3 of Tuscany SCA Native and Tuscany SDO C++

2007-03-20 Thread Adriano Crestani
I downloaded the sdo bin for windows and compiled the sdo misc sample and I got a runtime error. I compiled via vc express and command line, and I got the same error on both compilations. Adriano Crestani On 3/20/07, Simon Laws [EMAIL PROTECTED] wrote: On 3/20/07, Geoffrey Winn [EMAIL

Re: C++ DAS Lite versus C++ DAS, was Fwd: [jira] Updated: (TUSCANY-1140) Implementation of DAS Lite Command classes

2007-03-19 Thread Adriano Crestani
on the patch? I think you should copy all the files I sent to you into the repo. Adriano Crestani On 3/16/07, Luciano Resende [EMAIL PROTECTED] wrote: I have just applied your patch. At some point, once we get things more stable, we should decide witch way to go, and maybe promote the das_lite

[jira] Updated: (TUSCANY-1140) Implementation of DAS Lite Command classes

2007-03-15 Thread Adriano Crestani (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adriano Crestani updated TUSCANY-1140: -- Attachment: tuscany1040.crestani.20070315.patch - Added a new project to vs solution

Re: C++ DAS Lite versus C++ DAS, was Fwd: [jira] Updated: (TUSCANY-1140) Implementation of DAS Lite Command classes

2007-03-15 Thread Adriano Crestani
implementing from there. What do you think? Adriano Crestani On 3/15/07, Luciano Resende [EMAIL PROTECTED] wrote: Hi Adriano I was looking into your patch, and realized you had created a new project located at (cpp/das/runtime/das_lite/src/) instead of continuing to work on (cpp/das/runtime/core

Re: SDO C++ creating property problem

2007-03-15 Thread Adriano Crestani
OK, thanks Pete, but how do I alloc memory with new? I will search for it. Adriano Crestani On 3/15/07, Pete Robbins [EMAIL PROTECTED] wrote: I'm not sure what is going on but using malloc in C++ is not a good idea. You are mixing 2 different memory management systems. You could try using

Re: SDO C++ creating property problem

2007-03-15 Thread Adriano Crestani
OK, I found it: new char[length], right?! ; ) Adriano Crestani On 3/15/07, Adriano Crestani [EMAIL PROTECTED] wrote: OK, thanks Pete, but how do I alloc memory with new? I will search for it. Adriano Crestani On 3/15/07, Pete Robbins [EMAIL PROTECTED] wrote: I'm not sure what is going

Re: SDO C++ creating property problem

2007-03-15 Thread Adriano Crestani
. Something changed, but it's still not working as expected : ( Adriano Crestani On 3/15/07, Adriano Crestani [EMAIL PROTECTED] wrote: OK, I found it: new char[length], right?! ; ) Adriano Crestani On 3/15/07, Adriano Crestani [EMAIL PROTECTED] wrote: OK, thanks Pete, but how do I alloc memory

SDO C++ creating property problem

2007-03-13 Thread Adriano Crestani
(getColumnName(statement, 2)), intType); Can anybody tell why it's happening? Adriano Crestani

Re: SDO C++ creating property problem

2007-03-13 Thread Adriano Crestani
) character in it. Is this a bug? Adriano Crestani //as I've already said I'm adding the properties this way: On 3/14/07, Adriano Crestani [EMAIL PROTECTED] wrote: I created a new type on a DataFactory, for example ... dataFactory-addType(MyNameSpace, MyRoot); const Type myType = dataFactory-getType

Re: XMLDocument redefinition

2007-03-09 Thread Adriano Crestani
Thanks Pete,it worked ; ). Yes, I think it should be added to the faq, cause most of coders usually use the use namespace command and they will probably get the same error. Adriano Crestani On 3/9/07, haleh mahbod [EMAIL PROTECTED] wrote: Is this common enough to be added to FAQ? http

Re: [SDO C++] tyme.h

2007-03-08 Thread Adriano Crestani
Pete, On the sdo code it tries to include the file sys/time.h, so I found the folder sys inside the folder C:\Program Files\Microsoft Visual Studio 8\VC\include\, but there is no time.h in it. I just found timeb.h and utime.h, but no time.h :s Adriano Crestani On 3/8/07, Pete Robbins [EMAIL

Re: [SDO C++] tyme.h

2007-03-08 Thread Adriano Crestani
obviously got other error, cause the time.hprobably shouldn't moved. Adriano Crestani On 3/8/07, Adriano Crestani [EMAIL PROTECTED] wrote: Pete, On the sdo code it tries to include the file sys/time.h, so I found the folder sys inside the folder C:\Program Files\Microsoft Visual Studio 8\VC

Re: [SDO C++] tyme.h

2007-03-08 Thread Adriano Crestani
/errorReport:prompt Adriano Crestani On 3/8/07, Pete Robbins [EMAIL PROTECTED] wrote: time.h and sys/time.h are different. sys/time.h is only included by runtime/core/src/commonj/sdo/export.h in the sdo code and on Linux only. The test in export.h is #if defined(WIN32) || defined (_WINDOWS) So... if either

Re: [SDO C++] tyme.h

2007-03-08 Thread Adriano Crestani
I inserted #define WIN32 on my code and it worked, do you know where can I set the WIN32 on my project's properties on visual studio? Adriano Crestani On 3/8/07, Adriano Crestani [EMAIL PROTECTED] wrote: I'm using the Microsoft Visual Express and on the properties of my project I found

Re: [SDO C++] tyme.h

2007-03-08 Thread Adriano Crestani
Preprocessor Definitions is empty :s, so I inserted WIN32 in it and it worked. Thanks a lot Pete ; ) Adriano Crestani On 3/8/07, Pete Robbins [EMAIL PROTECTED] wrote: You shouldn't define WIN32 in your code or it won't work on Linux! By default the properties of a project should include a set

XMLDocument redefinition

2007-03-08 Thread Adriano Crestani
I`m trying to compile an app using sdo c++ and I get the following error: Error2error C2371: 'XMLDocument' : redefinition; different basic typesc:\program files\microsoft platform sdk for windows server 2003 r2\include\msxml.h12413 Adriano Crestani

[SDO C++] tyme.h

2007-03-07 Thread Adriano Crestani
Hi, I was trying to build a project that uses sdo c++, but it fails cause it`s not finding the time.h file. Where do I find this header? Adriano Crestani

Re: [DAS C++] Necessary classes for a initial simple read application

2007-03-02 Thread Adriano Crestani
Here is a good manual about ODBC: http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/topic/com.ibm.db2.doc.pdf/dsnodj13.pdf?noframes=true Adriano Crestani On 3/1/07, Luciano Resende [EMAIL PROTECTED] wrote: This might also be interesting read for you guys... http://wiki.apache.org/ws

Re: [DAS C++] Necessary classes for a initial simple read application

2007-02-27 Thread Adriano Crestani
I gave this name just cause it doesn't have all the classes and fuctionality of a real DAS library. But it will later become a complete DAS library, I expect ; ). You may call also DAS initial phase, I don't know. Adriano Crestani On 2/27/07, Luciano Resende [EMAIL PROTECTED] wrote: Hi

Re: [DAS C++] Necessary classes for a initial simple read application

2007-02-27 Thread Adriano Crestani
Sorry guys, the sdo article url I gave is wrong, the correctly url is: http://www-128.ibm.com/developerworks/webservices/library/ws-sdo-api/ Adriano Crestani On 2/27/07, Luciano Resende [EMAIL PROTECTED] wrote: Thanks for the clarification. Makes sense now. On 2/27/07, Adriano Crestani

Re: [DAS C++] Necessary classes for a initial simple read application

2007-02-26 Thread Adriano Crestani
http://people.apache.org/~lresende http://people.apache.org/%7Elresende On 2/16/07, Adriano Crestani [EMAIL PROTECTED] wrote: As me and Dannyel had some trouble on building and debugging this simple read app using das java, I created this short howTo to help anyone else that is also having

[jira] Created: (TUSCANY-1140) Implementation of DAS Lite Command classes

2007-02-26 Thread Adriano Crestani (JIRA)
Versions: Wish list Reporter: Adriano Crestani Assigned To: Adriano Crestani Fix For: Wish list Implementation of BaseCommandImpl, Command, CommandImpl and ReadCommandImpl classes as described on the DAS Lite class diagram: http://cwiki.apache.org/confluence

Re: [DAS C++] Necessary classes for a initial simple read application

2007-02-26 Thread Adriano Crestani
you will like that, it tells a lot about how c++ sdo works ; ) Adriano Crestani On 2/27/07, Adriano Crestani [EMAIL PROTECTED] wrote: I looked at the maven for netbeans page and it seems interesting, but I didn't have time to test it yet. Sorry Luciano, but what is a webApp skeleton? Could you

Re: [DAS] Refactoring DAS to allow multiple implementatons

2007-02-21 Thread Adriano Crestani
I suggest: DASFactory.registerFactory(RDB, org.apache.tuscany.das.rdb.impl.DASFactoryImpl); DASFactory factory = DASFactory.getInstance(RBD) DAS rdbDAS = factory.creDas(...) would it work? Than there would be possible to add factories dynamically. Adriano Crestani On 2/21/07, Luciano Resende

Re: DAS C++ - Design documents and Overall Documentation

2007-02-20 Thread Adriano Crestani
Hi, I updated the wiki and added a class diagram that we should use as reference when implementing DAS C++. http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=45093 Adriano Crestani On 2/11/07, Douglas Leite [EMAIL PROTECTED] wrote: Great! It´s better implement with UML

Re: [DAS C++] Necessary classes for a initial simple read application

2007-02-16 Thread Adriano Crestani
are needed to implement the simple read app. Then pick the classes you want to implement and create a JIRA for it ; ) Adriano Crestani On 2/9/07, Douglas Leite [EMAIL PROTECTED] wrote: Good ideia I´ll do it. On 2/9/07, Adriano Crestani [EMAIL PROTECTED] wrote: I have an idea to make it more

Re: mvn problem?

2007-02-15 Thread Adriano Crestani
. Adriano Crestani On 2/15/07, Jeremy Boynes [EMAIL PROTECTED] wrote: On Feb 14, 2007, at 10:15 PM, Adriano Crestani wrote: I suppose it would download many dependencies before BUILD SUCCESSFUL, but no dependency was download :s Am I missing something or it should work this way? It is meant

Re: mvn problem?

2007-02-15 Thread Adriano Crestani
] Adriano Crestani On 2/15/07, Jeremy Boynes [EMAIL PROTECTED] wrote: That's not a Tuscany issue per-se. Maven is trying to download its maven-site-plugin and that is in the central repo. There may be an issue with your network connection e.g. a proxy or firewall. Can you re-run with mvn

Re: mvn problem?

2007-02-15 Thread Adriano Crestani
OK, the problem probably is on my computer then. But thanks anyway for try to help me ; ) Adriano Crestani On 2/15/07, Jeremy Boynes [EMAIL PROTECTED] wrote: On Feb 15, 2007, at 7:34 AM, Adriano Crestani wrote: I deactivated my firewall, but it's still not working : (. I got it with mvn

Re: mvn problem?

2007-02-15 Thread Adriano Crestani
] - I created C:\Documents and Settings\ADR\.m2\repository\settings.xml as Luciano suggested, and tried mvn again, and I got the same :s. Adriano Crestani On 2/15/07, Luciano Resende [EMAIL PROTECTED] wrote: I just want to make sure you have done the following steps : 1.Rename

mvn problem?

2007-02-14 Thread Adriano Crestani
] I suppose it would download many dependencies before BUILD SUCCESSFUL, but no dependency was download :s Am I missing something or it should work this way? Thanks, Adriano Crestani

Re: mvn problem?

2007-02-14 Thread Adriano Crestani
OK, but the problem is I've already cleaned up all the tuscany files I had. And then I downloaded everything again from https://svn.apache.org/repos/asf/incubator/tuscany/java and the problem continues yet :s. Is there any problem to use tortoise instead of svn? Adriano Crestani On 2/15/07

Re: Getting Developer Jira access to Adriano Crestani

2007-02-11 Thread Adriano Crestani
Sorry Jeremy, but I'm not being able to access the developer options. Have you granted developer access for the user adriano_crestani? I don't remember if I've registered more than once. Adriano Crestani On 2/7/07, Luciano Resende [EMAIL PROTECTED] wrote: Thanks ! On 2/7/07, Jeremy Boynes

Re: Getting Developer Jira access to Adriano Crestani

2007-02-11 Thread Adriano Crestani
I tried to log in/out, but didn't work. There is no option to assign the task to me. Adriano Crestani On 2/11/07, Jeremy Boynes [EMAIL PROTECTED] wrote: That was the account I added (and the email associated with it is the one you sent this from). You might try logging out/in. What

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

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

Re: Getting Developer Jira access to Adriano Crestani

2007-02-11 Thread Adriano Crestani
It's working now, thanks Jeremy ; ) Adriano Crestani On 2/11/07, Jeremy Boynes [EMAIL PROTECTED] wrote: I think I fixed it - there was a JIRA upgrade recently and I think the permission mechanism changed. I can assign you an issue which I couldn't before - please let me know if it is working

Re: [DAS C++] Necessary classes for a initial simple read application

2007-02-09 Thread Adriano Crestani
to implement certain classes, he will be able to choose another classes to implement, instead of waiting for others to finish their classes. I think this way we may speed up the das c++ coding. Please, if a new JIRA is created report it here in this thread. Adriano Crestani On 2/8/07, Douglas

Re: DAS C++ - Design documents and Overall Documentation

2007-02-09 Thread Adriano Crestani
Cool, I think after we have the first classes of das c++ being used by the proposed simple read app we may produce some documentation like this ; ) Adriano Crestani On 2/9/07, Luciano Resende [EMAIL PROTECTED] wrote: Hi Guys It looks like couple people now working on the C

Re: [DAS C++] Necessary classes for a initial simple read application

2007-02-08 Thread Adriano Crestani
of each class you are going to implement and evaluate which methods really need to be implemented initially, cause not all methods of these classes are used for this simple app. Any suggestion about the app above will be appreciated. Adriano Crestani On 2/8/07, Douglas Leite [EMAIL PROTECTED] wrote

Re: [DAS C++] Necessary classes for a initial simple read application

2007-02-08 Thread Adriano Crestani
something useful working without the classes required for config-file support. -- Kevin Adriano Crestani wrote: Luciano suggested to implement at first, the necessary classes to create a simple app that only reads from a database using the das c++. I was checking on the das java

Re: [DAS C++] Necessary classes for a initial simple read application

2007-02-08 Thread Adriano Crestani
Thanks a lot kevin ; ). But I think it look likes the first code I posted, except by the assert you added. Adriano Crestani On 2/8/07, Kevin Williams [EMAIL PROTECTED] wrote: Your focus should probably be on the APIs your DAS will provide the user whether that is from a servlet or some other

Re: [DAS C++] Necessary classes for a initial simple read application

2007-02-08 Thread Adriano Crestani
Anyway, it simplified a lot the ap ; ) On 2/8/07, Adriano Crestani [EMAIL PROTECTED] wrote: Thanks a lot kevin ; ). But I think it look likes the first code I posted, except by the assert you added. Adriano Crestani On 2/8/07, Kevin Williams [EMAIL PROTECTED] wrote: Your focus should

Re: [DAS C++] Necessary classes for a initial simple read application

2007-02-08 Thread Adriano Crestani
A correction, there is need to download the das also, not only the sdo .jar: http://incubator.apache.org/tuscany/das_downloads.html On 2/8/07, Adriano Crestani [EMAIL PROTECTED] wrote: Anyway, it simplified a lot the ap ; ) On 2/8/07, Adriano Crestani [EMAIL PROTECTED] wrote: Thanks a lot

Re: [DAS C++] Necessary classes for a initial simple read application

2007-02-08 Thread Adriano Crestani
another suggestion in what you could be useful just let us know. Adriano Crestani On 2/8/07, Luciano Resende [EMAIL PROTECTED] wrote: I'd agree with Kevin's suggestion, for a simple C++ sample application that only performs a simple read, you shouldn't need the config classes, try to do in C

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

2007-02-07 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.20070208.patch DAS C

Re: Hello Community!

2007-02-07 Thread Adriano Crestani
Welcome douglas! ; ) On 2/7/07, Douglas Leite [EMAIL PROTECTED] wrote: OK! Thanks for the greetings! :p I hope participate actively on the main list soon. :) On 2/7/07, Simon Laws [EMAIL PROTECTED] wrote: On 2/6/07, Luciano Resende [EMAIL PROTECTED] wrote: Welcome Douglas !!! --

[DAS C++] Necessary classes for a initial simple read application

2007-02-07 Thread Adriano Crestani
and implement a simple read app with these classes. Any suggestion will be appreciated. Adriano Crestani

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

2007-02-06 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.20070207.patch DAS C

<    1   2   3   4   >