Gosling and declaring types of variables

Gosling has a post about some comments he made regarding scripting languages, dynamic languages and static languages. I’ve read the post but haven’t gotten to root of what he said originally. The big concern I have is that I just don’t get a lot of the arguments about declarations of variables. Unless the language is […]

Fail over in the Oracle JDBC driver

Apparently the Oracle JDBC driver supports fail over based on connection creation. I think it will support tnsnames parsing, but I’m not sure. This is supported though: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP) (HOST=example.com)(PORT=1521)) (ADDRESS=(PROTOCOL=TCP) (HOST=failover.example.com)(PORT=1521)) (FAILOVER=true)(LOAD_BALANCE=false) (CONNECT_DATA=(SERVER=DEDICATED)(SID=foo))) Not the nicest format, but you only have to do it once and it seems to work pretty well.