Commit Graph

75 Commits

Author SHA1 Message Date
aleks-f
4bcddad43e auto-init for db back-ends
Auto initialization for all DB back-ends and some tidy-up for network
windows auto initialization
2013-02-10 09:06:54 -06:00
aleks-f
7e1374a004 remove unecessary toLower()
make SessionFactory map keys case insensitive nad remove unnecessary
toLower() calls
2012-12-16 22:06:03 -06:00
Aleksandar Fabijanic
031302469f revise ODBC Unicode string functions
http://support.microsoft.com/kb/294169
added Buffer::size/capacityBytes returning length of buffer in bytes
only windows Unicode ODBC tested
reverting the SF #506 fix (non-conforming driver, causes problems with
other ODBC drivers)
2012-12-15 13:47:22 -06:00
aleks-f
e3d49fe766 Data::ODBC::SessionImpl.canTransact fails on Win7
SF #506: Data::ODBC::SessionImpl.canTransact fails on Win 7
2012-12-11 22:00:56 -06:00
Guenter Obiltschnig
79eab26377 the great line endings cleanup 2012-11-11 09:57:01 +01:00
Aleksandar Fabijanic
f7bd6a8fec OSX compile g++/clang Data,ODBC,SQLite 2012-09-21 05:06:37 +00:00
Aleksandar Fabijanic
69be5d7e98 - VS 80 build & OS version detection
- SF #3564756: iOS trunk compile fix
2012-09-11 02:02:23 +00:00
Aleksandar Fabijanic
5a639074d9 change EOL to 'native' 2012-04-29 18:52:25 +00:00
Aleksandar Fabijanic
db9e20b7fd minor Data fixes 2012-04-24 02:10:19 +00:00
Aleksandar Fabijanic
d75e68c027 new trunk (base for 1.5)
windows build only
2012-04-23 01:14:34 +00:00
Aleksandar Fabijanic
f9b60296f7 removing old trunk files 2012-04-23 00:43:14 +00:00
Aleksandar Fabijanic
3df497d2bf - fixed broken 2010 projects
- session handle property for SQLite and ODBC
- SQLite database utility functions and test:
(1) loading from disk to memory
(2) saving from memory to disk
2012-03-22 03:02:08 +00:00
Marian Krivos
f65f178b54 poco::data vs100 project updates 2011-09-14 13:09:29 +00:00
Aleksandar Fabijanic
b0bbfb5554 changed set|getTimeout() => set|getLoginTimeout()
added set|getConnectionTimeout()
2009-02-28 01:52:41 +00:00
Aleksandar Fabijanic
68a79674c1 SF [2643953] Improve Data::Session connection 2009-02-27 03:14:53 +00:00
Aleksandar Fabijanic
142c248754 use std::size_t in Data interfaces (may break some code on 64-bit platforms) 2009-02-16 03:34:35 +00:00
Aleksandar Fabijanic
d11f007d23 [SF 2580108] Improve transaction handling 2009-02-08 23:14:54 +00:00
Aleksandar Fabijanic
b38f5ce99c [SF 2505290] DB connection as URI (MySQL not tested!) 2009-01-13 19:51:48 +00:00
Aleksandar Fabijanic
a42e8d919b [SF 2272430] BLOB and CLOB
Renamed:
(Abstract)Preparation => (Abstract)Preparator
(Abstract)Prepare => (Abstract)Preparation
2008-11-24 00:38:23 +00:00
Aleksandar Fabijanic
9d9db7ce90 fixed memory leaks in Preparation and Binder 2008-11-13 02:18:29 +00:00
Aleksandar Fabijanic
d67bccf359 [2127319] ODBC fails to detect drivers w/ unixODBC 2008-09-24 23:23:46 +00:00
Aleksandar Fabijanic
fc5a503593 Changes related to following tracker items:
[2025916] ODBC binds empty string as null?
[2000408] DynamicAny non-initialized state support
[1981130] pointless comparison of unsigned integer with zero

and some refactoring.

