Subject | RE: [Firebird-Java] Re: Type 2 driver modifications are ready for review. |
---|---|
Author | Blas Rodriguez Somoza |
Post date | 2003-06-10T10:02:49Z |
Hello Ryan
At 09/06/2003 17:03 +0100, Ryan Baldwin wrote:
2 driver is only valid for windows platform.
Blas Rodriguez Somoza
At 09/06/2003 17:03 +0100, Ryan Baldwin wrote:
>Hello,By default the test should be only against type 4, mainly because the type
>
>I've continued to develop the type 2 driver modifications. The main things
>I've done since my last post are:
>
>1) Exposed type 2 driver.
>
> a) Through DriverManager.getConnection() using url
> 'jdbc:firebirdsql:native
>etc etc'. Url 'jdbc:firebirdsql etc etc' uses type 4 as normal.
>
> b) Through FBManager. There has now a constructor which takes a
> Type(a
>typesafe enumeration public on FBManager). eg. new FBManager(Type.TWO)
>or new FBManager(Type.FOUR) - the default constructor creates a type 4 as
>normal.
>
>2) Modified tests for so that tests in packages 'jca', 'jdbc' and
>'management' get run against the driver in type 2 mode and type 4 mode.
>Properties in the build file can be used to remove the type 2 or type 4
>tests from these packages individually. This doesent require the tests
>themselves to know which versions there executing against - they just must
>export a custom test suite object.
2 driver is only valid for windows platform.
> I may not have done this in the best possible way. I've uploadedExcuse me but I didn't test it, I'll try to find some time today.
>'example_of_test_reports.zip' to
>http://groups.yahoo.com/group/Firebird-Java/files/ - so that people can see
>how these changes affect the output.
>
>
>
>I havent heard anything from Blas regarding the testing on the jar file I
>made available.
>
>I have now made available 'firebirdsql-full_withtype2changes_02.jar' which
>incorporates these latest changed. The type for functionality can be tested
>on windows by taking the file 'native/x86/win32/fbjclient.dll' from within
>this jar file out onto the path for the application or into System32 and
>then using one of the methods described above to use type 2 mode.
>
>I'm waiting still for the go ahead to commit these mods.
>My questions before commiting are:
>
>1) Blas, have you had a chance to test the jar - did you find any problems -
>are you happy for me to commit or do you have any further questions or any
>objections ?(You may wish to also test the latest
>'firebirdsql-full_withtype2changes_02.jar' i've uploaded).
>2) David, Are you happy for me to commit these changes ? Or do you have anyRegards
>questions/objections before hand ?
>
>There is a fair bit too these modifications - but considering - the
>modifications to existing code is not really hugley extensive.
Blas Rodriguez Somoza