rST in 3.6?

Avi Bryant avi at beta4.com
Wed Mar 10 02:56:51 UTC 2004


On Mar 9, 2004, at 12:57 AM, Vaidas Didzbalis wrote:

> System needs to connect to oracle database and perform query with time 
> out option. If time out occurs, execution must be canceled and 
> connection terminated. System must allow multiple queries to run 
> concurrently.

I've done this in the past using a simple Java bridge server and the 
Oracle "lite" JDBC driver.  The Java bridge listened on a socket for 
query strings and would reply with serialized result objects or an 
error code.  A single Squeak image could easily open multiple 
connections to the bridge to have concurrent queries.

I can try to dig up my old code for this, but it might be worthwhile to 
redo this using the Java Serialization package that has since appeared 
on SqueakMap (I used a custom serialization scheme which was the bulk 
of the code on both sides).




More information about the Squeak-dev mailing list