Skip to content

Commit

Permalink
Merge pull request #369 from vrogier/develop-v4.7.7
Browse files Browse the repository at this point in the history
Develop v4.7.7
  • Loading branch information
vrogier authored Jan 14, 2025
2 parents 3ce8acc + e45fccf commit 891cf2a
Show file tree
Hide file tree
Showing 237 changed files with 6,430 additions and 4,840 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -191,3 +191,4 @@ testlog.manifest
*.lock
*.vsidx
*.bin
*.json
50 changes: 49 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,7 +1,55 @@
2023-02-08 Version 4.7.6 Vincent Rogier [email protected]
2025-01-14 Version 4.7.7 Vincent Rogier [email protected]

* Enhancements (C API)

- Oracle XMLTYPE is now partially supported
* Added OCI_XmlType* data type (OCI_CDT_XMLTYPE) that can only be fetched from resultets in this current release
* OCI_ColumnGetType() reports "XMLTYPE" as SQL type
* OCI_TypeInfoGet() returns a valid OCI_TypeInfo handle for the type name "SYS.XMLTYPE"
* OCI_GetString() returns a string representation of a XMLTYPE object
* Added the following new APIs:
- OCI_GetXmlType()
- OCI_GetXmlType2()
- OCI_XmlTypeToText()
* In this current release, use OCI_GetString() instead of OCI_GetXmlType() as:
- OCI_XmlType handles can only be used to getting XML content strings, which is already done by OCI_GetString()
- In later releases, OCI_XmlType API will evolve to support local xml object creation, DOM manipulation, SQL binding

* Enhancements (C++ API)

- Oracle XMLTYPE is now partially supported:
* Added ocilib::XmlType class (that can only be retrieved using ocilib::Resultset::Get<ocilib::XmlType>())
* ocilib::Resultset::Get<ostring>() returns a string representation of the XMLTYPE object
- Added Interval::GetNanoSeconds() and Interval::SetNanoSeconds()

* Fixes (C API)

- Issue 329: OCI_GetSqlIdentifier() returns invalid values for Scrollable Statements when called more than once
- Issue 332: OCI_TypeInfoGet() : since v4.7.4, in case of failure, OCI_TypeInfo object is not removed from OCI_Connection internal list of OCI_TypeInfo objects
- Issue 331: Strange behaviour with XMLTYPE
- Issue 332: OCI_TypeInfoGet() : In case of failure, newly created OCI_TypeInfo object is not removed from OCI_Connection internal cache
- Issue 333: OCI_GetServerMajorVersion() returns wrong values for Oracle Server version < 18.1
- Issue 334: OCI_RefToText() return garbage when charset is OCI_CHARSET_WIDE
- Issue 347: OCI_MsgGetEnqueueTime() leaked DateTime handle causing OCI_Cleanup() reporting unfreed handle
- Issue 348: OCI_EventGetObject() might returned garbage character after object name
- Issue 354: OCI_ElemSetRaw() performed wrong check on element datatype
- Issue 361: Fixed HA event callback processing

* Fixes (C++ API)

- Issue 351: C++ Value types perform handle assignment instead of value assignment
- Issue 355: Since v4.7.5, connection acquired from ocilib::Pool where not released, leading to pool exhaustion
- Issue 362: Calling Environment::Initialize() / Environment::Cleanup() multiple times per process might lead to segfaults with latest embedded vc143 runtime

* Documentation

- Issue 352 : Fixed documentation for OCI_PoolGetNoWait and ocilib::Pool::SetNoWait()
- Issue 363 : Fixed documentation for OCI_IntervalGetDaySecond() and OCI_IntervalSetDaySecond(), Interval::GetDaySecond() and GetSaySecond()

2023-02-08 Version 4.7.6 Vincent Rogier [email protected]

* Fixes (C API)

- Issue 326: OCI_GetTimeout() always returns 0 since v4.7.0

* Fixes (C++ API)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
# Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
Expand Down
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@SET_MAKE@

# Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
# Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
Expand Down
4 changes: 2 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
ocilib -- History of visible changes.

Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
See the end for copying conditions.

Please send ocilib bug reports to [email protected].

-------------------------------------------------------
Copying information:

Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>

Permission is granted to anyone to make or distribute verbatim copies
of this document as received, in any medium, provided that the
Expand Down
3 changes: 2 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Website: http://www.ocilib.net
*
* Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
* Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
*
*/

Expand Down Expand Up @@ -58,6 +58,7 @@ FEATURES
* Describe database schema objects
* Hash tables API
* Portable Threads and mutexes API
* Partial support for XMLTYPE (fetching only as string content)

===========================================================================
DOWNLOAD
Expand Down
1 change: 1 addition & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ The source code is free source code licensed under **Apache License, Version 2.0
- Describe database schema objects
- Hash tables API
- Portable Threads and mutexes API
- Partial support for XMLTYPE (fetching only as string content)

## 5. Installation

Expand Down
5 changes: 3 additions & 2 deletions README.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Website: http://www.ocilib.net
*
* Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
* Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
*
*/