Warning: only tested on Windows.
2008-07-29 20:11:38 +00:00
Aleksandar Fabijanic
d4f2be3fd2 SF [2019857] Memory leak in Data::ODBC Extractor (fixed using Poco::Buffer) 2008-07-20 17:05:18 +00:00
Aleksandar Fabijanic
f574e90f41 SF [2019857] Memory leak in Data::ODBC Extractor 2008-07-17 00:40:59 +00:00
Aleksandar Fabijanic
93c6bb0725 removed ODBCStatementImpl stored procedure hack
renamed TypeInfo::getSafeInfo to tryGetInfo
2008-07-16 21:02:56 +00:00
Peter Schojer
e7ce0a5b52 reduced exception throwing 2008-07-09 08:51:19 +00:00
Aleksandar Fabijanic
e2fafc6404 [1983595] ODBCMetaColumn type detection fix 2008-06-03 13:52:00 +00:00
Aleksandar Fabijanic
4fe33a7c49 Sun Studio ODBC compile fixes 2008-05-30 19:00:11 +00:00
Aleksandar Fabijanic
405e2e5cba POCO_DATA_INVALID_ROW constant and Constants.h header 2008-03-20 17:57:24 +00:00
Aleksandar Fabijanic
f7aa11c7f5 removed NoDataException throw 2008-02-07 20:14:40 +00:00
Aleksandar Fabijanic
eeb285bb93 - removed position parameter to setParamSetSize() (not used)
- execute call in SQLChannel wrapped in try-catch
2008-02-06 02:29:09 +00:00
Aleksandar Fabijanic
9dde6fb1ef ODBC string truncation bug fix 2008-02-02 21:45:21 +00:00
Aleksandar Fabijanic
fd1d5aed5f date and time types macros 2008-01-26 16:01:42 +00:00
Aleksandar Fabijanic
bc8f7e8680 some compilation refactoring 2008-01-22 02:05:04 +00:00
Aleksandar Fabijanic
5e1605823b SQLite multiple statement handling 2008-01-21 00:56:52 +00:00
Aleksandar Fabijanic
9e8e627347 - SQL logging channel and archiving strategy
- row formatting refactored
- affected row count for insert, delete and update returned from Statement::execute()
- internal SQL string formatting capability using Poco::format()
2008-01-12 18:25:27 +00:00
Aleksandar Fabijanic
b57f579d16 SyntaxExcpetion changed into DataFormatException; couple of comment fixes 2008-01-05 21:22:12 +00:00
Aleksandar Fabijanic
76079f5baa unixODBC Unicode support (compiles, not tested) 2008-01-05 20:47:42 +00:00
Aleksandar Fabijanic
6adc6346e6 UnixODBC Unicode support (!not tested!) 2008-01-02 00:20:06 +00:00
Aleksandar Fabijanic
ad61968449 bulk internal extraction fixes and tests; some renaming/refactoring 2007-12-21 02:33:26 +00:00
Aleksandar Fabijanic
7a6904b383 internal bulk extraction; some fixes for recently added features 2007-12-20 00:20:13 +00:00
Aleksandar Fabijanic
8c3d87b1c7 std::deque and std::list bulk support 2007-12-19 02:37:40 +00:00
Aleksandar Fabijanic
1c4e777ab3 - added session "bulk" feature
- removed ODBC driver capability check
2007-12-17 00:20:04 +00:00
Aleksandar Fabijanic
c26de87394 added bulk, removed step 2007-12-16 17:44:46 +00:00
Aleksandar Fabijanic
6e0efdc493 some win Unicode fixes 2007-11-23 13:53:39 +00:00
Aleksandar Fabijanic
2e10390593 - Unicode support (Windows only at this time, UNIX T.B.D.)
- SF bug #1836684 fix (ODBC data lengths in subsequent execute calls)
- many refactoring/cosmetic changes
2007-11-22 23:11:51 +00:00
Aleksandar Fabijanic
fca08a18df step, date, time 2007-11-10 23:21:28 +00:00
Aleksandar Fabijanic
95c5230389 batch statements (multiple results) support 2007-11-06 02:18:32 +00:00
Aleksandar Fabijanic
c3c422d87d multiple results (WIP, compiles and tests pass) 2007-11-04 23:33:07 +00:00
Aleksandar Fabijanic
e7ac6e383c Any and DynamicAny binding/extraction 2007-10-31 01:29:21 +00:00