Re: Optimizing object materialization for 1:N relations

2008-02-07 Thread Tino Schöllhorn
only 2 Queries, but you will bulk load several ACLs Bye danilo Tino Schöllhorn wrote: Hi Armin, thanks for your reply. Do you think it would be worth a try to materialize our objects with pure SQL - but after initializing them to work with them with OJB? Thanks for your opinion. Regards Tino

Re: Optimizing object materialization for 1:N relations

2008-02-07 Thread Tino Schöllhorn
Hi Armin, thanks for your reply. Do you think it would be worth a try to materialize our objects with pure SQL - but after initializing them to work with them with OJB? Thanks for your opinion. Regards Tino Armin Waibel schrieb: Hi Tino, Tino Schöllhorn wrote: Hi, we are using OJB

Optimizing object materialization for 1:N relations

2008-02-04 Thread Tino Schöllhorn
Hi, we are using OJB-1.0.1 and evertything works fine. Now I have the following situation: We have a security-mechanism which uses the classes ACL (AccessControlList) and ACLEntry. One ACL has many ACLEntries. Now when using the standard OJB-Materialization methods OJB uses 2 SQLs to mater

Re: Nested Objects & Cocoon Form Binding

2007-03-04 Thread Tino Schöllhorn
Hi, this is not really an issue concerning OJB. You should try to use JavaBeans accessors/mutators to achieve your goal. Look at the spring-framework for example - they have a mapping from forms to javabeans. Tino 許議中 wrote: Hi! Below is running in OJB 1.0.4 & Cocoon 2.1.0 I've a set of t

Own Proxy-Implementation

2006-11-18 Thread Tino Schöllhorn
Hi, I want to change the used Proxy-Implementation of "some" of my collections. So I have written a "MyProxyListImpl" class which implements the CollectionProxy interface: class MyProxyListImpl extends ArrayList implements CollectionProxy { // the 2 constructors. } Then I changed the colle

Re: Performance & PB

2006-11-08 Thread Tino Schöllhorn
Hi, I think you can exactly do that. Just use a thread variable (see ThreadLocal) and store a PB in that. We are doing exactly that and it works great. You just have to close the PBs when the work of your thread is done, of course. Tino Ernst Temp wrote: Hello, I am developing an applic

Re: Can't read repository file 'repository.xml

2006-09-10 Thread Tino Schöllhorn
Hi, read: http://db.apache.org/ojb/docu/guides/ojb-properties.html. Have a look at the examples. You don't explicitly load the repository.xml file. Tino Sergio del Amo Caballero wrote: Hi all, I am getting an error while trying to retrieve my repository.xml file. My repository.xml is under

Re: Finding Broker/Connection leak

2006-08-01 Thread Tino Schöllhorn
e the impact to our system. With regards Tino Armin Waibel wrote: Hi Tino, Tino Schöllhorn wrote: Hi, I have a situation where we are running out of PersistenceBrokers (using 1.0.1). We have a web application which so far runs fine - but somehow some requests are causing the application not to

Re: Finding Broker/Connection leak

2006-07-31 Thread Tino Schöllhorn
An additional question: How could I monitor the PB-Pool and the Connection-Pools of OJB? Tino Tino Schöllhorn wrote: Hi, I have a situation where we are running out of PersistenceBrokers (using 1.0.1). We have a web application which so far runs fine - but somehow some requests are causing

Finding Broker/Connection leak

2006-07-31 Thread Tino Schöllhorn
Hi, I have a situation where we are running out of PersistenceBrokers (using 1.0.1). We have a web application which so far runs fine - but somehow some requests are causing the application not to close its PB. We can see this when we are monitoring the used connections of mysql which are sl

Re: OJB, MySQL and Query Cache

2006-06-28 Thread Tino Schöllhorn
this flag in the connection string to disable server side prepared statements: jdbc:mysql://&useServerPrepStmts=false; Tino Tino Schöllhorn wrote: Hi, probable this isn't the correct forum - but nevertheless I hope that some can help me out. We are using OJB 1.0.1 (we'

OJB, MySQL and Query Cache

2006-06-28 Thread Tino Schöllhorn
Hi, probable this isn't the correct forum - but nevertheless I hope that some can help me out. We are using OJB 1.0.1 (we're waiting for a new release to change to) and MySQL 5.0.18. Everything is working fine and OJB works like a charm. Now our sites are getting more traffic and we wanted

