Commit Graph

179 Commits

Author SHA1 Message Date
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
Marian Krivos
f65f178b54 poco::data vs100 project updates 2011-09-14 13:09:29 +00:00
Aleksandar Fabijanic
d0d667af56 added support for Var assignment to Var-enabled types 2009-11-13 00:12:26 +00:00
Aleksandar Fabijanic
ffd027c38a SF [2150438] Tuple TypeHandler position increment size is wrong 2009-11-02 02:17:58 +00:00
Aleksandar Fabijanic
05131182b8 RowFormatter - progressive and bulk formatting modes 2009-11-01 15:58:32 +00:00
Aleksandar Fabijanic
65ad81c363 - made prefix() and postfix() virtual
- avoid stream operator calls when copying empty strings
2009-10-29 17:45:02 +00:00
Aleksandar Fabijanic
e1d57cf0dc propagate the RowFormatter change to the Row collection 2009-10-02 18:25:40 +00:00
Aleksandar Fabijanic
10bdb05987 serialize SessionPoolContainer access 2009-09-23 20:25:25 +00:00
Aleksandar Fabijanic
49101951a2 improved support for multiple statement execution and recordset paging 2009-08-11 14:34:21 +00:00
Aleksandar Fabijanic
64b3bc8b76 [SF 2809131] SessionPool compile failure 2009-06-20 00:33:31 +00:00
Aleksandar Fabijanic
810cfd2ff4 preserve/restore session features/properties within the pool 2009-05-14 11:05:44 +00:00
Aleksandar Fabijanic
0bd881fd5e SessionPoolContainer: added getPool() and FastMutex locking 2009-05-12 20:04:27 +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
b2454e3b83 few tidy-up fixes 2009-02-13 14:14:16 +00:00
Aleksandar Fabijanic
a8c39370be [SF 2593784] SVN trunk RowIterator 2009-02-12 19:43:22 +00:00
Aleksandar Fabijanic
08efaa0572 Removed Transactor template (not needed), fixed documentation, additional tests 2009-02-10 15:51:42 +00:00
Aleksandar Fabijanic
d11f007d23 [SF 2580108] Improve transaction handling 2009-02-08 23:14:54 +00:00
Aleksandar Fabijanic
363711ed39 SessionPoolContainer::get() fix
few documentation fixes
consolidated redundant MySQL connection params
2009-01-15 17:01:34 +00:00
Aleksandar Fabijanic
b38f5ce99c [SF 2505290] DB connection as URI (MySQL not tested!) 2009-01-13 19:51:48 +00:00
Aleksandar Fabijanic
2f7c6b4aa5 make Row field names case-insensitive 2009-01-07 16:12:40 +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
4b4ec9393c - introduced Poco::Dynamic namespace
- moved/renamed:
Poco::DynamicAny => Poco::Dynamic::Var
Poco::DynamicAny typedef for backward compatibility (deprecated)
DynamicAny.h forwarding header for backward compatibility (deprecated)

Poco::DynamicAnyHolder => Poco::Dynamic::VarHolder
DynamicAnyHolder.h forwarding header for backward compatibility (deprecated)

Poco::DynamicStruct => Poco::Dynamic::Struct
Poco::DynamicStruct typedef for backward compatibility (deprecated)
DynamicStruct.h forwarding header for backward compatibility (deprecated)

- changed FastMutex to Mutex in Data::SessionPool (deadlocking)
2008-11-16 16:54:37 +00:00
Aleksandar Fabijanic
dcede96ede added SessionPoolExistsException
when duplicate session add is requested by name, it is silently ignored
2008-10-21 13:39:47 +00:00
Aleksandar Fabijanic
4e0cc97d6a SessionPool::name() (maybe this should go into session?)
SessionPool::shutdown() (hanging on destruction for static object - Timer?)
2008-10-17 18:48:27 +00:00
Aleksandar Fabijanic
9a024d4516 SessionPool sessions feature/property setters and getters
SessionPoolContainer
2008-10-13 19:20:17 +00:00
Aleksandar Fabijanic
c94cd468de RowIterator positioning 2008-08-25 12:42:31 +00:00
Aleksandar Fabijanic
6b3b3e852f few Row sorting fixes/optimizations 2008-08-14 22:53:45 +00:00
Aleksandar Fabijanic
e409026fba SF [2047672] RecordSet Filtering 2008-08-12 10:12:56 +00:00
Aleksandar Fabijanic
e55781ba66 changed AbstractExtraction::isValueNull(const std::string&, bool) from specialization to overload 2008-07-30 13:54:58 +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
b1f895eed8 DynamicAny improvements (now holds any type out-of-the-box), some refactoring and documentation improvements 2008-06-30 00:26:54 +00:00
Aleksandar Fabijanic
cfbe8fd28a SF [2000408] DynamicAny non-initialized state support (more changes/fixes) 2008-06-23 21:48:23 +00:00
Aleksandar Fabijanic
8e993b9240 fix for failing testRow() 2008-06-23 20:32:05 +00:00
Aleksandar Fabijanic
d2de70c58a namespace Keywords (!!! breaks existing code !!!)
Following keywords were moved from Poco:Data to Poco::Data::Keywords namespace

