Re: Cache manager, StackOverflowError

2003-07-24 Thread Chris Halverson
Mahler Thomas <[EMAIL PROTECTED]> writes: > If you want to use the EmptyCacheImpl you have to make sure that you do not > use cyclic data structures (e.g. A referencing B, B referencing A). > > loading cyclic structures with the empty cache results in stackoverflows. OK, I don't think I have that

Cache manager, StackOverflowError

2003-07-24 Thread Chris Halverson
I was trying to disable the Cache by switching to the CacheEmtpy implementation but when I did so, everything quit working. I tried switching back to the regular one and am still getting errors. Basically, the server (Resin) is returning: java.lang.StackOverflowError I replaced one query w/ strai

Shut off Logging?

2003-07-09 Thread Chris Halverson
I can't quite figure out how to shut off the connection logging, the one that looks like: [org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl] INFO: Create new connection pool:[EMAIL PROTECTED] jcd-alias=oraclesl default-connection=false dbms=Oracle jdbc-level=2.0 driver=

Re: Multiple users, Connection Pool (related to FAQ)

2003-06-10 Thread Chris Halverson
"Armin Waibel" <[EMAIL PROTECTED]> writes: > - setup one jdbc-connection-descriptor >> > jcd-alias="oracle" >> default-connection="false" >> protocol="jdbc" >> subprotocol="oracle" >> platform="Oracle" >> driver="oracle.jdbc.driver.OracleDriver

Multiple users, Connection Pool (related to FAQ)

2003-06-10 Thread Chris Halverson
OK, I see this question in the FAQ, so I've done some research, so don't jump on me too badly :) Basically, I need to implement what is in the FAQ, multiple users connecting to the same database with different usernames/passwords. The FAQ says: For it define one jdbc-connection-descriptor , now

Re: "Elegant" way of getting one connection per user?

2003-06-03 Thread Chris Halverson
Thomas Mahler <[EMAIL PROTECTED]> writes: >> Runtime" says and create the properties on the fly. Is there a better, >> more "accepted" way? > > Not that I know of. :-( That's what I thought :( > This is really the lamest excuse I ever heared for not using a single > application user account! > W

"Elegant" way of getting one connection per user?

2003-06-03 Thread Chris Halverson
I'm starting a new project w/ OJB and the business requirements state that everybody has to log into the Oracle instance with their own username and password that has been setup in Oracle (Oracle security, not a table that has un/pw, but actual Oracle "users"). In a previous project that had to do

Schema change at connect time?

2003-04-02 Thread Chris Halverson
I'm copying parts of two separate Oracle databases into (hopefully) one MySQL database (don't ask, strange business rules are dictating this). In one of the Oracle databases, they have a public synonym setup which makes the copying easy. In the other, they do not (and will not add one), which makes

Re: accessing multiple platforms, multiple databases

2003-03-31 Thread Chris Halverson
"Kelvin Cookshaw" <[EMAIL PROTECTED]> writes: > My application must retrieve data from a Sybase database, and store data in > an Oracle database. I don't know how or if this can be done. I'm on 0.9.9, > currently. > > I looked at putting the tables of both databases in the same > repository_user

Associations trouble

2003-03-18 Thread Chris Halverson
I'm having some problems understanding how to implement the 1:1 and 1:n mappings in OJB (1.0rc1). I'm trying to use collections and foreignkey mappings to represent my DB. For example, it appears that the collection in my BillingControl class does not get propogated (debug log shows size of 0), alt

Copying Tables (Oracle to MySQL, OJB 1.0rc1)

2003-03-14 Thread Chris Halverson
I am trying to copy of a subset of tables (and subset of rows within those tables) from an Oracle to MySQL. I'm able to connect to both just fine and am able to get the objects just fine from Oracle, but when I try to save them back to MySQL nothing happens. If I do something straight up like: