Search the web
Sign In
New User? Sign Up
DatabaseTemplateLibrary · The Database Template Library
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 541 - 570 of 2479   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
541
Hmm... it is hard to tell from this, but it looks to me like it is crashing in your Postgress ODBC driver code. My recommendation on the first thing to try...
Corwin Joy
corwinjoy
Offline Send Email
Mar 6, 2003
3:19 pm
542
a.. 1.. Version 3.4.2; Released March 06, 2003 ***Bugfixes*** 2.. Fixed bugs in bulk insert to where one could overflow the buffer. 3.. Added fix for broken...
Corwin Joy
corwinjoy
Offline Send Email
Mar 6, 2003
7:05 pm
543
my env: gcc version 3.2.2 dtl: 4.3 postgresql 7.3.1 unixODBC: 2.2.4 I built the lib and test program with the default options. then import the table to the...
sheltontang
Offline Send Email
Mar 6, 2003
9:02 pm
544
Friends It's nice to be back! After a looong time with out doing any database programming, it's time to update the DTL version and back to code. Right now I...
savagobr
Offline Send Email
Mar 7, 2003
3:34 am
545
I think your problem here is that your Example class needs a default constructor. e.g. as per the "example" project: class Example { private:...
Corwin Joy
corwinjoy
Offline Send Email
Mar 7, 2003
4:13 am
546
Corwin Sorry to make such question. Adding the default constructor to class made it to compile without any problem..... and the compiler actually is VC++ 6.0...
savagobr
Offline Send Email
Mar 8, 2003
1:15 am
547
Our project is using both STLPort and DTL with MSDotNet. After upgrading from DTL 3.3 to 4.2 we encountered the following errors: \DTL\lib\array_string.h(40)...
tjenki03
Offline Send Email
Mar 13, 2003
1:48 am
548
Hi, I'm new to DTL. I noticed that the "long long" (64-bit integer) type is not one of the suppported C++ types as described in the documentation, and ...
bowlbear_aa
Offline Send Email
Mar 13, 2003
8:36 pm
549
... Well, I guess it is not supported because it is not portable. You haven't mentioned, but I think you use gcc. I use VS 7.0 (a.k.a. VS.NET), and the C++...
Adrian SPERMEZAN
ro_spadi
Offline Send Email
Mar 14, 2003
7:40 pm
550
Well, as noted by others, "long long" is not 100% portable since it is not supported by e.g. MSVC 6.0. If you want to bind a type like this anyway, what you...
Corwin Joy
corwinjoy
Offline Send Email
Mar 14, 2003
8:11 pm
551
Hi,Corwin, I also run the example project. But the result is similar with the test. !!!!!!!!!!!!!!!!!!!!! Begin Example CStringExample () !!!!!!!!!!!!!!!!!!!! ...
sheltontang
Offline Send Email
Mar 15, 2003
3:56 am
552
Please note the "FAILURE" and "SUCCESS" comments in the following code. Do you have any ideas? This is not the behavior I would expect from an iterator....
tjenki03
Offline Send Email
Mar 17, 2003
7:37 pm
553
The problem here is that you are using the sql_iterator wrong. Because this is an output iterator, execution only happens on assignment. So, your inner loop...
Corwin Joy
corwinjoy
Offline Send Email
Mar 17, 2003
7:47 pm
554
Thank you for your time. Thomas P. Jenkins, 321-727-5175 Software Engineer, STAT Harris Corporation, Dept. 9706 MS 2-9452, Bldg. 2, Rm. 146B ... From: Corwin...
Jenkins, Thomas
tjenki03
Offline Send Email
Mar 18, 2003
1:11 am
555
Hi, I'm using Informix database and DataDirect ODBC driver. In my database I've tables with column that is of BYTE type. In DataDirect, it is mapped as...
bowlbear_aa
Offline Send Email
Mar 18, 2003
11:46 pm
556
Hello, I've got mysql 3.23.51 running on Redhat Linux 6.1. DTL seems unable to connect to the database; it reports an error finding whatever table I pass in....
paul_robert_wendt
paul_robert_...
Offline Send Email
Mar 19, 2003
3:31 pm
557
Here is the deal on this. When we bind a binary column, we do not typically know what the maximum length will be upfront. Instead, when we bind the column we...
Corwin Joy
corwinjoy
Offline Send Email
Mar 19, 2003
4:03 pm
558
As you say, it sounds like a configuration problem. My first instinct would be to try some of the ODBC test tools to check your ODBC configuration and make...
Corwin Joy
corwinjoy
Offline Send Email
Mar 19, 2003
4:07 pm
559
Hi, As mentioned before I'm using Informix database with DataDirect ODBC driver. I tried to read a BYTE field (binded as SQL_LONGVARBINARY) from my database...
bowlbear_aa
Offline Send Email
Mar 19, 2003
4:09 pm
560
Hmm... this looks like a definite bug. I had thought that character and binary data were treated the same in SQLGetData, but as you point out this is not the...
Corwin Joy
corwinjoy
Offline Send Email
Mar 19, 2003
4:29 pm
561
Corwin, Thank you very much for your prompt reply! 1. Yes it works for me but it might not be desirable as setting it to maximum would slow things down for all...
bowlbear_aa
Offline Send Email
Mar 19, 2003
5:20 pm
562
Hi Corwin, I've another idea. According to ODBC Doc (SQLBindParameter/StrLen_or_IndPtr Argument) : "The StrLen_or_IndPtr argument points to a buffer that, when...
bowlbear_aa
Offline Send Email
Mar 19, 2003
5:29 pm
563
Actually, your idea to set the length in MoveWrite is an excellent one! This should solve the problem nicely and not break any existing drivers out there. So,...
Corwin Joy
corwinjoy
Offline Send Email
Mar 19, 2003
5:53 pm
564
I am currently getting an error in SqlPutData() when writing data back to an MSSQL image field. The code was working perfectly with mySQL. BoundIO.cpp:1472...
Ryan Roberts
ryan_s_roberts
Offline Send Email
Mar 19, 2003
5:55 pm
565
What error message does the MSSQL driver give? That might shed some light on what the problem is....
Corwin Joy
corwinjoy
Offline Send Email
Mar 19, 2003
6:24 pm
566
Oh, the actual ODBC error is 22001 'String data,right truncation'. Ryan....
Ryan Roberts
ryan_s_roberts
Offline Send Email
Mar 19, 2003
7:31 pm
567
Oh, the actual ODBC error is 22001 'String data,right truncation'. Ryan....
Ryan Roberts
ryan_s_roberts
Offline Send Email
Mar 19, 2003
7:31 pm
568
Thanks Corwin! This fix works for me. :) Cheers, Arthur ... one! ... BytesFetched ... the ... correctly ... to ... require ... length ... are ... newer ... ...
bowlbear_aa
Offline Send Email
Mar 19, 2003
8:03 pm
569
Basically what this message means is that not all of the data is able to be written to the given column. There are a couple possibilities here: 1. The data...
Corwin Joy
corwinjoy
Offline Send Email
Mar 19, 2003
10:06 pm
570
Well, other ODBC programs work just fine when connecting to the Linux database on this box on the same client computer, too. I've narrowed down the error a...
paul_robert_wendt
paul_robert_...
Offline Send Email
Mar 20, 2003
3:20 pm
Messages 541 - 570 of 2479   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help