- now
- use
- bind
- into
- in
- out
- io
- from
- bulk
- null
- limit
- upperLimit
- lowerLimit
- range
2008-03-20 20:31:23 +00:00
Aleksandar Fabijanic
3848bfbb53 added AutoTransaction 2008-03-17 12:14:07 +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
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
41c775b41d - use() takes reference now
- bind() for constants
- Statement: allow for easier external binding supply
2008-01-16 03:32:10 +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
e1d27fecba RowFormatter redesign, sample and some other minor changes 2008-01-05 21:19:33 +00:00
Aleksandar Fabijanic
ad61968449 bulk internal extraction fixes and tests; some renaming/refactoring 2007-12-21 02:33:26 +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
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
dacc28ff55 renamed _ptr => _pImpl 2007-10-31 22:08:15 +00:00
Aleksandar Fabijanic
a6aa475b55 Any and DynamicAny out and io 2007-10-31 21:48:22 +00:00
Aleksandar Fabijanic
e7ac6e383c Any and DynamicAny binding/extraction 2007-10-31 01:29:21 +00:00
Aleksandar Fabijanic
9ea88d25dd swap optimization 2007-10-27 18:53:32 +00:00
Aleksandar Fabijanic
5eb03ba814 outline nvl 2007-10-27 18:52:25 +00:00
Aleksandar Fabijanic
5d4080e7f4 fix for Statement async execution and a diagnostics improvement in RecordSet 2007-10-17 01:23:03 +00:00
Aleksandar Fabijanic
1d774be07b RowFormatter strategy 2007-10-03 01:45:34 +00:00
Aleksandar Fabijanic
d9364e8f51 some async-robustness additions and tests for Statement 2007-09-30 16:42:17 +00:00
Aleksandar Fabijanic
6e380b6b13 Various feature additions and fixes:
- asynchronous execution for Data::Statement
- ActiveMethod copy and assignment
- added Data components to $POCO_BASE/components
- SQLite 64-bit integer default
- SessionPool timer seconds to milliseconds
- ODBC fix for subsequent calls to execute()
- std::deque (instead of std::vector) as default container
2007-09-29 18:40:43 +00:00
Aleksandar Fabijanic
0dfd7bec3b removed bool _executed member (not used) 2007-09-26 21:48:02 +00:00
Aleksandar Fabijanic
228d48ad14 proper bool support 2007-09-22 01:20:20 +00:00
Guenter Obiltschnig
40c0f41fa0 improved ODBC error reporting (SQL_NO_DATA) 2007-09-19 20:01:48 +00:00
Aleksandar Fabijanic
3b66a355c2 DateTime support & some test tidying 2007-08-20 11:55:18 +00:00
Guenter Obiltschnig
dfbc0e1d24 added Session::isTransaction() 2007-08-10 14:08:45 +00:00
Aleksandar Fabijanic
b2977d3df2 Row and RowIterator done and tested (windows and linux) 2007-06-23 01:22:55 +00:00
Aleksandar Fabijanic
c9b65928db ODBC generic nulls, added Row and RowIterator 2007-06-22 02:07:48 +00:00
Aleksandar Fabijanic
7fac905b65 null bindings and RecordSet::isNull (SQLite done and tested, ODBC todo) 2007-06-19 23:24:16 +00:00
Aleksandar Fabijanic
5feefc75cd Stored procedures for DB2 & PostgreSQL, StatementImpl::isStoredProcedure() function 2007-06-16 02:48:57 +00:00
Guenter Obiltschnig
0b2b989a95 SQLite fixes; minor cosmetic fixes 2007-06-13 15:11:21 +00:00
Aleksandar Fabijanic
f5d1b17306 std::string stored proc in-bound binding 2007-06-06 22:43:10 +00:00
Aleksandar Fabijanic
7944f7868b DateTime binding & I/O parameters fix 2007-06-06 01:26:58 +00:00
Aleksandar Fabijanic
c1ecb3ee05 configurable internal storage 2007-05-30 23:20:47 +00:00
Aleksandar Fabijanic
911d0c5b82 Stored procedure support 2007-05-25 22:15:46 +00:00
Guenter Obiltschnig
d480055a85 final Data changes 2007-05-16 11:23:29 +00:00
Aleksandar Fabijanic
6027101fa6 0-based col/row, RecordSet metadata, Tuple sample 2007-05-16 04:17:03 +00:00
Guenter Obiltschnig
b9f60b8f5e some renaming and clean-up 2007-05-15 18:34:37 +00:00
Guenter Obiltschnig
01bcb63000 committed Data 2007-05-12 14:41:03 +00:00