Expand Down Expand Up @@ -58,7 +58,8 @@ FEATURES
* Describe database schema objects
* Hash tables API
* Portable Threads and mutexes API

* Partial support for XMLTYPE (fetching only as string content)

===========================================================================
DOWNLOAD
===========================================================================
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.7.6
4.7.7
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
# Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
Expand Down
2 changes: 1 addition & 1 deletion demo/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
# Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
Expand Down
2 changes: 1 addition & 1 deletion demo/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@SET_MAKE@

# Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
# Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
Expand Down
2 changes: 1 addition & 1 deletion demo/Makefile_demo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
# Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
Expand Down
2 changes: 1 addition & 1 deletion demo/Makefile_demo.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
# Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
Expand Down
2 changes: 1 addition & 1 deletion demo/Makefile_demo_cpp.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
# Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
Expand Down
2 changes: 1 addition & 1 deletion demo/long.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ int main(void)


OCI_ExecuteStmt(st, "select content from test_long_raw where code = 1");
OCI_SetLongMaxSize(st, 10000);
OCI_SetPieceSize(st, 10000);

rs = OCI_GetResultset(st);

Expand Down
2 changes: 1 addition & 1 deletion demo/ocilib_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Website: http://www.ocilib.net
*
* Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
* Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions demo/ocilib_demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Website: http://www.ocilib.net
*
* Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
* Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -739,7 +739,7 @@ void test_piecewise_insert(void)
Statement st(con);
Blong lg(st);
st.Prepare(otext("insert into test_long_raw(code, content) values (1, :data)"));
st.SetLongMaxSize(static_cast<unsigned int>(size));
st.SetPieceSize(static_cast<unsigned int>(size));
st.Bind(otext(":data"), lg, static_cast<unsigned int>(size), BindInfo::In);
st.ExecutePrepared();

Expand Down
2 changes: 1 addition & 1 deletion demo/ocilib_demo.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Website: http://www.ocilib.net
*
* Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
* Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion doc/html/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
# Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
Expand Down
2 changes: 1 addition & 1 deletion doc/html/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@SET_MAKE@

# Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
# Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
Expand Down
1 change: 1 addition & 0 deletions doxygen/DataTypes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
* NAMED DATATYPE (TYPE, OBJECT) | OCI_Object * | | ocilib::Object | |
* PL/SQL RECORD | OCI_Object * | | ocilib::Object | |
* REF | OCI_Ref * | | ocilib::Reference | |
* XMLTYPE | OCI_XmlType * | | ocilib::XmlType | |
*
* @}
*
Expand Down
2 changes: 1 addition & 1 deletion doxygen/Doxyfile.dox
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PROJECT_NAME = "OCILIB (C and C++ Driver for Oracle)"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 4.7.6
PROJECT_NUMBER = 4.7.7

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
3 changes: 2 additions & 1 deletion doxygen/Introduction.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

@section Version Version information

Current version : <b>4.7.6</b>
Current version : <b>4.7.7</b>

@section Features Main features

Expand Down Expand Up @@ -49,6 +49,7 @@ Current version : <b>4.7.6</b>
- Describe database schema objects
- Hash tables API
- Portable Threads and mutexes API
- Partial support for XMLTYPE (fetching only as string content)

@section Download Download

Expand Down
2 changes: 1 addition & 1 deletion include/ocilib.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Website: http://www.ocilib.net
*
* Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
* Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
5 changes: 3 additions & 2 deletions include/ocilib.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Website: http://www.ocilib.net
*
* Copyright (c) 2007-2023 Vincent ROGIER <[email protected]>
* Copyright (c) 2007-2025 Vincent ROGIER <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -154,6 +154,7 @@ namespace ocilib

/* Including core implementations */

#include "ocilibcpp/detail/core/MemoryDebugInfo.hpp"
#include "ocilibcpp/detail/core/Utils.hpp"
#include "ocilibcpp/detail/core/Enum.hpp"
#include "ocilibcpp/detail/core/Flags.hpp"
Expand All @@ -165,7 +166,6 @@ namespace ocilib
#include "ocilibcpp/detail/core/ConcurrentMap.hpp"
#include "ocilibcpp/detail/core/ConcurrentList.hpp"
#include "ocilibcpp/detail/core/SmartHandle.hpp"
#include "ocilibcpp/detail/core/MemoryDebugInfo.hpp"

/* Including support implementations */

Expand Down Expand Up @@ -198,6 +198,7 @@ namespace ocilib
#include "ocilibcpp/detail/TypeInfo.hpp"
#include "ocilibcpp/detail/Object.hpp"
#include "ocilibcpp/detail/Reference.hpp"
#include "ocilibcpp/detail/XmlType.hpp"
#include "ocilibcpp/detail/Collection.hpp"
#include "ocilibcpp/detail/CollectionIterator.hpp"
#include "ocilibcpp/detail/CollectionElement.hpp"
Expand Down
Loading

0 comments on commit 891cf2a

Please sign in to comment.