Monday, February 1, 2010

EclipseLink on LinkedIn

I was back in the field last week helping a customer with their migration to EclipseLink from a 3rd party developed solution using TopLink Essentials. Generally these migrations are very straight forward but in this case we bumped into a few unique wrinkles caused by the original solution being developed on a very early version of our JPA 1.0 solution and the consultants building it introducing a partial JPA container that changed the default behaviour.

Ultimately we got the issues resolved in relatively short order and enjoyed a great meal with some of the consultants on the project in Halifax. I truly enjoy any chance I get to down into an application and help developers solve their persistence challenges.

During my visit I made some notes on a couple of take-aways.

1. Update the EclipseLink wiki's best practices to include a couple of additional scenarios around long-running transactions.

2. Help connect the existing community of Java professionals using EclipseLink.

I have already started on the first and will post some highlights here when the work is completed. To address the second action item I created the EclipseLink Group on LinkedIn.

The goal of this group is to allow any and all Java professionals who use LinkedIn to connect and share ideas, job opportunities, news, and upcoming events. If this sounds interesting to you please join the group and share your ideas.

Doug

1 comment:

RobB said...

Hi Doug,

Re NestedFetchGroup's.

I was off surfing and ended up at:
http://wiki.eclipse.org/EclipseLink/Development/Incubator/Extensions/NestedFetchGroup

I was wondering if anyone has been thinking about getting "Fetch Groups" and especially nested fetch groups incorporated into JPQL?

The reason I ask... is that I have been developing Ebean ORM and it basically has "fetch groups" incorporated into it's query language and that is rather nice.

For example you can do:

find employee (firstName, lastName)
join address (city, postCode)
where gender = :g

or... (a more complex example)

find order (*)
join customer (name, status)
join customer.shippingAddress (*)
join details (*)
join details.product (sku,name)
where id = :id


Anyway... once you get Nested Fetch Groups going in might be worth a thought to try and get something like the above back into JPQL - I imagine that is tough but you never know your luck.

Anyway, if your interested or want more info etc I'm at robin dot bygrave at gmail dot com.


Cheers, Rob.

... and you can find Ebean and its query language at www.avaje.org