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...
Show off your group to the world. Share a photo of your group with us.

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 1658 - 1688 of 2479   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1658
Hi, I'm succesful using DTL with Oracle fore a while, but now I have to change to MS SQLServer. My problem is that some table columns named BEGIN or KEY are...
mhandschug
Offline Send Email
Jul 4, 2005
5:55 pm
1659
I think that putting quote marks around reserved words is a good idea. We might want to generalize this so that it could work across multiple database types...
Corwin Joy
corwinjoy
Offline Send Email
Jul 4, 2005
6:36 pm
1660
Hi! I have problem to run a program that use both the Berkeley database and DTL. I made some testing to find out why a program of mine systematically produced...
Georges Dupret
gericdupret
Offline Send Email
Jul 7, 2005
5:06 am
1661
Hi! I have problem to run a program that uses both the Berkeley database and DTL. I made some testing to find out why a program of mine systematically produced...
Georges Dupret
gericdupret
Offline Send Email
Jul 7, 2005
7:29 pm
1662
Hi All: I am using DTL with NCR's Teradata DBMS and Oracle 9i. I have a problem with the function GetFieldInfo(...) in bind_basics.cpp, which will return a...
Strickrott, Jeffrey
strij019
Offline Send Email
Jul 8, 2005
8:51 pm
1663
The idea behind calling GetFieldInfo(...) was to try and be clever and find out what the primary key column(s) are for a table. If those columns are not ...
Corwin Joy
corwinjoy
Offline Send Email
Jul 9, 2005
4:57 am
1665
Hi Corwin: The call to GetFieldInfo(...) in this instance is from the constructor call to DynamicDBView when it tries to initialize it's parent. As I...
Strickrott, Jeffrey
strij019
Offline Send Email
Jul 12, 2005
2:06 pm
1666
Jeffery, As you point out, the problem is that when we compare the key columns to the table columns, we are using the original TableFieldsList which does not...
Corwin Joy
corwinjoy
Offline Send Email
Jul 12, 2005
3:55 pm
1667
Hi Corwin: That will do the same thing, I just did not want to change your logic too much. I will make your change and let you know if I run into anything that...
Strickrott, Jeffrey
strij019
Offline Send Email
Jul 12, 2005
6:04 pm
1668
Hi, For some weird reason, one of my boolean (tinyint(1)) columns had a value of -72 instead of 1. Because of this, the DTL would refuse to update the value...
Paul
elegant_dice
Online Now Send Email
Jul 14, 2005
6:33 am
1669
Hi Corwin/All: My application requires that I interoperate with both Oracle and Teradata. I am testing with Oracle ODBC driver version 9.02, Teradata version...
Strickrott, Jeffrey
strij019
Offline Send Email
Jul 14, 2005
6:10 pm
1670
Hi All: I have a sample program that obtains the column metadata for the DB_Example table and attempts to print out the metadata twice using a sql_iterator...
Strickrott, Jeffrey
strij019
Offline Send Email
Jul 14, 2005
10:34 pm
1671
I would have to run tests to be sure, but this probably has to do with how we have "optimized" assignment for select_iterator. If you look at the assignment...
Corwin Joy
corwinjoy
Offline Send Email
Jul 15, 2005
4:26 am
1672
Jeff, Thanks for this fix. It looks good and I will check it into CVS along with the other one for field names....
Corwin Joy
corwinjoy
Offline Send Email
Jul 15, 2005
4:52 am
1673
Paul, That sounds like a reasonable change there. On the other hand, you might want to add an assert() in your class to test for values outside of {0, 1} since...
Corwin Joy
corwinjoy
Offline Send Email
Jul 15, 2005
4:58 am
1674
Hi Corwin: I researched the problem more and it is related your exception safe assignment in sql_iterator.h When we reassign the iterator it = view.begin(),...
Strickrott, Jeffrey
strij019
Offline Send Email
Jul 16, 2005
4:29 pm
1675
Hi Corwin: What would be the issues with adding the bulk_copy method to the sql_iterator? I would like to use this feature for some custom DB specific queries...
Strickrott, Jeffrey
strij019
Offline Send Email
Jul 18, 2005
8:07 pm
1676
Hi Jeff, I think if you just copy the bulk_copy code to sql_iterator it should go through fine. sql_iterator is very similar to select_iterator, about the only...
Corwin Joy
corwinjoy
Offline Send Email
Jul 19, 2005
2:56 am
1677
Jeff, Thanks for looking into this. What I have done in CVS is just directly fix the DBStmt::Reset() function to handle catalog calls. This should fix...
Corwin Joy
corwinjoy
Offline Send Email
Jul 19, 2005
3:07 am
1678
Hi again... I'm trying to use DTL on an AMD64 with Gentoo Linux (64bit), and running in some problems. I have tried my program with unixODBC and both mysql and...
Stefan Kluehspies
Stefan_Klueh...
Offline Send Email
Jul 19, 2005
8:49 pm
1679
Stephan, I haven't tried it on AMD64, but we don't do anything CPU specific, so my first guess would be that the ODBC drivers may be behaving irregularly. ...
Corwin Joy
corwinjoy
Offline Send Email
Jul 20, 2005
5:27 pm
1680
Hi Corwin, I know, there are so many variables (my program, dtl, unixOdbc, the driver...). I tried both defines, but every time the same thing. I have debugged...
Stefan_Kluehspies
Stefan_Klueh...
Offline Send Email
Jul 22, 2005
6:44 am
1681
Hello! Get a quick glance of Computing News and Resources here http://www.allinonedirectory.info/ComputingNews/ Take care, Kathy "Love is just like life, it's...
Kathy S
kathy_tn34
Offline Send Email
Jul 26, 2005
2:38 pm
1682
Hello all, I need some sort of concurrency control in my application and I was thinking about using optimistic locking. The application is currently using...
vveloso
Offline Send Email
Jul 28, 2005
1:45 pm
1683
I'm about to go on vacation so I don't have much time to explain. See the docs in DTL on exceptions and transactions. Just wrap your operation in a transaction...
Corwin Joy
corwinjoy
Offline Send Email
Jul 29, 2005
11:35 pm
1684
OK... If I understood you correctly, you're telling me that I can implement pessimistic locking by using transactions. The document you mentioned does tell me...
vveloso
Offline Send Email
Aug 1, 2005
2:49 pm
1685
Hi Corwin, sorry, but I think I'm lost... I tried both defines, but no luck. I tried to debug it, but at some point, the DataObj seems not properly ...
Stefan_Kluehspies
Stefan_Klueh...
Offline Send Email
Aug 1, 2005
8:59 pm
1686
... mysql, but ... I got that too. fedora 3, postgresql-odbc-7.3, postgres 7.4.8, unixODBC 2.2.9 I assumed that the postgres odbc drivers 'packaged' with...
jag164
Offline Send Email
Aug 5, 2005
8:21 pm
1687
By default, the select...update iterator uses an update of the form update tablename set value = new_value where primary_key = x; Whether this lock is...
Corwin Joy
corwinjoy
Offline Send Email
Aug 8, 2005
3:45 am
1688
I am trying to use the nullable<> template class to define a member in a DTL_TABLEn()-defined row class, and am getting compiler errors. I am using MS Visual...
Moshe Z. Matitya
moshem_kayote
Offline Send Email
Aug 9, 2005
4:12 pm
Messages 1658 - 1688 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