search for: closeconnect

Displaying 3 results from an estimated 3 matches for "closeconnect".

2000 Dec 20
1
Inconsistency in creating/opening/closing/destroying connections (PR#787)
...SED connection, as it says all logical: if true all connections, including CLOSED ONES and the standard ones are displayed. If false only open user-created connections are included. So this is at least a documentation bug, but what about having something like CreateConnection OpenConnection CloseConnection DestroyConnection Is there any reason to have (as currently) OpenConnection seperated from CreateConnection but CloseConnection and DestroyConnection combined? Regards Jens Oehlschlägel --please do not edit the information below-- Version: platform = i386-pc-mingw32 arch = x86 os = Win...
2006 Jan 11
0
Connection problem with a generic-runtime-built ActiveRecord::Base
...Num, dbName, user, pwd ) ActiveRecord::Base.establish_connection(:adapter => "postgresql", :host => hostName, :port => portNum, :database => dbName, :username => user, :password => pwd) end def self.closeConnection() return ActiveRecord::Base.remove_connection() end def self.buildNewTableClass(className, tableName) genClass = Class.new(GenActRec) const_set("#{className.to_s}", genClass) genClass.set_table_name tableName genClass.reset_column_information() ret...
2000 Dec 20
0
Inconsistency in creating/opening/closing/destroying (PR#788)
...entation says open is the opposite of close. I think you are just assuming things that are not said. Note: ?close says `close' closes and destroys a connection. not just closes it, so there can be closed and not destroyed connections. > CreateConnection > OpenConnection > CloseConnection > DestroyConnection > > Is there any reason to have (as currently) OpenConnection seperated from CreateConnection but CloseConnection and DestroyConnection combined? Yes. These are S4-type connections, and that is what S4 does. -- Brian D. Ripley, ripley@stats.ox....