Hello, I have a question, I am trying to use the DTL to copy idential tables between two different database systems (sorta like a backup/migration program)....
I read the archives, one question comes periodic all the time: Whats about native db access? The autors compared ODBC with native db access and listet pros and...
There are a couple items about the code below that jump out at me as being potentially "unsafe" which might be causing your problem. Potential problem 1: Even...
We keep thinking that it would be nice to add a native layer abstraction to the internals. Haven't really gotten around to it, so far we've been more focused...
Corwin, Thanks for the thoughts. I have actually been working on this for about two days now and have finally found something that works (but is not very...
Corwin, Would you be interested in any of the work that we have done here to support some of the MFC data types in the DTL. Mainly CString at the moment....
I think what we probably need to do is add a mechanism to make it easy for anyone to add a new datatype to the library without having to change the library...
I still think it has to be an order of fields problem or that somehow you are sending the target database the wrong type. If you can send us an example table...
Finally! After six months Mike and I have made the push to get out a new release. You can find a complete list of new features in the release notes but here...
I'd still like to do that. Because of the size, however, Mike and I are trying to "get our feet wet" with a small submission in the form of vec_multiset...
Hi corwin, why didn't you include that autotools stuff I sent you into the new version? It won't be a serious problem for me since I got my scripts to convert ...
Matthias Küspert
mkuespert@...
Jan 19, 2002 10:13 pm
184
... From: "Matthias Küspert" <mkuespert@...> To: <DatabaseTemplateLibrary@yahoogroups.com> Sent: Saturday, January 19, 2002 3:07 PM Subject: Re:...
Shawn, You were right on this one. We had a bug which only shows up in situations where you copy from one DynamicDBView iterator to another on a different ...
Hello! I'm trying out the new DTL3.2.1 with SapDB and got an endless loop in BoundIO.cpp, in the Fetch-Loop beginning at line 337: while...
Peter Schäfer
peter.schaefer@...
Jan 20, 2002 8:08 pm
187
Thanks for this! Theoretically, according to the ODBC standard a driver is supposed to return NO_DATA_FETCHED when it is done sending data -- but I see not...
Hello, there seems to be a problem with support of unicode and/or unsigned short. When the ETI map gets build, the types "unsigned short" and "wchar_t" both...
You're right. The typedefs for these two will come out the same and there is not a way for the compiler to distinguish between a single wchar_t and and...
Hello again, I have problems with storing float and char values into my tables. Whenever I try to map a float value to a table column of type single or double,...
Unfortunately, the bindings you have below are illegal. Your DataObj must be a class or struct with DTL-supported data types inside only (built-in types, char...
Hello Mike, I've tried what you suggested, but the result didn't change. I have declared the rowbuf struct containing a float posX and I include the line ...
In fact, I think the ETI map may be wrong here. If you look in sql.h (or sqlext.h) it should show what SQL_REAL is defined as. What we want is float - we may...
I've looked at the ETI map and confirmed that it was indeed wrong ... SQL_C_FLOAT maps to SQL_REAL, not to SQL_FLOAT as we erroneously had. I've gone ahead...
Hello, now that we are in the ETI map, I was able to track down the other problem I've had: the one with "char" binding. To recap: I want to bind an 8-bit...
Hello, I agree on the topic of modifying resp. not modifying the ETI map. The solution you suggested (BoundIO::SetSQLType) sounds good, but is not enough in my...
I guess I would like to understand better what you are trying to do. I'm all for "trust the programmer" but if you override the C_TYPE what you are telling...
Hi, let me explain my problem: I have an existing application, that declares some structures containing one-byte integers of C type "char". The content of...
OK. What you are doing makes sense and it is safe since SQL_C_TINYINT is read by ODBC as integer type bound to a char so this should be fine. I will add this...