AW: AW: Store BitSet

2007-03-12 Thread Peter Schröder
hi peter :-) this is the exact same way we use it to store generic serializable java-objects in our db. //is closing necessary: (?) o.close(); YES, you should always close streams. its almost done bye the runtime, but you cannot be sure. kind regards peter -Ursprüngliche Nachricht-

Re: Cayenne v3.x and OSX

2007-03-12 Thread Andrus Adamchik
On Mar 12, 2007, at 2:29 AM, Randy Leonard wrote: I've downloaded the Cayenne 3.0 snapshot as referenced from the cayenne web site, and also built the latest code found in svn (including the 'mvn -P mac install' command), but still don't see a CayenneModeler application instance for OSX.

Maven 2 Cayenne artifact

2007-03-12 Thread Borut Bolčina
Hello, at http://cayenne.apache.org/download.html there is Cayenne 2.0: * groupId: org.apache.cayenne * artifactId: cayenne, cayenne-nodeps and cayenne-client-nodeps but there is no artifact cayenne at ibiblio or any mirrors, just cayenne-nodeps, cayenne-modeler and

Wanted: performance tuning hints

2007-03-12 Thread Török Péter
Hello, I made a small performance test comparing different Cayenne solutions with JDBC solutions. What I found was that in Insert operations, it is best to use Cayenne data objects (as opposed to raw SQL queries), while for Update and Delete the case is the opposite. So for Insert, this worked

Re: Wanted: performance tuning hints

2007-03-12 Thread Andrus Adamchik
What I found was that in Insert operations, it is best to use Cayenne data objects (as opposed to raw SQL queries) Cayenne adapters for Oracle, Derby, FrontBase, Postgres and SQLServer use JDBC-level batching that sometimes speeds things up significantly. SQLTemplate doesn't use JDBC

RE: Wanted: performance tuning hints

2007-03-12 Thread Török Péter
Cayenne adapters for Oracle, Derby, FrontBase, Postgres and SQLServer use JDBC-level batching that sometimes speeds things up significantly. SQLTemplate doesn't use JDBC batching. There are other possible reasons too, such as pk caching. Thanks for the hint. How can I make sure that

Does SelectQuery.addCustomDbAttribute[s] work?

2007-03-12 Thread Lachlan Deck
Hi there, I notice that CAY-228 is still open: https://issues.apache.org/cayenne/browse/CAY-228 Does anyone use these enough to comment on what works and what doesn't (i.e., particularly across relationships and or for calculated fields) Thanks. with regards, -- Lachlan Deck

Re: Cayenne v3.x and OSX

2007-03-12 Thread Randy Leonard
I think the issue is the following directory does not have a 'target' subdirectory on my machine: cayenne/modeler/cayenne-modeler-mac/ I've successfully executed all but the final command found on the following page: http://cayenne.apache.org/building-cayenne.html Specifically, I've