Commit Graph

11 Commits

Author SHA1 Message Date
Andrzej J.R. Hunt
75b2c92cfb Improve exceptions in Statement.
Change-Id: Ib1915c143abee8c9162477da07462a68dd45e03c
2013-08-11 16:05:09 +01:00
Andrzej J.R. Hunt
6044f52c5e Improve statement handle handling.
Change-Id: I81809634600c580bb50843e697071d62bc6802a4
2013-08-11 16:05:08 +01:00
Andrzej J.R. Hunt
54a138db91 Commit after DDL statement. (firebird-sdbc)
Changes made in a DDL statement are only usable after a
commit in firebird, e.g. a created table won't appear etc.

Change-Id: I3b537f495b6bc96fa48ebc1a3e46205da60bb2d4
2013-08-07 18:23:37 +01:00
Andrzej J.R. Hunt
ebe37593c5 Clean up ResultSet management. (firebird-sdbc)
Change-Id: I00cd0aa08a5a3da17f06933ebc3422a6b4b8bc74
2013-08-07 18:23:37 +01:00
Andrzej J.R. Hunt
da25756ba9 Remove unnecessary F- prefix for firebird-sdbc files.
Change-Id: I6574ef7fd1c26770a74b2d1f2b0d997fcca97779
2013-07-31 16:06:58 +02:00
Andrzej J.R. Hunt
a2af2407ae Update licence headers / rebase on APL'd skeleton driver (firebird-sdbc)
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-29 12:55:51 +01:00
Andrzej J.R. Hunt
5d7573df1d Remove unneded string sanitisation (firebird-sdbc).
This was only needed because of the incorrect sql dialect
previousy used which didn't permit quoted identifiers.

Change-Id: I31b50add0363f14c8a8cc228f3dfbe084fe42d1c
2013-07-24 20:36:01 +02:00
Andrzej J.R. Hunt
dc318a3568 Define SQL dialect driver-wide and change to 3. (firebird-sdbc)
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-24 20:36:00 +02:00
Andrzej J.R. Hunt
cacb32caab Clean up naming of OStatement_Base etc. (firebird-sdbc)
Change-Id: I4cb81565ae2fa6efd434e6e789f16fab90d0ae4a
2013-07-23 19:29:06 +02:00
Andrzej J.R. Hunt
ed9dac3baf Move Statement specific methods out of common base. (firebird-sdbc)
Change-Id: If85f7f419b7c67bc84f8a74422cc8c9080a34353
2013-07-23 19:29:06 +02:00
Andrzej J.R. Hunt
2b541c928c Move Statement_Base into it's own file (firebird-sdbc).
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-23 19:29:05 +02:00