Re: JDO inheritence

2003-12-05 Thread Thomas Mahler
Hi Stephan, In mapping an inheritance hierachy is not different for OJB/JDO. So if you mapping is correct everything should work fine. I've some questions regarding your classes and mapping: Stephan Wannenwetsch wrote: Hallo, I'm trying to store an object which inherits some attributes from a

Re: JDO Bug (status please)

2003-12-05 Thread Thomas Mahler
Hi Gus, Gus Heck wrote: Well, since I am relatively stuck I peeked under the hood and took a stab at fixing this, based on the assumption that the analysis in the previous news group discussion of a missing state manger is the problem. thanks for helping! Yes I guess the missing state managers

Re: hot to reload cached object?

2003-12-05 Thread Martin Kalén
Hi! Yes; removeFromCache will remove the weak reference to the object and make it eligble for garbage collection. Jair da Silva Ferreira Júnior wrote: transaction.begin(); Customer c=new Customer(); c.setName(customer); transaction.lock(c,transaction.WRITE);

join: possible with ReportQueries?

2003-12-05 Thread Joerg Lensing
Hi, Is it possibel to query a field from a different class, only having the Where-criteria? e.g. Article.class and ArticleGroup.class are not mapped by OJB. Only a ref-id exist. (Ariticle holds a field 'refArticleGroupID'). Now I want to query the class Article and some of the fields from

RE: join: possible with ReportQueries?

2003-12-05 Thread Gelhar, Wallace Joseph
Hi joerg, OJB executes all queries on the database, so there must exist a mapping of attributes to database columns if you want to be able to query them. ReportQueries also use the repository.xml mapping to translate attributes of classes to database columns. Can you explain further what you are

OJB in a Clusterd Environement

2003-12-05 Thread Matthias . Roth
Hi have some one experience with ojb in a Clustered J2EE Environment (Websphere)? Did OJB work proper with more than 2 clustered servers? If yes which was the settings of OJB (used Sequensmanager, used connectionmanager , settings in OJB.properties) Thanks for your answer regards Matthias Roth

OJB on z/OS with Websphere and DB2

2003-12-05 Thread Matthias . Roth
Hi we made some pain full experience on z/OS with OJB and connection management. But we was successful to resolve this problem (put there are a lot more problems). The solution to this problem was: z/OS jdbc driver for Websphere 4.x use per default a aggressive connection management to protect

OJB 1.1

2003-12-05 Thread Brian McCallister
With the imminent release of OJB rc5 (hopefully final and will be branded as the real release!) I have started a discussion of OJB 1.1 plans The -dev list has come up with some plans, and I wanted to open discussion to the -users as well ;-) There is a starting point on the ApacheWiki at

Re: [ojb] OJB on z/OS with Websphere and DB2

2003-12-05 Thread Federico Spinazzi
[EMAIL PROTECTED] wrote: Hi we made some pain full experience on z/OS with OJB and connection management. But we was successful to resolve this problem (put there are a lot more problems). The solution to this problem was: z/OS jdbc driver for Websphere 4.x use per default a aggressive connection

Re: Problem mapping inheritance hierarchy using joined tables for subclasses

2003-12-05 Thread Jakob Braeuchi
hi peter, imo this is on the to-do-list. as a workaround you can still use extents and super-references but you should take care that the primary key is UNIQUE within the class hierarchy. for further details hava look at the thread: Extents and the various inheritance hierarchy mappings in

Newbie: Getting OJB to write Joins

2003-12-05 Thread Michael Chu
This is my first ever post to a newsgroup, so I hope I get it right. I've got the basics of OJB down, but now I am attempting to do some fairly nested joins and OJB is not producting the SQL statements I know I need (i.e. I've written them manually before). This is about what I need: SELECT

RE: Newbie: Getting OJB to write Joins

2003-12-05 Thread Gelhar, Wallace Joseph
Hi Michael, This is your SQL (minus all the parenthesis) SELECT DISTINCT IMENU.SYSTEM_NUMBER, IMENU.LAST_UPDATED, IMENU.LAST_UPDATED_BY, IMENU.NAME, IMENU.DISABLED FROM ASSOC_IGROUP_IUSER INNER A5 JOIN IGROUP A4 ON A4.SYSTEM_NUMBER=A5.GROUP_SYSNO INNER JOIN ASSOC_IGROUP_IOBJECT

Howto provide my own Storage Classes

2003-12-05 Thread Claus Radloff
Hello, I´d like to provide OJB with my own class to load/store objects in the database. This is because I can´t get OJB to load this kind of beans, as they consist of multiple rows in the same table. To be able to load other classes with OJB, which reference these objects, I would like to tell

RE: prefetch and autoRetreive

2003-12-05 Thread John
Not at the moment. I figured since it wasn't taken before it would wait until after 1.0. I have frozen my version of OJB because we're rolling the product out next week. Sometime after that I was hoping to update OJB again and make sure the patch still fits in and works well (if I have

Re: Newbie: Getting OJB to write Joins

2003-12-05 Thread Michael Chu
Great! You're right. I am linking incorrectly, but to fix it is another story. Writing path expressions is still somewhat of an enigma. I even have a diagram, but it's just going to take some work. Any ideas? Thanks a bunch for the help. Gelhar, Wallace Joseph [EMAIL PROTECTED] wrote in

Re: how to reload cached object?

2003-12-05 Thread Jair da Silva Ferreira Júnior
Hi, - Original Message - From: Martin Kalén [EMAIL PROTECTED] To: OJB Users List [EMAIL PROTECTED] Sent: Friday, December 05, 2003 7:14 AM Subject: Re: hot to reload cached object? Hi! Yes; removeFromCache will remove the weak reference to the object and make it eligble for garbage

Re: ConfigurableFactory instantiation failed and ODMG

2003-12-05 Thread Philippe Hacquin
I don't know if you can use the database name that way in db.open(). Try to use the jcd-alias attribute value of the jdbc-connection-descriptor element. This one should either be in repository_database.xml, or even repository.xml, if you've merged the two files in one. It looks like you've not

Re: JDO Bug (status please)

2003-12-05 Thread Thomas Mahler
Hi all, Good news! Thanks to Gus getting me started. I've fixed this pita bug at last! it's in CVS HEAD already. cu, thomas Thomas Mahler wrote: Hi Gus, Gus Heck wrote: Well, since I am relatively stuck I peeked under the hood and took a stab at fixing this, based on the assumption that the

Re: ODMG DList Removal left-overs

2003-12-05 Thread Robert Coup
Hi Armin, Does DList automatically persist itself in the database on creation? If you use DListImpl within a tx and you commit tx, then I think the list will be persist itself. DListImpl_2 does not lock(persist) itself while a tx is running. You have explicitly lock DListImpl_2 instances to