|
From: Roman R. <rro...@us...> - 2004-12-04 10:43:38
|
Update of /cvsroot/firebird/client-java/src/main/org/firebirdsql/gds In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17526/src/main/org/firebirdsql/gds Modified Files: GDS.java AbstractGDS.java Log Message: allowed calling commit/rollback in Oracle mode Index: GDS.java =================================================================== RCS file: /cvsroot/firebird/client-java/src/main/org/firebirdsql/gds/GDS.java,v retrieving revision 1.17 retrieving revision 1.18 diff -b -U3 -r1.17 -r1.18 --- GDS.java 10 Nov 2004 19:01:03 -0000 1.17 +++ GDS.java 4 Dec 2004 10:43:24 -0000 1.18 @@ -76,6 +76,12 @@ public BlobParameterBuffer newBlobParameterBuffer(); + /** + * Get the type of the GDS implementation. + * + * @return instance of {@link GDSType}. + */ + GDSType getType(); // -------------------- Database functions ----------------------- Index: AbstractGDS.java =================================================================== RCS file: /cvsroot/firebird/client-java/src/main/org/firebirdsql/gds/AbstractGDS.java,v retrieving revision 1.5 retrieving revision 1.6 diff -b -U3 -r1.5 -r1.6 --- AbstractGDS.java 10 Nov 2004 19:01:04 -0000 1.5 +++ AbstractGDS.java 4 Dec 2004 10:43:24 -0000 1.6 @@ -46,9 +46,15 @@ * {@link GDSType}. * * @return The type of the current <code>GDS</code> implementation + * + * @deprecated use {@link #getType()} instead. */ public GDSType getGdsType() { + return getType(); + } + + public GDSType getType() { return gdsType; } |