VAST 9.0, 64-bit, Oracle, Timestamp

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

VAST 9.0, 64-bit, Oracle, Timestamp

Hermann Ottens
Hi group,

is it possible, that the method
AbtOracle10TimeStampField>>length
   ^4
is incorrect under 64-Bit-VASmalltalk?

I'm using the following script (database programming guide)

| conSpec connection querySpec resultCollection |
conSpec := AbtDatabaseConnectionSpec
     forDbmClass: #AbtOracle10DatabaseManager
     databaseName: '.....'.
["================================"
connection := conSpec connect.
resultCollection := OrderedCollection new.
querySpec := (AbtQuerySpec new)
      statement: 'SELECT * FROM ....'.
(connection resultTableFromQuerySpec: querySpec)
    do: [:eachRow | resultCollection add: eachRow asString].
"================================"]
ensure: [connection disconnect].
resultCollection inspect.

and i'm getting a Primitive failed in PlatformFunction>>callWithArguments:... due to GPF
The database table contains a column with type timestamp.
If i change the aforementioned method to return 8 instead of 4, it runs successfully.

Has anybody experienced the same problem?

Cheers,
Hermann

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: VAST 9.0, 64-bit, Oracle, Timestamp

Bob Brodd
Hi Hermann,

I am able to duplicate this error on the x64 platform so I will open a case on this issue.  I'll be in touch when we have a fix for it.

Thanks,
Bob Brodd

On Wednesday, October 25, 2017 at 11:33:59 AM UTC-4, Hermann Ottens wrote:
Hi group,

is it possible, that the method
AbtOracle10TimeStampField>>length
   ^4
is incorrect under 64-Bit-VASmalltalk?

I'm using the following script (database programming guide)

| conSpec connection querySpec resultCollection |
conSpec := AbtDatabaseConnectionSpec
     forDbmClass: #AbtOracle10DatabaseManager
     databaseName: '.....'.
["================================"
connection := conSpec connect.
resultCollection := OrderedCollection new.
querySpec := (AbtQuerySpec new)
      statement: 'SELECT * FROM ....'.
(connection resultTableFromQuerySpec: querySpec)
    do: [:eachRow | resultCollection add: eachRow asString].
"================================"]
ensure: [connection disconnect].
resultCollection inspect.

and i'm getting a Primitive failed in PlatformFunction>>callWithArguments:... due to GPF
The database table contains a column with type timestamp.
If i change the aforementioned method to return 8 instead of 4, it runs successfully.

Has anybody experienced the same problem?

Cheers,
Hermann

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.