Re: lazy loading

2012-03-28 Thread jerome . moliere
Hi all... Michael I may have not understood the question but from my understanding the answer is NO there was a not inside Jerome --Original Message-- From: Michael Gentry To: user@cayenne.apache.org ReplyTo: user@cayenne.apache.org Subject: Re: lazy loading Sent: Mar 28, 2012 14:

OSGi integration : what's next?

2012-03-14 Thread jerome moliere
Hi all, I am going back to Cayenne , product I used 5 or 6 years ago... I am an addict of OSGi and for a new project I wish to use an ORM as the data layer inside a minimalist OSGi platform (Felix) I don't want to use the Blueprint specification (integrating JPA with Spring syntax) so I 'd like to

Re: Copying objects from one database to another

2007-04-19 Thread jerome moliere
2007/4/18, jerome moliere <[EMAIL PROTECTED]>: 2007/4/17, Michael Gentry <[EMAIL PROTECTED]>: > > This isn't really an answer to your question, but could help you. If > your > schemas are the same in db1 and db2, I would set up a shared data map > and > the

Re: level 3 caching

2007-04-19 Thread jerome moliere
tier with OpenTerracota...Don't know if someone ever tried with Cayenne..I should bring transparent cross JVM caching... HTH Jerome -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles

Re: Copying objects from one database to another

2007-04-18 Thread jerome moliere
tamaps.html Easier to maintain, don't need duplicate java classes, etc. Sorry I don't have time right now to provide more thoughts, but hopefully that'll give you something to ponder. :-) thanks for your answer michael... I'll try to follow this direction and to test i

Copying objects from one database to another

2007-04-17 Thread jerome moliere
? Storing an entire database: customizing reference data for any customer or versioning objects... Thanks in advance Jerome -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles

Re: why not middlegen

2007-04-16 Thread jerome moliere
etrieve data from db... You could develop your own middlegen cartridges to plug Cayenne into middlegen... HTH Jerome -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles

Re: Querymetadata

2007-04-16 Thread jerome moliere
2007/4/16, Andrus Adamchik <[EMAIL PROTECTED]>: On Apr 16, 2007, at 3:28 PM, jerome moliere wrote: > thanks for the reply andrus... > so rather than imaginating factories with named configuration > parameters > (metadata) I'd put in place named queries carry

Re: Querymetadata

2007-04-16 Thread jerome moliere
ding many details from the users. thanks for the reply andrus... so rather than imaginating factories with named configuration parameters (metadata) I'd put in place named queries carrying the configuration ? Why not. Thanks once again Jerome Andrus On Apr 16, 2007, at 2:50 PM,

Querymetadata

2007-04-16 Thread jerome moliere
this, but I may be blind -) Thanks for your help cheers jerome -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles

Re: AUto PK/ how to desactivate

2007-04-10 Thread jerome moliere
2007/4/10, Andrus Adamchik <[EMAIL PROTECTED]>: On Apr 10, 2007, at 7:25 PM, jerome moliere wrote: > have you ever thought about adopting a DTD/schema for config files ? > I don't like the modeler GUI (I don't understand it very well) and > I would > like to ha

Re: AUto PK/ how to desactivate

2007-04-10 Thread jerome moliere
out all configuration details Without grammar it's pretty hard to understand... Andrus On Apr 10, 2007, at 2:39 PM, jerome moliere wrote: > Hi all, > I'd like to trigger off the auto pk generation? I don't see how to > do that ? > Is it possible ? > > > I

Re: Testing on Sybase

2007-04-10 Thread jerome moliere
is information... The log space is full after many transactions ? regards jerome -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles

AUto PK/ how to desactivate

2007-04-10 Thread jerome moliere
o have a PK strategy a la 'Hibernate assigned' where I 'll provide the key.. (I can't make many things on the database managed by my customers, so I'd like to be as transparent as possible) Thanks Jerome -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles

Re: Documentation error/ API consistency / Commons Collections Bug

2007-04-05 Thread jerome moliere
erome On 4/5/07, jerome moliere <[EMAIL PROTECTED]> wrote: > Hi, > just for users conveniance I want to signal one problem in the DataRow > documentation: > > Map row = (Map)artistRows.get(0); > > // convert row to an artist > Artist artist = (Artist)ctxt.objectFromDa

Documentation error/ API consistency / Commons Collections Bug

2007-04-05 Thread jerome moliere
the docs from this project) so using these features require upgrade to the 3.2 commons collections library... Hope this helps jerome -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles

Re: commitChanges() doesn't imply commit in db ?

2007-04-04 Thread jerome moliere
no problem with that... no stress my only desire was to try to improve your product thinking that you did'nt have any Sybase server... Not the case ? forget my email-) Cheers Jerome -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles

Re: commitChanges() doesn't imply commit in db ?

