wrong sql for tables relation

2007-10-03 Thread AlexD.
Hallo, It looks like SQL is wrong generated when I'm using relation annotations in my class plus runtime lazy loading: @Entity @Table(name = "lkp_dys_days") @NamedQueries( { @NamedQuery(name = "getDay", query = "select x from Days x where x.dysYear = ?1 and x.dysMonth = ?2 and x.dysDay = ?3") }

Re: Lazy loading not working.

2007-10-03 Thread AlexD.
Hallo, I hope that I'm right: you have to use Enhancement for this option... see http://openjpa.apache.org/docs/latest/manual/manual.html#ref_guide_pc_enhance for details. -- View this message in context: http://www.nabble.com/Lazy-loading-not-working.-tf4562936.html#a13030513 Sent from the Op

[jira] Created: (OPENJPA-391) OpenJPA with Oracle View bug

2007-10-03 Thread chowdareddy somu (JIRA)
OpenJPA with Oracle View bug Key: OPENJPA-391 URL: https://issues.apache.org/jira/browse/OPENJPA-391 Project: OpenJPA Issue Type: Bug Components: query Affects Versions: 1.0.0 Environment:

Re: svn commit: r581658 - /openjpa/branches/1.0.x/openjpa-kernel/src/main/resources/org/apache/openjpa/kernel/localizer.properties

2007-10-03 Thread Craig L Russell
Oops, thanks for catching this, Albert. Craig On Oct 3, 2007, at 10:00 AM, [EMAIL PROTECTED] wrote: Author: allee8285 Date: Wed Oct 3 10:00:53 2007 New Revision: 581658 URL: http://svn.apache.org/viewvc?rev=581658&view=rev Log: OPENJPA-366 Trivial typo in new message Modified: openjpa/b

Lazy loading not working.

2007-10-03 Thread rgarret
Hello, I am have several fields that are being eagerly loaded when they should not be. Here's a simple example to illustrate my problem: public class Test { private TestEnumeration testEnum; // TestEnumeration is an enumeration (go figure) private TestBean testBean; // TestObject is just a