Re: question about synchronization in 1:n relationships

2008-10-24 Thread Abid Hussain
anyway a first idea 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

question about synchronization in 1:n relationships

2008-10-22 Thread Abid Hussain
e cause it was deleted in (2). Is there any caching or synchronization mechanism to avoid the problem in (3)? Regards, Abid -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de - To unsubscribe, e-mail: [EMAIL

Re: question about storing objects

2008-05-16 Thread Abid Hussain
ion (1:n or m:n, e.g. 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 retrie

Re: question about storing objects

2008-05-16 Thread Abid Hussain
using findAll() (see below) is something like SELECT * FROM . 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 of this

question about storing objects

2008-05-15 Thread Abid Hussain
ersistentStoringException( "Error while storing objects.\n" + e); } finally { if (broker != null && !broker.isClosed()) broker.close(); } } } Class-descriptor of Account_2:

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 quit

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
ctive looks 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 unsubsc

java.net.SocketException: Connection reset

2007-05-08 Thread Abid Hussain
at java.lang.Thread.run(Thread.java:595) -- 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 probl

report query in order by

2006-10-23 Thread Abid Hussain
blem was posted. I've got the same 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: [EMAI

ojb 1.x and number of ojb-users

2006-10-11 Thread Abid Hussain
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 -- Ab

Re: store collections

2006-10-11 Thread Abid Hussain
out 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) {

Re: store collections

2006-10-11 Thread Abid Hussain
bug()-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

store collections

2006-10-11 Thread Abid Hussain
abase. 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: 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.debu

CRITERIA_SELECT_ALL is null

2006-06-11 Thread Abid Hussain
DAO] #2 Criteria is (null). 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 ---

Re: retrieving fields and collections by ReportQuery

2006-05-25 Thread Abid Hussain
g. 3. Don't get me 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 d

Re: retrieving fields and collections by ReportQuery

2006-05-24 Thread Abid Hussain
ipline, it occurs three times in the result of the query 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 R

retrieving fields and collections by ReportQuery

2006-05-24 Thread Abid Hussain
fields I actually need, I can't specify the collection in the ReportQuery. Anybody got an idea what I can do? Best regards, Abid Hussain -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de - To unsubsc

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

maybe bug in Criteria.addNotEqualToColumn()

2006-05-20 Thread Abid Hussain
WHERE (A0.Zuordnung = 'Bachelor') AND A0.modul_Name <> 'ALP I: Funktionale Programmierung' ORDER BY 1 Maybe this is a bug or have i overlooked something? Thanks for help, Abid -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de ---

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
ed the primary key and there are not other unique columns! Any ideas? 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]

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 -- Ab