hashCode for Query-Objects

2006-06-24 Thread Tino Schöllhorn
Hi, I have to put OJB-Query-Objects as key in a Map. Now I wonder how I would compute the hashCode of those objects. A first idea was to use the generated SQL-Code for such a Query as the key. How would I get the SQL-Code which gets generated for a Query-Object? But any other ideas how to co

Re: How to do this in OJB

2006-06-18 Thread Tino Schöllhorn
Hi, I think you could do a ReportQuery where you can specify an SQL. Just look in the tutorials and the JavaDocs. Tino k jee wrote: Hi All, I need some advice on how to achieve the following with ojb. Select T1.FLD1,T1.FLD2, T2.FLD2,T2.FLD3,T3.FLD1,T3.FLD2,T3.FLD4 from table1 T1, t

Re: Next Release

2006-04-05 Thread Tino Schöllhorn
Hi, thanks. That would be great. Tino Armin Waibel wrote: Hi Tino, Tino Schöllhorn wrote: Hi, we are currently using OJB 1.0.1 and are thinking about updating to the latest release. When do you think the next version 1.0.5 will be released? Last week I wasn't able to work on O

Next Release

2006-03-27 Thread Tino Schöllhorn
Hi, we are currently using OJB 1.0.1 and are thinking about updating to the latest release. When do you think the next version 1.0.5 will be released? With regards Tino - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Way to prevent store?

2006-03-26 Thread Tino Schöllhorn
Hi, I have a situation where I want to prevent the creation of an object in the database. Is there a way to prevent the insertion via the callback-methods (beforeInsert) ? Throwing an Exception in these methods doesn't work, because the situation is not an error and I want to prevent the

Setting Default Class for Collections

2006-03-14 Thread Tino Schöllhorn
Hi, I want to use an own implementation of a java.util.List-Class in my project and I am trying to find the place where to change the default List implementation. I couldn't find it int the OJB.properties file. I am using OJB 1.0.1. With regards Tino ---

Re: CONNECTION POOL

2006-02-24 Thread Tino Schöllhorn
Hi, as I can see you are probably not closing your PB-instances. You have to close the PB instances with PB.close() after usage. This is no connection-pool problem but a PB-Pool problem. Hope that helped. Tino ABOU LINA wrote: I give you the stack trace about error message : org.apache.oj

Re: PB.store extremely slow

2005-10-27 Thread Tino Schöllhorn
all users in that group. I don't know if this is a bug or a feature ;-) What do you think? Tino Tino Schöllhorn wrote: Hi, we are using OJB 1.0.1 and we have found a very strange issue: We have a class "User" and a class "Group". Now we have a quite common and si

PB.store extremely slow

2005-10-27 Thread Tino Schöllhorn
Hi, we are using OJB 1.0.1 and we have found a very strange issue: We have a class "User" and a class "Group". Now we have a quite common and simple use-case that a User becomes member of a Group. The code for this is like: User user = ...; Group group = ...; user.addGroup(group); pb.begin

OJB 1.0.x and Java5.0

2005-08-07 Thread Tino Schöllhorn
Hi, we are currently thinking of moving from JDK1.4.2 to Java 5.0.x. The most interesting part of new Java Editition is the use of Generics which will lead to a much better understandable code-base. I have a few questions, which might be answered by someone of the OJB community: - Are there

Re: strange OJB behaviour

2004-12-28 Thread Tino Schöllhorn
Hi, would you post your loop-code, so it is possible to see what changes you are doing? Tino T. K. Chris wrote: HI, I have tried to access a database through a loop. while the loop is running, I manually modify (in live) and commit a record in the data base. The modification is not detected, at t