2007-04-04 Thread jerome moliere
2007/4/4, Andrus Adamchik <[EMAIL PROTECTED]>: On Apr 4, 2007, at 5:27 AM, jerome moliere wrote: > I need determinism.. (I 'm using the JTDS driver now) Yeah, determinism is good. > one big difference is that now : cayenne uses the generic db > adapter because >

Re: commitChanges() doesn't imply commit in db ?

2007-04-04 Thread jerome moliere
CTED]> wrote: >> >> Ok, moving ahead - another thing to check... Try a DBCP connection >> pool instead of default Cayenne pool. >> >> http://cayenne.apache.org/doc20/dbcpdatasourcefactory.html >> >> Also could you do a "kill -QUIT" on the stuck instance to get the >> thread dump and see where exactly it is stuck. >> >> Andrus >> >> -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles

Re: commitChanges() doesn't imply commit in db ?

2007-04-03 Thread jerome moliere
sults Thanks for your help Cheers jerome http://jtds.sourceforge.net/ Andrus On Apr 3, 2007, at 12:35 PM, jerome moliere wrote: > 2007/4/3, Andrus Adamchik <[EMAIL PROTECTED]>: >> >> While I've never seen hung transactions in my apps, there were other >> users

Re: commitChanges() doesn't imply commit in db ?

2007-04-03 Thread jerome moliere
ism is used (i.e. explicit J2EE UserTransactions), you commit them explicitly. no CMT these samples are made in a very simple context, STAND ALONE applications no J2EE stuff here... -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles

Re: commitChanges() doesn't imply commit in db ?

2007-04-03 Thread jerome moliere
ncial companies)... Cheers jerome Thanks, /dev/mrg On 4/3/07, jerome moliere <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm doing a proof of concepts of several tricky usage from orm , one of > the > 2 implementations is Cayenne... > I've one scenario where 3 p

commitChanges() doesn't imply commit in db ?

2007-04-03 Thread jerome moliere
hows me that the tranaction is never committed, like one of the other applications lauching as a daemon a query on this table (does not show any update because there are not..) Any clue ? cheers jerome -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles

Re: SMall bug in docs

2007-04-03 Thread jerome moliere
y the proxy the links are perfectly good!! sorry Andrus On Apr 2, 2007, at 10:07 AM, jerome moliere wrote: > Hi all, > just to say that some web pages still refer to the old > org.objectstylepackages, > it prevents copy/paste to ant scripts ... > please refer to the cg

SMall bug in docs

2007-04-02 Thread jerome moliere
Hi all, just to say that some web pages still refer to the old org.objectstylepackages, it prevents copy/paste to ant scripts ... please refer to the cgen page on cayenne website... Jerome -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles

Re: Hook in the cayenne internals

2007-04-02 Thread jerome moliere
ight be worth looking at (since the code shows how to > read/write the types -- do the translation). > > /dev/mrg > > PS. Wiki link: http://cwiki.apache.org/CAY/enumerations-example.html > > > On 4/2/07, jerome moliere <[EMAIL PROTECTED]> wrote: > > > > Hi all,

Re: Hook in the cayenne internals

2007-04-02 Thread jerome moliere
2007/4/2, Tore Halset <[EMAIL PROTECTED]>: On Apr 2, 2007, at 11:02, jerome moliere wrote: > CREATE TABLE PAITINGS_TBL(painting_id int primary key,painting_data > bytea); > > CREATE TABLE ARTISTS_BIO(artist_id int primary key, artist_text_bio > bytea); > > >

Re: Hook in the cayenne internals

2007-04-02 Thread jerome moliere
2007/4/2, jerome moliere <[EMAIL PROTECTED]>: Hi all, I'd like to show on a simple test the Cayenne equivalent for the Hibernate UserType, that is to say a way to map some SQL types with some user provided code... Example given is : my customers use sybase image type to store XML g

Hook in the cayenne internals

2007-04-02 Thread jerome moliere
and other conception documents on Cayenne, I'd very happy to read them.. Cheers Jerome -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles

Re: [OT] Maven in Cayenne

2007-03-15 Thread jerome moliere
2007/3/14, Borut BolĨina <[EMAIL PROTECTED]>: Hello! 2007/3/14, jerome moliere <[EMAIL PROTECTED]>: > > Hi Andrus, > what a good question -) > Maven is quite a dream, the idea is perfect, its powerful and quite easy > to > use... > But it can be a nightmare

Re: [OT] Maven in Cayenne

2007-03-14 Thread jerome moliere
Jerome Andrus [1] (list of complaints) http://objectstyle.org/cayenne/lists/cayenne- devel/2007/03/0064.html [2] (thread root) http://objectstyle.org/cayenne/lists/cayenne-devel/ 2007/03/0047.html -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles

Re: Improvement ? code generation (templates)

2007-03-07 Thread jerome moliere
se the COmmons Lang main classes (ToStringBuilder and so on) to generate the hashcode/equals/toString methods... From your message I don't quite understand why we need to change the *default* template? Because I think it may be generated directly from the Modeler as the super class

Improvement ? code generation (templates)

2007-03-07 Thread jerome moliere
avoid some clever bugs in client code (not in Cayenne).. If help required I may find some time to do that... Regards Jerome -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles