summaryrefslogtreecommitdiff
path: root/connectivity
AgeCommit message (Collapse)Author
2013-07-29Implement a large chunk of getTypeInfo. (firebird-sdbc)Andrzej J.R. Hunt
Change-Id: Ide63479943dad50000b72bc132f336bace11a09c
2013-07-29Fix typo.Andrzej J.R. Hunt
Change-Id: I1473facceb0b08289052282b93a6e1fb46f0ea14
2013-07-29Implement getColumnPrivileges. (firebird-sdbc)Andrzej J.R. Hunt
Change-Id: I31e179462a06db135467e8b78e4b550cc603a04a
2013-07-29Implement getTablePrivileges. (firebird-sdbc)Andrzej J.R. Hunt
Change-Id: Id5bb79fdd01014594582de2bad6e16142259b0ce
2013-07-29Use column name for getColumnLabel (firebird-sdbc).Andrzej J.R. Hunt
Change-Id: I2e92c5dbdfe4cb9d8441e2d120b139fe97209d3e
2013-07-29fdo#67387 skip separating space between date and time in timestampLionel Elie Mamane
Change-Id: I3c38d179f8b2f59e79cd889fa88f4582f650c09e
2013-07-29Update licence headers / rebase on APL'd skeleton driver (firebird-sdbc)Andrzej J.R. Hunt
The firebird driver was created on the basis of the skeleton driver (odk/examples/DevelopersGuide/Database/DriverSkeleton/). This is under BSD licence within the LO codebase but was relicenced as ALV2 within AOO. (see http://svn.apache.org/viewvc?view=revision&revision=1239200 ) MPL added as all my changes to the driver are released as MPL. Change-Id: Iea22043281fbc16f6813ce97dce449b10914a91d
2013-07-28remove unnecessary const_castLionel Elie Mamane
Change-Id: I49348d953614f997d26cb9ad44e39aa0f4b937d2
2013-07-25Remove unused struct definition (firebird-sdbc).Andrzej J.R. Hunt
Change-Id: Idfe8a76c0c14291688f009a1d0b07cd80488f31e
2013-07-25Disable case insensitivity in findColumn (firebird-sdbc).Andrzej J.R. Hunt
In theory it is possible to have case insensitive identifiers in firebird however these are only used with unquoted identifiers. Base by default always uses quoted identifiers, there doesn't seem to be any way of determining whether we are dealing with a case insensitive identifier when retrieving it from the database either. Change-Id: I4df0ab10c5a7c15ecde099e36978ac2e6c4ad0be
2013-07-25Cleanup XResultSetUpdate in ResultSet / throw exceptions (firebird-sdbc).Andrzej J.R. Hunt
Change-Id: Ifc5437f10421ba00c16caa860f9737444a81d891
2013-07-25FunctionNotSupported exceptions for XResultSetUpdate. (firebird-sdbc)Andrzej J.R. Hunt
Change-Id: Ie24ba7eeb8d638433fe6b27d74d70121472347c5
2013-07-25Implement the remaining execute* in PreparedStatement (firebird-sdbc)Andrzej J.R. Hunt
Change-Id: I7df7e926c352f5d0ddf7acb4df9b4060a634140d
2013-07-25Comment and cleanup unsupported batch methods (firebird-sdbc)Andrzej J.R. Hunt
Change-Id: I553265a0f492e8c5c258cf94aead2019ff1f9350
2013-07-25Implement getMetaData in PreparedStatement (firebird-sdbc).Andrzej J.R. Hunt
Change-Id: I61450c2617f53ad9de13f667fa01d7a7dde31f85
2013-07-25Make evaluateStatusVector a namespace function. (firebird-sdbc)Andrzej J.R. Hunt
We're not in java after all... Change-Id: I145fbd7adad5e03a7c9e7bcf28cb2f80ce40ba9e
2013-07-25Remove old unneeded commented code. (firebird-sdbc)Andrzej J.R. Hunt
Change-Id: I82013ac933b3a30093593e32fd202de351a96599
2013-07-25Upgrade the last bit of pr_error to use exceptions. (firebird-sdbc)Andrzej J.R. Hunt
Change-Id: I066cd519158c6d28ed410e4f62d9418dcf95a6c3
2013-07-25fdo#67269 adapt checkTable to getTableName changeLionel Elie Mamane
getTableName used to return schema.table; now it returns just table But tables are indexed by schema.table in getTables(), so reconstruct that for the lookup. Change-Id: I53da1e43762b3a470e34b5dfdb0e1bb3dc914780
2013-07-24Tidy up / implement identifier metadata (firebird-sdbc).Andrzej J.R. Hunt
Change-Id: Ifcfcd3434b4fa50b9018365b738fcc922e03d9b2
2013-07-24Remove unneded string sanitisation (firebird-sdbc).Andrzej J.R. Hunt
This was only needed because of the incorrect sql dialect previousy used which didn't permit quoted identifiers. Change-Id: I31b50add0363f14c8a8cc228f3dfbe084fe42d1c
2013-07-24Allow specifying username/password (firebird-sdbc).Andrzej J.R. Hunt
This shouldn't be used with embedded dbs as that tries to load the non-existing security.fdb -- embedded dbs work without any user specified. Change-Id: I1576695e68b226344b2defb45d1c5a92aa6e08b1
2013-07-24Define SQL dialect driver-wide and change to 3. (firebird-sdbc)Andrzej J.R. Hunt
Previously the driver used firebird sql dialect = 1 (IB 5.5 or earlier) however we need support for delimited identifiers, DATE, TIME, TIMESTAMP etc. which are all available from IB6 onwards ie. sql dialect 3. Currently this is the latest dialect supported by firebird. Change-Id: Ia2302bf69bda877d81f8995843cce6c606e7ed43
2013-07-24Mark as constTakeshi Abe
Change-Id: Ia3996b997ebbd10ca02ec5a24d1969822bc39273
2013-07-23Clean up naming of OStatement_Base etc. (firebird-sdbc)Andrzej J.R. Hunt
Change-Id: I4cb81565ae2fa6efd434e6e789f16fab90d0ae4a
2013-07-23Move Statement specific methods out of common base. (firebird-sdbc)Andrzej J.R. Hunt
Change-Id: If85f7f419b7c67bc84f8a74422cc8c9080a34353
2013-07-23Move Statement_Base into it's own file (firebird-sdbc).Andrzej J.R. Hunt
This is in preparation of cleanly separating the code shared by PreparedStatment and Statement from the code unique to either of those classes. Change-Id: I419668044e67b25d492a381acab9ee9b1acce7ce
2013-07-23Remove unnecessary OStatement_BASE2 (firebird-sdbc).Andrzej J.R. Hunt
Seemingly a relic from the skeleton driver? Change-Id: I7c5ba9763daee51b1c8b23f614e3d9501858a29c
2013-07-23Cleanup firebird-sdbc header defines.Andrzej J.R. Hunt
Previously directly taken from skeleton driver, some possible conflicts. Change-Id: I9469ed8a3bb78a18b68fce3c8a9272eeb38349ba
2013-07-22Hopefully the last ambiguous conversion fix (firebird-sdbc).Andrzej J.R. Hunt
Change-Id: If290239444f4849e3f5355a3c0a64416fc5c691d
2013-07-22Fix implicit conversion error (firebird-sdbc).Andrzej J.R. Hunt
Change-Id: I67ecd01655bdde73a279926c65f81555e550b7ca
2013-07-22Further minor fixes (firebird-sdbc).Andrzej J.R. Hunt
Change-Id: I1ed77e7910bd59aa0534ff7fb32d96e3432b58d3
2013-07-22Join on correct fields for getColumns() (firebird-sdbc)Andrzej J.R. Hunt
Change-Id: I2e3f260b0f043806702fb03ff74c1ef6bbe9cc62
2013-07-22sqltype indicates isNullable. (firebird-sdbc)Andrzej J.R. Hunt
Change-Id: I1cf454847f7dc83195596b7274f4fa2c434fcc69
2013-07-22Implement the first parts of FPreparedStatement.Andrzej J.R. Hunt
Change-Id: Iad9561fa6b200ce5efcacc4c0b7b822aaaf9adb0
2013-07-22Move allocation of SQLVAR memory to Util (firebird-sdbc).Andrzej J.R. Hunt
(Is also needed for allocating sqlin data in prepared statement.) Change-Id: Id572ddbc582c709c8d361ca6e9a670fb8f2d2165
2013-07-22Remove some unnecessary uses of XSQLDA->sqlvar (firebird-sdbc).Andrzej J.R. Hunt
Change-Id: I69ea81a66decb817d5962206e4a6c30537bce02c
2013-07-22Disambiguate ctor calls, fix windows build.Thorsten Behrens
Fixup for 074ef06c908af1e5c6922a0c8ff9ccc9a9d54063 Change-Id: I5ceb153cda6112c4e8751ee0b63c19f442ccf18a
2013-07-22Implement getColumns() (firebird-sdbc).Andrzej J.R. Hunt
Change-Id: I07e9af5e049d58dc794cad4481a2f4e2b1fe547d
2013-07-22Fix blr type conversion.Andrzej J.R. Hunt
Change-Id: Ie2ed26110c944c27f767d818139d8526e278f33d
2013-07-22Add conversion of blr types to firebird SQL_ types.Andrzej J.R. Hunt
Internally firebird uses blr_* types -- we encounter these values e.g. when retrieving column metadata within RDB$FIELD_TYPE. These can be converted to the firebird SQL_* types for use within the rest of the driver as appropriate. Change-Id: If9a9bc3c58d99a2f61f52faef6316e2d3451af1a
2013-07-22Sql types are short within firebird.Andrzej J.R. Hunt
Change-Id: Iff9baf31ce06a71c6c460a7689c7bac817370b27
2013-07-22Move sqltype identification into Util (firebird-sdbc).Andrzej J.R. Hunt
Change-Id: I2e3068bf46555fea63c62bc1abc8a467c588a8b5
2013-07-22rtl::OUString prefix cleanup FDatabaseMetaData (firebird-sdbc).Andrzej J.R. Hunt
Change-Id: I210ff31a69c7dc1d5bc3478d6494ad3c0959904f
2013-07-21Add theoretical support for table descriptions (firebird-sdbc).Andrzej J.R. Hunt
Untestable as we currently can't write blobs and therefore don't have any way of reading blobs. Change-Id: I7226bf89ec014c796279ce8075f1b82f36c3b7b1
2013-07-21Implement the first parts of XBlob. (firebird-sdbc)Andrzej J.R. Hunt
Change-Id: Iebb80168ec6fb941ca936834ed2275a598dff55e
2013-07-21Some cleanup of getTables(). (firebird-sdbc)Andrzej J.R. Hunt
Change-Id: I0a16d5a97a25a95b61b1fd11cf276b72d7dad7c5
2013-07-21Add retrieval of SQL_VARYING (firebird-sdbc).Andrzej J.R. Hunt
Change-Id: I504283d4ba83df1d8e5da7bee180ba181c651bb4
2013-07-21Remove unneeded SAL_INFO/WARN/DEBUG.Andrzej J.R. Hunt
Change-Id: I5212105c14619000a177433ad0326cae6bec3a6c
2013-07-21Ensure statement handles are cleanly disposed (firebird-sdbc).Andrzej J.R. Hunt
Change-Id: If9406f409a31a00a530b2f458293f3836e178c8e