Alex Fabijanic
6dad8502d3
fix(Data):
...
* make bool Session::isTransaction() return Poco::Optional
* move parsing to Statement
* SQLParser make build
* other fixes and improvemets #4230
2023-11-01 00:25:46 +01:00
Alex Fabijanic
439acf1924
fix(Data): transactions are not handled properly #4230
2023-10-27 17:45:39 +02:00
Alex Fabijanic
efd9b2ca1d
feat(Data::ODBC) add MARS support #4230
2023-10-27 16:01:33 +02:00
Aleksandar Fabijanic
5131fe1c15
fix(Poco::Data): fixes and improvements #4198 ( #4199 )
...
* fix(Poco::Data): fixes and improvements #4198
* chore: remove inadvertently commited garbage file
* fix(SQLite): SQLChannel tests #4198
* fix(Data::SessionPool): Improve Data::SessionPool thread safety #4206
2023-10-22 12:53:54 +02:00
Günter Obiltschnig
a00bfbe89f
#4057 : ODBC: SQL Anywhere Support (fix)
2023-06-11 09:59:49 +02:00
Anton
93d18162f3
Add ODBC DirectExec public API ( #3502 )
...
* ODBC sqlDirectExec
* doc
* Small fix
* Fix tabs, add missing const, fix style
* Add test case
* Small fixes
* suggested fix for async
* test for returned values
2023-03-22 00:51:57 -05:00
MailShop
abd06ab4d9
ODBC: Fix DataFormatException getting Time value from SQL Server ( #3802 )
2023-03-17 15:51:57 -05:00
John Vandenberg
0e6e16645c
Remove trailing whitespace ( #3668 )
2022-07-07 04:18:20 -05:00
Alex Fabijanic
08d68ea474
fix(Data): Poco::Data::ODBC-dbEncoding property not used for insert/update #3396
2022-05-03 13:56:24 -05:00
Alex Fabijanic
4dfbcd33db
fix(Extractor): move extraction decoding to AbstractExtractor #3396
2022-04-28 22:23:04 -05:00
Günter Obiltschnig
666bac4454
#3330 : Poco::Data::ODBC::ODBCStatementImpl causes crash
2021-11-05 16:54:12 +01:00
Günter Obiltschnig
7f720ee6e1
#3321 : manually merge ODBC text encoding support
2021-06-22 08:30:05 +02:00
Günter Obiltschnig
7569ccf82b
#3318 : Data: Support Poco::UUID for data binding
2021-06-19 08:40:49 +02:00
Günter Obiltschnig
65cfa49dd9
fix include order
2021-04-16 08:07:53 +02:00
Günter Obiltschnig
7b44480486
#3153 : Poco::Data::ODBC [N]VARCHAR(MAX) wrong maxDataSize() result
2020-11-27 19:30:28 +01:00
Günter Obiltschnig
aa46e9b6e4
fixed type overloads
2020-01-09 18:02:29 +01:00
Günter Obiltschnig
c111fc89f6
ODBC fixes
2020-01-09 12:30:27 +01:00
Günter Obiltschnig
c15b6191b6
fixed GH #2807 : Poco::Data::ODBC Binding of SQL Decimal Type
2019-10-14 15:17:20 +02:00
Günter Obiltschnig
1282d757dc
make binding of std::string configurable (SQL_LONGVARCHAR - default or SQL_VARCHAR) in Connector
2019-08-16 14:16:01 +02:00
Vojtěch Erben
a73462aedf
Fixed ODBC SessionImpl
2018-11-20 10:57:58 +01:00
Alex Fabijanic
f6ddfe1d02
fix typeinfo compile error
2018-05-07 11:03:09 -05:00
Alex Fabijanic
55e56b668d
data fixes (getters constness, string any handling)
2018-05-07 15:23:19 +00:00
Alex Fabijanic
1b2bd22d34
wrong field size calculation in ODBC code #1659 and other develop backports
2017-10-30 13:24:32 -05:00
Alex Fabijanic
43195651af
Poco::Data ODBC impl doesn't bind to unsigned numeric types properly #1683
2017-10-20 22:14:07 -05:00
Günter Obiltschnig
04e7e04d4d
Remove \$Id`$ headers
2017-09-09 11:14:06 +02:00
Guenter Obiltschnig
2de97f7ef4
fixed file headers
2017-02-18 14:30:54 +01:00
Guenter Obiltschnig
6548da5678
fixed docs
2017-02-18 14:03:55 +01:00
Guenter Obiltschnig
f88eaabcea
fixed GH #1571 : ODBC Preparator memory leak
2017-02-11 12:24:36 +01:00
Jan Viktorin
45642a3d4f
Support ODBC GUID data type as string
...
The ODBC defines SQL_GUID datatype in sqlext.h. It is used
e.g. for transfer of UUID datatype from PostgreSQL.
Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
2016-11-12 21:25:23 +01:00
Jan Viktorin
97cbd9f03d
ODBC: fix uninitialized variable
...
This prevents valgrind reports like:
==18426== Conditional jump or move depends on uninitialised value(s)
==18426== at 0x6423EB5: Poco::Data::StatementImpl::execute(bool const&) (in /usr/lib/libPocoDatad.so.46)
==18426== by 0x641DB5F: Poco::Data::Statement::execute(bool) (in /usr/lib/libPocoDatad.so.46)
==18426== by 0x632A0C: Poco::Data::Keywords::now(Poco::Data::Statement&) (Statement.h:443)
==18426== by 0x641C8E5: Poco::Data::Statement::operator,(void (*)(Poco::Data::Statement&)) (in /usr/lib/libPocoDatad.so.46)
...
==18426== Uninitialised value was created by a stack allocation
==18426== at 0x6A1A170: Poco::Data::ODBC::ODBCStatementImpl::affectedRowCount() const (in /usr/lib/libPocoDataODBCd.so.46)
Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
2016-11-10 19:52:38 +01:00
Guenter Obiltschnig
91f0b270a6
fixed GH #1464 : ODBCMetaColumn::init() always maps integer NUMERIC/DECIMAL to Int32
2016-10-22 10:06:43 +02:00
Guenter Obiltschnig
4ee483d930
style fixes
2016-04-16 09:49:03 +02:00
Guenter Obiltschnig
b3a503c13e
removed automatic Connector registration in ODBC and SQLite
2016-03-01 17:40:58 +01:00
Aleksandar Fabijanic
86b81bfcbd
GH #499 : Poco::Data::Statement::execute returns wrong value when zero results (ODBC)
2014-12-17 23:36:26 -06:00
Alex Fabijanic
63a9c7cd2a
GH #512 : Poco:Data:ODBC:Binder.h causes a crash
2014-10-10 21:12:44 -05:00
Günter Obiltschnig
a2617235fe
#538 more dtor fixes and some style fixes along the way
2014-09-29 12:09:01 +02:00
Guenter Obiltschnig
85fd968a1e
#538 prevent destructors from throwing exceptions
2014-09-19 10:13:03 +02:00
Matyas Dolak
d434d3cb12
Fixed ODBC WString size handling.
...
This fixes a bug where Poco would return a string 1 character shorter than is actually in the DB (when the string in the DB uses the full length of a CHAR(N) or VARCHAR(N) column).
2014-09-16 15:23:03 +02:00
Mattes Dolak
ae3cc71263
Fixed ODBC on Win64.
...
The SQLGetConnectAttr() function can write up to 64-bit integers, as documented by MSDN here: http://msdn.microsoft.com/en-us/library/ms710297%28v=vs.85%29.aspx
This fix uses 64-bit integers instead of 32-bit ones, the original code corrupted the stack when used on win7-x64 with MSSQL 2008.
2014-07-16 09:19:03 +02:00
Alex Fabijanic
1aa28e1491
GH #290 : Unicode support
2014-05-21 03:28:24 -05:00
Roger Meier
b0581433a7
LICENSE: add info about SPDX-License-Identifier usage and use it
...
fix: remove executable flag and change back to 100644 (was 100755)
Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Alex Fabijanic
609a35578c
cleared some 64-bit warnings and test failures
2014-05-13 04:06:00 -05:00
Roger Meier
628a06f718
LICENSE: add info about SPDX-License-Identifier usage and use it
...
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
Alex Fabijanic
8a9e7792d9
- fixed GH #362 : Defect in Var::parseString when there is no space between value and newline
...
- fixed GH #314 : JSON parsing bug
- added GH #313 : MetaColumn additions for Data::ODBC and Data::SQLite
2014-04-29 21:25:30 -05:00
Aleksandar Fabijanic
ebff906402
more Data housekeeping
...
replaced more pointers with SharedPtr
2013-04-28 20:09:36 -05:00
Aleksandar Fabijanic
a50823c5a8
data housekeeping
...
- removed naked pointers from Data interfaces
- fixed GH #82 : name conflict in Data::Keywords::bind
- fixed GH #157 : MySQL: cannot bind to 'long' data type on
Windows/Visual C++
- fixed GH #158 : MySQL: MYSQL_BIND 'is_unsigned' member is not set
2013-04-28 12:34:07 -05:00
Aleksandar Fabijanic
225401743f
case-insensitivity for SessionPool
2013-04-21 21:39:37 -05:00
Guenter Obiltschnig
2481fdea78
- Data/ODBC: added support for setting query timeout (via setProperty
...
of "queryTimeout"). Timeout is int, given in seconds.
2013-04-10 22:07:10 +02:00
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