Deleting Main-Object and its association-objects

2004-12-11 Thread Tino Schöllhorn
Hi, I have 3 classes which model the "association"-class pattern. Persons can take part in many Projects with a special role. With that in mind I have the following classes: Person { Collection projectPersons; } ProjectPerson { Person p; Project pr; String role; }

Concurrency: Best practices

2004-12-10 Thread Tino Schöllhorn
Hi, we are currently working at an web-application, which is currently single-threaded. For performance reason it is obvious that it should be multi-threaded. We are using OJB as persistence-layer. Now my question: Does anyone has best practices for creating an thread-safe object-model? Suppose

Re: [SUGGESTION] - S02 - Answering behaviour on this forum

2004-11-19 Thread Tino Schöllhorn
Hi Ilias, well I not for starting any flame wars. But if you think there should be a common, better FAQ list and the existing documentation is not enough - why don't you just start a FAQ-List and try to improve this project. As you already stated: this is open source and anyone who is interested

ConcurrentModificationException while Deleting Objects

2004-11-19 Thread Tino Schöllhorn
Hi, I have a weird problem. We are using OJB 1.0 and are greatly satisfied. Now we stumbled across a strange problem. When deleting a Person-Object with: Person p = ...; pb.beginTransaction(); pb.delete(p); pb.commitTransaction(); we get (sometimes) the following Exception: java.util.ConcurrentM

Re: How to monitoring connecton pool?

2004-10-21 Thread Tino Schöllhorn
Hi, I don't know how to get this information. But you could quite easily configure the connection-managers as such that they are automatically closing "forgotten" persistence-broker instances and their connections. Please see: http://db.apache.org/ojb/docu/guides/connection.html Rodrigo G. Tavar

Special Rowreader for reading hierarchies

