We can have some problems yes, but I assure you that all the code in the user request is executed using the same connection.
Anonymous wrote:
We can have some problems yes, but I assure you that all the code in the user request is executed using the same connection.
Ok, great, then I'm going to try implementing Oracle part, using current pattern. Aren't you going to change it, as you discussed in the thread i've mentioned?
//da
Anonymous wrote:Sorry for a dumb question, but how can I get sources? Can I checkout module as an anonymous CVS user or a have to register somewhere?
//da
Anonymous wrote:
We can have some problems yes, but I assure you that all the code in the user request is executed using the same connection.
Ok, great, then I'm going to try implementing Oracle part, using current pattern. Aren't you going to change it, as you discussed in the thread i've mentioned?
//da
Hi! I'm interested (like many other people) in using JForum with Oracle.
[...]
I've flicked through your code (PostgeSQL driver implementation) and I wonder: is current (RC5) PostgreSQL implementation thread-safe?
What I see in executeAutoKeysQuery method is that you first execute the 'insert' query (that is already prepared) and then you get a new DB connection to execute 'getAutoGeneratedKeysQuery' (which is "SELECT CURRVAL('jforum_topics_seq')" for PosgreSQL).
And here is the question: is it possible that before executing 'getAutoGeneratedKeysQuery' you recieve a different DB connection than the one you got in getStatementForAutoKeys call? I guess it is (when using database connection pooling).
We begin by testing your absorbancy by exposing you to this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|