Re: JEUT Champion Recruitment

2008-05-20 Thread Andrus Adamchik
Hi Alexis, Sorry, was on the road and unable to reply earlier. If you want to discuss where that might fit with Cayenne, I'd suggest to subscribe to Cayenne dev list and start a discussion there. Andrus On May 16, 2008, at 11:05 PM, Alexis Willemyns wrote: What a good idea! I am really i

Re: JEUT Champion Recruitment

2008-05-16 Thread Alexis Willemyns
What a good idea! I am really interested by the persistence layer. It would be a great pleasure to work on the Cayenne project. If you desire, we can speak about that by private email. Contact me at [EMAIL PROTECTED] 2008/5/16 Andrus Adamchik <[EMAIL PROTECTED]>: > BTW, if that turns to be the ca

Re: JEUT Champion Recruitment

2008-05-16 Thread James Carman
I do not use Toplink, so I wouldn't be a good person to answer that question. I'm glad the Hibernate stuff could help you, though. We've found that to be a lifesaver in our project. On Fri, May 16, 2008 at 9:45 AM, Alexis Willemyns <[EMAIL PROTECTED]> wrote: > Yes it seems to work perfectly. Is

Re: JEUT Champion Recruitment

2008-05-16 Thread Alexis Willemyns
Yes it seems to work perfectly. Is there an equivalent for Toplink of Oracle? 2008/5/16, James Carman <[EMAIL PROTECTED]>: > > Well, one of our unit tests is called TestTargetDatabaseSchema and in > that test I do: > > @Test > public void verifySchema() > { > SchemaValidator validator = new Schema

Re: JEUT Champion Recruitment

2008-05-16 Thread Andrus Adamchik
BTW, if that turns to be the case, you can still collaborate with OpenJPA and Cayenne projects @Apache to provide similar functionality. Andrus On May 16, 2008, at 9:30 AM, Alexis Willemyns wrote: So, with the solution of "hibernate.hbm2ddl.auto=validate", you don't need to write a unit te

Re: JEUT Champion Recruitment

2008-05-16 Thread James Carman
Well, one of our unit tests is called TestTargetDatabaseSchema and in that test I do: @Test public void verifySchema() { SchemaValidator validator = new SchemaValidator(getConfiguration()); validator.validate(); } We also found it useful to actually spit out the DDL that hibernate would use t

Re: JEUT Champion Recruitment

2008-05-16 Thread Alexis Willemyns
So, with the solution of "hibernate.hbm2ddl.auto=validate", you don't need to write a unit test? If it's the case, the JEUT framework doesn't have any sense. I will test this solution! 2008/5/16, James Carman <[EMAIL PROTECTED]>: > > This sort of thing should be built into the ORM vendor's > imple

Re: JEUT Champion Recruitment

2008-05-16 Thread James Carman
This sort of thing should be built into the ORM vendor's implementation. It is with Hibernate. If you set hibernate.hbm2ddl.auto=verify, it will make sure the database is set up correctly based on the mapping settings your application specifies. On Fri, May 16, 2008 at 7:22 AM, Alexis Willemyns

Re: JEUT Champion Recruitment

2008-05-16 Thread Alexis Willemyns
"it is a model regression testing tool" Yes, but I don't like the word "regression". In a first step, it's a "checking" testing framework, and in a second step, it becomes a "regression" testing framework in the lifecyle of an application. I am happy that my some examples help you to have a deepe

Re: JEUT Champion Recruitment

2008-05-16 Thread Alexis Willemyns
Yes of course, it's in the planning. But I will put a full version of the JEUT framework on the net. It will be probably a hosting with source forge and the use of Maven. Once done, I will give the url. Alexis 2008/5/16, Bertrand Delacretaz <[EMAIL PROTECTED]>: > > Hi Alexis, > > On Thu, May 15,

Re: JEUT Champion Recruitment

2008-05-16 Thread Andrus Adamchik
Hi Alexis, Thanks for clarifying. It matches my earlier understanding - it is a model regression testing tool. I am not saying it is not useful, just wanted to define the terms so that we have an understanding of what JEUT is. Andrus On May 16, 2008, at 6:27 AM, Alexis Willemyns wrote:

Re: JEUT Champion Recruitment

2008-05-16 Thread Bertrand Delacretaz
Hi Alexis, On Thu, May 15, 2008 at 3:57 PM, Alexis Willemyns <[EMAIL PROTECTED]> wrote: >... there is no public website and the code is ended up to 70% Like Andrus, I would suggest that you first put make your code and ideas visible to others using one of the open source hosting sites. -Bert

Re: JEUT Champion Recruitment

2008-05-16 Thread Alexis Willemyns
No I don't think it. The goal is not to test the implementation (Hibernate, Toplink, or another one...) of the JPA specification! Imagine the next case. You have a database engineer, who is for example a Oracle specialist, and you have a backend developper. The db engineer has the responsability t

Re: JEUT Champion Recruitment

2008-05-16 Thread James Carman
At that point, aren't you just testing that the ORM implementation "works"? Wouldn't it be better to make unit tests that test the values of the annotations at runtime? Stuff like: 1. Make sure class X has the @Entity annotation. 2. Make sure its "id" property has the @Id annotation. 3. Make

Re: JEUT Champion Recruitment

2008-05-16 Thread Alexis Willemyns
On a technical note, the best solution is to explain you an example. As for every layer in an application, unit tests are welcome. This is too true for the entities mapped via JPA. So if you want to test an entity, you will create an unit test class (for example with JUnit). In this class, you will

Re: JEUT Champion Recruitment

2008-05-15 Thread Andrus Adamchik
Hi Alexis, I think it would really help if you started developing in the open using one of the free open source sites. This would provide the project history to a potential Champion, including access to the source code and general feel of whether you are really interested in building comm