Re: question about synchronization in 1:n relationships

2008-10-24 Thread Abid Hussain
could be to make it hidden to the eventType user. For example you could hide the lookup in the method getEvents of the class EventType Regards Alessandro On Wed, Oct 22, 2008 at 10:00 AM, Abid Hussain [EMAIL PROTECTED]wrote: Hello everybody, I except not to be the first one to ask this question

Re: question about storing objects

2008-05-16 Thread Abid Hussain
findAll() (see below) is something like SELECT * FROM tablename. I thought, in this case no proxies are used??? Regards, Abid Abid Hussain schrieb: Hi everybody, I have written a storeAll()-method in a dao to store all given objects in one transaction (you find the code at the end

Re: question about storing objects

2008-05-16 Thread Abid Hussain
. ShoppingCart.getArticles() - see below)... Regards, Abid Armin Waibel schrieb: Hi Abid, Abid Hussain wrote: Hi again, I think this issue has to something with the materialization of objects (when using proxies). But I thought that proxies are only used, when retrieving a corresponding

question about storing objects

2008-05-15 Thread Abid Hussain
column=Rolle jdbc-type=VARCHAR / /class-descriptor -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: updating objects

2008-04-06 Thread Abid Hussain
Hi Armin, thanks for help. I guess, you don't mean 1.0.5 by next major version, maybe 1.1? Is there already a date for the release of the next major version available? Best regards, Abid Armin Waibel schrieb: Hi Abid, Abid Hussain wrote: Hi everybody, I've a table with quite a lot

updating objects

2008-04-01 Thread Abid Hussain
? Regards, Abid -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: what's with OJB Project?

2007-08-23 Thread Abid Hussain
for this project? Is work currently being done? Why such a big gap in releases? Are there still plans to ship 1.1? Regards, -Sergey -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de - To unsubscribe, e-mail: [EMAIL

java.net.SocketException: Connection reset

2007-05-08 Thread Abid Hussain
) -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: report query in order by

2006-10-24 Thread Abid Hussain
: Hi Abid, It was me who posted that question. I also posted an improvement request into Jira: https://issues.apache.org/jira/browse/OJB-104 There is a workaround in there. Have a look. Regards, Vasily On 10/23/06, Abid Hussain [EMAIL PROTECTED] wrote: Hi everybody, the following problem

report query in order by

2006-10-23 Thread Abid Hussain
problem and am asking if there is a solution maybe in ojb 1.0.5? Regards, Abid Hussain -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

store collections

2006-10-11 Thread Abid Hussain
. Anybody got an idea? Regards, Abid -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: store collections

2006-10-11 Thread Abid Hussain
()-method. It seems that the broker has nothing to store in the method without the logging-statement seen below. But is there any other way to solve this problem? Regards, Abid Abid Hussain schrieb: Hi everybody, I want to implement a method which stores not only one object but a collection

Re: store collections

2006-10-11 Thread Abid Hussain
the logging-statement seen below. But is there any other way to solve this problem? Regards, Abid Abid Hussain schrieb: Hi everybody, I want to implement a method which stores not only one object but a collection of objects. I tried this one: public void storeAll(Collection valueObjects

ojb 1.x and number of ojb-users

2006-10-11 Thread Abid Hussain
. Are there any updates planned in the close future? 2. Is there any reliable figures about how many people use OJB? I'm just asking because when I talk to other developers about O/R-Mapping they mostly only know Hibernate and I wonder how OJB's standing is upon developers. Regards, Abid -- Abid Hussain

CRITERIA_SELECT_ALL is null

2006-06-11 Thread Abid Hussain
). How can this happen? Did I make a mistake or is it a bug? Would be great if somebody could help me about this. Best regards, Abid -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de - To unsubscribe, e-mail

Re: CRITERIA_SELECT_ALL is null

2006-06-11 Thread Abid Hussain
Sorry, my fault. Seems to be that it value of CRITERIA_SELECT_ALL should be null. Best regards, Abid Abid Hussain schrieb: Hi everybody, I have a problem which I really can't figure out. Please look at following code: ... crit = QueryByCriteria.CRITERIA_SELECT_ALL; logger.debug(#2 Criteria

Re: retrieving fields and collections by ReportQuery

2006-05-25 Thread Abid Hussain
wrong, I think OJB is a great tool, and it helps me a lot. But wouldn't it be great having a method/class which combines the simplicity of QueryByCriteria and the flexibility of ReportQuery? Best regards, Abid Jakob Braeuchi schrieb: hi abid, what about using distinct ? jakob Abid Hussain

retrieving fields and collections by ReportQuery

2006-05-24 Thread Abid Hussain
? Best regards, Abid Hussain -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: retrieving fields and collections by ReportQuery

2006-05-24 Thread Abid Hussain
above. Maybe there is another way to fix this problem? Best regards, Abid Hussain Carlos Chávez schrieb: Abid Hussain escribió: Hallo everybody, for the following problem I didn't find a proper solution: I'm using the ReportQuery to retrieve data, because the table has about 25 columns and i

maybe bug in Criteria.addNotEqualToColumn()

2006-05-20 Thread Abid Hussain
i overlooked something? Thanks for help, Abid -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: maybe bug in Criteria.addNotEqualToColumn()

2006-05-20 Thread Abid Hussain
Hi, I think it was my fault. when i replace the Line -- crit.addNotEqualToColumn(name, excludeModules[i]); to -- crit.addNotEqualTo(name, excludeModules[i]); everthing works. Sorry for making trouble. Best regards, Abid Abid Hussain schrieb: Hi everybody, while executing a query

Re: updating the primary key of a table row

2006-05-17 Thread Abid Hussain
Hi Armin, For this special case you have to delete the old value/obj and then insert the new vale/obj. regards, Armin thanks a lot. I thought of this possibility, but wondered if there is another way to perform the update. Regards, Abid -- Abid Hussain Mail: [EMAIL PROTECTED] Web

updating the primary key of a table row

2006-05-12 Thread Abid Hussain
, Abid Hussain -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

don't need all columns

2006-04-17 Thread Abid Hussain
Hi everybody, I'm quite a newbie in OJB, so maybe I have overlooked something. In most cases I don't need all colums of a table when I do a query. So, how do I tell OJB not to retrieve all 25 (e.g.) columns of a table but only the ones I need? Best regards, Abid Hussain -- Abid Hussain