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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

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 1684 - 1714 of 2479   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
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
1689
Hi Moshe, I haven't tried using nullable in those DTL_TABLEx situations, I assume they work. I use nullables a lot, and I thought < would work. However, there...
Paul
elegant_dice
Online Now Send Email
Aug 10, 2005
12:38 am
1690
Hi, Paul. Thank you for sending me your version of nullable.h. It is definitely different from the one I was using. When I tried yours, it eliminated the ...
Moshe Z. Matitya
moshem_kayote
Offline Send Email
Aug 10, 2005
9:48 am
1691
Hi, Yeah I did have to change a few other things to get nullable<> working as it should. Looks like you are well behind. hmm. Personally, I would do what I...
Paul
elegant_dice
Online Now Send Email
Aug 10, 2005
2:43 pm
1692
Actually I think the code in CVS is reasonably stable at this point. What I really need to do is run and examine the test suite thoroughly and make a new...
cjoy@...
corwinjoy
Offline Send Email
Aug 10, 2005
8:27 pm
1693
Hello Corwin: I have added the bulk_copy code to the sql_iterator class (per your message below). For reads it executes as expected, but on inserts it will not...
Strickrott, Jeffrey
strij019
Offline Send Email
Aug 11, 2005
1:36 am
1694
Jeff, The reason the bulk_copy code from DB_select_iterator does not work for inserts is that it was designed to assume we were only fetching data, therefore...
Corwin Joy
corwinjoy
Offline Send Email
Aug 12, 2005
4:08 am
1695
Hi Corwin: Of course, I just assumed that the bulk_copy code was shared between the select_iterator and insert. My mistake and illustrates the problems ...
Strickrott, Jeffrey
strij019
Offline Send Email
Aug 12, 2005
3:40 pm
1696
Corwin, The select_update iterator is indeed in USE_ALL_FIELDS mode and SQL Server doesn't like the resulting command when some of the original fields in the...
Aspas
vveloso
Offline Send Email
Aug 12, 2005
5:01 pm
1697
Vasco, Probably we should agree on terminology here - I don't really like the terms "optimistic lock" and "pessimistic lock" that much since databases tend to...
Corwin Joy
corwinjoy
Offline Send Email
Aug 13, 2005
4:20 am
1698
i'm jumping in without probably knowing the full story, but i've had to fix DTL where clause generation when it comes to NULL types (for the nullable<> class)....
Paul
elegant_dice
Online Now Send Email
Aug 13, 2005
4:30 pm
1699
Paul, How did you fix this to change the sql on the fly as needed? It sounds great but I'm not sure how you would do it... Corwin...
Corwin Joy
corwinjoy
Offline Send Email
Aug 13, 2005
6:35 pm
1700
Hi, I've already fixed this, I'll have a look at the source code in a week or so (its really busy right now), but if you look at previous emails by me, you'll...
Paul
elegant_dice
Online Now Send Email
Aug 14, 2005
2:30 pm
1701
Today I tried to compile dtl taken from cvs. I had problems compiling tests with borland free compiler. It appears that recent changes force inlining in a...
Darko Miletic
kiklop_74
Offline Send Email
Aug 14, 2005
3:02 pm
1702
I have made a new minor release to correct the issues reported here over the last few months and put into CVS. Version 3.6.10; Released Aug 14, 2005 ...
Corwin Joy
corwinjoy
Offline Send Email
Aug 15, 2005
4:56 am
1703
Hello! Recently I've run in some inconsistency problem when working with dates through jtime_c class. To store current time in the table of MS SQL Server I've...
Artem Bozhenov
redart_98
Offline Send Email
Aug 16, 2005
4:01 pm
1704
Yes, using field = (NULL) instead of field IS NULL was the problem, IIRC. So, from the latest messages, it looks like this problem has already been addressed...
Aspas
vveloso
Offline Send Email
Aug 16, 2005
4:25 pm
1705
I discovered an issue while compiling new release of dtl on Fedora core 2. linux with stlport 5.0. The problem is in RootException.h at class ImplErr. STLPort...
Darko Miletic
kiklop_74
Offline Send Email
Aug 16, 2005
5:00 pm
1706
The DTL_STRUCTN classes try to define a stream operator for the struct when they create it. The error you are getting: 'operator <<' is ambiguous" is (I guess)...
Corwin Joy
corwinjoy
Offline Send Email
Aug 17, 2005
6:20 am
1707
Hi all, I just uploaded a little fix for nullable.h, the DTL now compiles for boost 1.30, 1.32, 1.33, none (ie no boost), and for gcc 3.0, 3.3, 4.0.1, and...
Paul
elegant_dice
Online Now Send Email
Aug 18, 2005
9:22 am
1708
For those that are interested, there is a renewed discussion on the Boost developers' list about a database library and now some code in the sandbox CVS. It's...
Richard Jennings
richard06_2005
Offline Send Email
Aug 22, 2005
8:21 am
1710
Richard, Thanks for pointing this out! Corwin ... From: "Richard Jennings" <richard.jennings@...> To: <DatabaseTemplateLibrary@yahoogroups.com> Sent:...
Corwin Joy
corwinjoy
Offline Send Email
Aug 23, 2005
3:05 am
1711
Andrej, What happens inside DTL is that we just have a flag inside the DBConnection object that gets set to true the first time a connection is made and after ...
Corwin Joy
corwinjoy
Offline Send Email
Aug 24, 2005
1:16 am
1712
Note: forwarded message attached. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection...
Kathy S
kathy_tn34
Offline Send Email
Aug 25, 2005
10:46 am
1713
Hylke, Honestly, this is a stumper. My first instict is to call SQLGetConnectAttr just like you have done to test if the connection is active. The only other...
Corwin Joy
corwinjoy
Offline Send Email
Aug 26, 2005
1:37 am
1714
Why not just forget the whole thing and have your app do a simple SQL statement every hour to keep the connection alive? Otherwise I would say this is a bug in...
Geoffrey Gowan
ggowan_2000
Offline Send Email
Aug 26, 2005
5:54 pm
Messages 1684 - 1714 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