2004-10-13 Thread Tino Schöllhorn
Hi, we are using OJB 1.0 and are greatly satisfied. Now we encounter some cases where we have recursive data-structures, like: class A { Collection someAObjects; // Collection } So every A-Object can have several sub-object of type A. Currently we mapped this case as every other 1:N-relat

ConcurrentModification!!!

2004-08-17 Thread Tino Schöllhorn
Hi, we are using OJB in a Tomcat-Application and are greatly satisfied. Now we are moving our application to a windows 2003 server with 2 processors and we encounter some problems. One is the following: We implemented a DownloadServlet which is responsible for delivering Streams of previously u

Closing Connections in Servlets?

2004-07-28 Thread Tino Schöllhorn
Hi, we are using OJB 1.0 in Servlets and it works great so far. Now I noticed that whenever we start our servlets OJB opens all Connections which have been defined in repository_database.xml (no ConnectionPooling. so far so good. But, whenever we restart the servlets (for example when recompili

Re: Debugging Queries

2004-07-26 Thread Tino Schöllhorn
Hi Thomas, I am perfectly aware of that - but in my opinion you're already doing the right thing: emulate the behaviour of paging when the underlying db isn't supporting it. But if the underlying db is supporting this feature (many db implement this: mysql, mssql, oracle...) it should be used b

Re: Debugging Queries

2004-07-26 Thread Tino Schöllhorn
tino, ojb does not use the limit-clause yet. the paging is implemented by positioning the cursor in the resultset. jakob Tino Schöllhorn schrieb: Hi, I am using MySQL and OJB and now I want to create a Query over a large table. For performance reason I want to use the "pageing"-featur

Debugging Queries

2004-07-26 Thread Tino Schöllhorn
Hi, I am using MySQL and OJB and now I want to create a Query over a large table. For performance reason I want to use the "pageing"-feature - but I have the feeling that currently OJB is somehow ommitting this (the result is fine - but the SQL seems not to include the LIMIT-clause). Is there a

Re: Weird behaviour of PersistenceBroker.store(Object)

2004-07-07 Thread Tino Schöllhorn
rt+for+Non-Decomposed+m%3An+Mappings Please post more info (metadata mapping) regards, Armin Tino Schöllhorn wrote: Hi, several days ago I changed from RC6 to OJB 1.0.0 and so far it is running fine. But now I encounter a strange bug - something which has not happened with RC6. I have a class

Weird behaviour of PersistenceBroker.store(Object)

2004-07-07 Thread Tino Schöllhorn
Hi, several days ago I changed from RC6 to OJB 1.0.0 and so far it is running fine. But now I encounter a strange bug - something which has not happened with RC6. I have a class Team and there is a N-M-Relation between Teams and Subteam. Now I am adding some (already persistent) Teams t1...tn t

Deletion and Cache

2004-06-14 Thread Tino Schöllhorn
Hi, I think this topic has been discussed before. But I am not sure what the current status is: I have two classes A and B. A has a Collection of Bs. Now if I delete a B object which is part of a Collection of an A object the B object is correctly deleted in the database and is also removed fro

Re: Inheritance: One Table

2004-06-14 Thread Tino Schöllhorn
do now? Should I ignore this warning? Or do I have to create a not-persistent abstract superclass? Tino Thomas Dudziak wrote: Tino Schöllhorn wrote: Hi, I have I inheritance-problem. I want to map two classes to one table. They are defined as followed: class A { int id; protected String

Re: Inheritance: One Table

2004-06-14 Thread Tino Schöllhorn
Hi, thanks now it works. But why do I have to map the attributes of the superclass in the subclass again? Is this intended or is the inheritance of descriptors a not yet enhancement? Regards Tino Thomas Dudziak wrote: Tino Schöllhorn wrote: Hi, I have I inheritance-problem. I want to map two

Inheritance: One Table

2004-06-13 Thread Tino Schöllhorn
Hi, I have I inheritance-problem. I want to map two classes to one table. They are defined as followed: class A { int id; protected String ojbConcreteClass; // some attributes } class B extends A { // some additional attributes } I created class-descriptors f

Re: Collection creation and sorting

2004-05-01 Thread Tino Schöllhorn
roomNo and roomSuffix are attributes on the RoomImpl object. Wally -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tino Schöllhorn Sent: Friday, April 30, 2004 2:41 AM To: [EMAIL PROTECTED] Subject: Collection creation and sorting Hi, I have a (probably simple) question

Collection creation and sorting

2004-04-30 Thread Tino Schöllhorn
Hi, I have a (probably simple) question about sorting collections: I have 3 classes which I successfully mapped to OJB: class Company { Collection companyTeams; public Collection getTeams() { //??? } } class CompanyTeam { Company c; Team t; int pos; } class Team { String na

CreationDate-Column for each Table

2004-03-29 Thread Tino Schöllhorn
Hi, I have a (quite small) problem: I want that each table in my database has an attribute "CreationDate" which reflects the time when this row has been inserted. But I don't want to use any database-specific datatypes or functions. My current idea is really simple and uses the callback-mechan

Re: soft-deleting objects

2004-03-24 Thread Tino Schöllhorn
/ adds "WHERE dept.department = 'A'" crit.addEqualTo( "deleted", "false" ); // adds "WHERE sub.deleted = 'false'" Take a look at the tutorial, its really helpful in describing better ways to setup your data and how to query it. Charlie

Changing Loading Behaviour for N-M-Relations

2004-03-24 Thread Tino Schöllhorn
Hi, I am trying to change the behaviour of loading N-M-Relations - but I have some trouble here. Essentially I have one class "Department" and a relationship "subdepartment" (so I have 2 tables Department and Department_Department). Now I want that OJB loads only those subdepartments of a Dep

Re: soft-deleting objects

2004-03-24 Thread Tino Schöllhorn
ure your queries are always the same, and I really like not having to fuss about with the PersistenceBroker all the time. Charlie Tino Schöllhorn wrote: Hi, that sounds great. Is there a way to tell OJB that it always should use MyCriteria from the QueryFactory? Or do I have to impl

Re: soft-deleting objects

2004-03-24 Thread Tino Schöllhorn
ues to the criteria. Charlie Tino Schöllhorn wrote: Hallo Daniel, that sound great. But still I do have one question: how could you then load all non-deleted object *without* using the deleted-flag. I mean something like Criteria crit = new Criteria(); // I can use any criteria here but I don

Re: soft-deleting objects

2004-03-24 Thread Tino Schöllhorn
mean to not flag the delete in the database at all, but only treat it as such in the application -- that is a bit trickier, but can probably be done via pb callbacks/row readers. -Brian On Mar 23, 2004, at 6:21 AM, Tino Schöllhorn wrote: Hi, I want to implement something like a soft-delete: Ob

Rechtekonzept

2004-03-24 Thread Tino Schöllhorn
Hallo, ich habe mal versucht, das Rechtekonzept nochmal zusammenzufassen. Wäre gut, wenn ihr Euch es mal anschauen würdet. Ihr findet es im Projekt "1.Release" im Intranet unter dem Order "Konzepte". Gruss Tino - To unsubscri

soft-deleting objects

2004-03-23 Thread Tino Schöllhorn
Hi, I want to implement something like a soft-delete: Objects should be marked as "deleted" in its corresponing table and OJB should just ignore them when it is materializing or querying them. Where would be the best point to start when I want to implement this feature? I just played around wi

creationDate and lastUpdate for classes

2004-03-17 Thread Tino Schöllhorn
Hi, I am successfully using OJB rc5 and I really appreciate this tool. Now I want to extend my data-model so that I have 2 additional fields: - creationDate: the date the object/row was created - lastUpdate: the date the object/row was last updated Currently we are using MySQL as database, but w

Re: ConnectinPooling

2004-02-24 Thread Tino Schöllhorn
Hi, thanks. I wasn't aware of the PeristenceBrokerPool concept. regards Tino Armin Waibel wrote: Hi Tino, Tino Schöllhorn wrote: Hi, I am using OJB(cvs head from 2 weeks ago) in Tomcat 5.0. There I have several PersistenceBroker which I close after each request

ConnectinPooling

2004-02-24 Thread Tino Schöllhorn
Hi, I am using OJB(cvs head from 2 weeks ago) in Tomcat 5.0. There I have several PersistenceBroker which I close after each request with PersistenceBrokerFactory.realeaseAll(). After some time I get the following error: org.apache.ojb.broker.PBFactoryException: Borrow broker from pool failed

Re: Decomposed N:M-Problem

2004-02-23 Thread Tino Schöllhorn
Sorry, it was a stupid error on myside: I forgot to state the inverse-foreignkey. Tino Schöllhorn wrote: Hi, I have a quite simple problem: I have a table company, a table team and a table company_team which stores the relations. Now I have to introduce a position-attribute in my

Decomposed N:M-Problem

2004-02-23 Thread Tino Schöllhorn
Hi, I have a quite simple problem: I have a table company, a table team and a table company_team which stores the relations. Now I have to introduce a position-attribute in my company_team - table. I mapped this to the ojb-repository.xml file - but now it behaves quite strange: When I select 1

Re: FunctionSequenceError and MSAccess

2004-02-23 Thread Tino Schöllhorn
Tino, Tino Schöllhorn wrote: Hi, I am using OJBrc5 (rebuild from CVS head) and I have some troubles with my database: sometimes (not always) when I want to insert or update an object via ojb the JdbcOdbcBridge throws an function sequence error. From my previous experiences this error occurs

Re: debugging info about cache

2004-02-23 Thread Tino Schöllhorn
Hi Armin, I am using the ObjectCachePerBrokerImpl so I added: org.apache.ojb.broker.cache.ObjectCachePerBrokerImpl.LogLevel=DEBUG to my OJB.properties file. But there is no debugging-output. :-( Tino Armin Waibel wrote: Hi, Tino Schöllhorn wrote: Hi, I am frequently encountering

FunctionSequenceError and MSAccess

2004-02-22 Thread Tino Schöllhorn
Hi, I am using OJBrc5 (rebuild from CVS head) and I have some troubles with my database: sometimes (not always) when I want to insert or update an object via ojb the JdbcOdbcBridge throws an function sequence error. From my previous experiences this error occurs when a resultset r is read and

debugging info about cache

2004-02-22 Thread Tino Schöllhorn
Hi, I am frequently encountering OutOfMemory-Errors in my application. Is there a way to debug information about the used cache of OJB? Tino - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: QueryFactory issue

2004-02-14 Thread Tino Schöllhorn
Hi, sorry I got it. It is a database-error. Access doesn't return memo fields when using distinct (g). my fault. tino Tino Schöllhorn wrote: Hi, I could pinpoint the described error which has been described in an earliear thread (Cache issue: 13.2.2004). It all boils t

QueryFactory issue

2004-02-14 Thread Tino Schöllhorn
Hi, I could pinpoint the described error which has been described in an earliear thread (Cache issue: 13.2.2004). It all boils to the QueryFactory.newQuery(Class, Criteria, boolean) method. if I execute the code to retrieve an instance of class Person with: Criteria crit = new Criteria(); crit

Re: Cache issue

2004-02-13 Thread Tino Schöllhorn
addEqualTo("id", "85"); Query query = QueryFactory.newQuery(Person.class, crit, true); After that query the LONGVARCHARS aren't correctly instantiated. I think that this might be an error of OJB. With regards Tino Armin Waibel wrote: Hi, Tino Schöllhorn wrote: Hi, I ha

Re: Cache issue

2004-02-13 Thread Tino Schöllhorn
strange - in my opinion. regards tino Armin Waibel wrote: Hi, Tino Schöllhorn wrote: Hi, I have (again) something weird which I suppose is just a configuration problem: I have a class Person which has one LONGVARCHAR-Field. The first time the object is accessed the LONGVARCHAR-field is returned c

Cache issue

2004-02-13 Thread Tino Schöllhorn
Hi, I have (again) something weird which I suppose is just a configuration problem: I have a class Person which has one LONGVARCHAR-Field. The first time the object is accessed the LONGVARCHAR-field is returned correctly. But the second time it is accessed it returns just 256 (I suppose) chara

Re: Cache Bug with multiple PersistenceBrokers?

2004-02-12 Thread Tino Schöllhorn
Armin Waibel wrote: Hi Tino, Tino Schöllhorn wrote: Hi, I have a very, very strange phenomenom: I have one web-application which handles several clients. Each client uses its own database, but the database schema is always the same. Our web-application handles requests for all clients, so I ha

Cache Bug with multiple PersistenceBrokers?

2004-02-12 Thread Tino Schöllhorn
Hi, I have a very, very strange phenomenom: I have one web-application which handles several clients. Each client uses its own database, but the database schema is always the same. Our web-application handles requests for all clients, so I have to switch the PersistenceBroker as soon as I noti

Blobs and MSAccess

2004-02-10 Thread Tino Schöllhorn
Hi, has anyone tried using OJB with MSAccess and can successfully handle BLOBs? I am wondering if I could use OJB to handle this. With regards Tino - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: Checking repository.xml with dtd

2004-02-05 Thread Tino Schöllhorn
tory.dtd First all reference-descriptor, then all collection-descriptor regards, Armin Tino Schöllhorn wrote: Hi, I want to ensure that the repository.xml-file is "syntactically" (is that english) correct. So I am trying to validate it against its dtd with the following code

Checking repository.xml with dtd

2004-02-05 Thread Tino Schöllhorn
Hi, I want to ensure that the repository.xml-file is "syntactically" (is that english) correct. So I am trying to validate it against its dtd with the following code: DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setValidating(true); DocumentBuilder bui

Re: Using VerifyMappingTask

2004-01-29 Thread Tino Schöllhorn
Hello Armin, is there another way to verify the mappings which is not outdated? regards, Tino Armin Waibel wrote: Hi Tino, the VerifyMappingsTask is a little bit outdated, thus I don't know if you will get an adequate result. regards, Armin Tino Schöllhorn wrote: Hi, I wa

Re: Using VerifyMappingTask

2004-01-28 Thread Tino Schöllhorn
Hi Thomas, thanks for your answer. I checked again, but still I get a NoClassDefFoundError. Unfortuanately there is not stacktrace so it is quite difficult to find it. The class kos.generator.DataObject is located in the ojb-generator.jar file. This jar is correct because I am using this JAR a

Using VerifyMappingTask

2004-01-28 Thread Tino Schöllhorn
Hi, I want to automatically check the integrity of the repository.xml file and the corresponding database-mapping. So I tried out the VerifyMappingTask which is includes in the OJB-distribution (I am using rc5). But I am having problems with the classpath. Here is the situation: - My persisten

Starting applicatio via ant

2004-01-15 Thread Tino Schöllhorn
Hi, I have a quite strange problem: I am trying to start an ojb-based application via ant and the commons-laucher tool. I have struggled some time with setting the classpath correctly and it works now fine - except for one ugly thing: I had to pass an ABSOLUTE path in the OJB.properties -file

Design Pattern for referential integrity

2003-12-15 Thread Tino Schöllhorn
Hi there, this is a topic which is not specifically bound to ojb - but since there are a lot of users out there who might have the same problem (and hopefully a solution) I post this message here: I have several classes which I use to map tables to objects. Now I am wondering what the most app

Weird Error in Access with Memo-Fields

2003-12-14 Thread Tino Schöllhorn
Hi, I am using OJB and Access at the moment. So far everything worked fine, and I can also store memofields to the database. Now I integrated my classes in a web-application and there I get a really strange behaviour, when I save my data to the database: A) When I start Tomcat (5.0) and edit a

Re: Deletion Bug!!!!!?

2003-12-01 Thread TINO SCHÖLLHORN
Hi Olli, and what about changing the default behaviour again? Honestly I think it is pretty "dangerous" because when I want to remove a relation I just want to remove this relation. It is another thing when I remove an instance of a class - then the default behaviour could delete the relations as

Re: Deletion Bug!!!!!?

2003-11-27 Thread TINO SCHÖLLHORN
rayList as a collection class (by default it's a > RemovalAwareCollection) > > like this (as an a attribute of the collection descriptor element): > collection-class= > "org.apache.ojb.broker.util.collections.ManageableArrayList" > > > - Original Message - &

Re: Re:Deletion Bug!!!!!?

2003-11-27 Thread TINO SCHÖLLHORN
Hi, the autodelte flag is set to false. Here is my complete collectin-descriptor Any ideas? Tino - Original Message - From: "balza" <[EMAIL PROTECTED]> Newsgroups: gmane.comp.jakarta.ojb.user Sent: Thursday, November 27, 2003 4:06 PM Subject: Re:Deletion Bug!? autode

Deletion Bug!!!!!?

2003-11-27 Thread TINO SCHÖLLHORN
Hi, I have a really weird problem and I don't if I am doing something wrong or if this is a bug of OJB. I have basically 2 classes: Person and Department. I defined a N:M relation between those two. Now I want to remove a Department from a Person. But what happens is, that OJB is trying to delet

Re: MS Access Memo Field

2003-11-26 Thread TINO SCHÖLLHORN
"Graham Lounder" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hey all,Hi, as I can see you only have to set the data-type in your repository.xml of the memo-field to LONGVARCHAR. I have had the same problem, but now it is running fine. Tino > > I'm trying to save a strin

Optional Feature not implemented

2003-11-25 Thread TINO SCHÖLLHORN
Hi, currently I am using OJB 1.0rc4 for the object-relational mapping with MS Access an the Jdbc-Odbc-Bridge from SUN. I know that there are some issues with this "database" but nonetheless I have to make OJB working with it. So far everything worked quite well and I couldn't find any of those dis