Left fetch join => distinct

2014-04-29 Thread Jim Talbut
Hi, This is from the definition of a named query: query = "SELECT o from AssessmentImpl o " + "left join fetch o.assessmentResults " + "where " + "o.assessmentKey.dateCreated > :outstandingLimit "

Re: openjpa.jdbc.SynchronizeMappings Values...

2014-04-29 Thread tdias
Rick, that is the solution after the schema is already created. But when the application is executed for the first time, with that property it is not built as I wish. This means that I need to build the schema "manually" or I need to change the property after the application is executed for the fir

Re: openjpa.jdbc.SynchronizeMappings Values...

2014-04-29 Thread Rick Curtis
As Kevin mentioned in a prior email, set this[1] property if you only want validation. Thanks, Rick [1] On Tue, Apr 29, 2014 at 6:53 AM, tdias wrote: > I know this is an old post but I'm facing a similar scenario. > Currently I'm using "buildSchema" during development, which is great. But I

Re: openjpa.jdbc.SynchronizeMappings Values...

2014-04-29 Thread tdias
I know this is an old post but I'm facing a similar scenario. Currently I'm using "buildSchema" during development, which is great. But I need to configure my project to be able to build the schema when it is executed for the first time and only to validate the schema the next times it will run. An