I've read some earlier threads on Cayenne 3.0, and have a few questions:
- Is Cayenne 3.0 Classic significantly different from Cayenne 2.x?
- Could JPA modelling tools (e.g. Eclipse Dali, etc.) be used in place of
Cayenne Modeller?
- Are there Cayenne functionalities available to Classic, but
(This thread has been duplicated on the dev list, see Ari's reply
[1]. Also Randy doesn't seem to be a user list subscriber, so I am
cc'ying to him)
- Are there Cayenne functionalities available to Classic, but not
JPA version?
Both will be using the same stack. The principal difference
I am now on the user list...
Generally yes, as JPA mapping is presumably provider-agnostic.
I haven't used Dali (or other JPA tools yet), but one motivation for doing
so would be to gain access to UML round-tripping... where changes in a class
diagram are reflected in the model, and vice
On Mar 7, 2007, at 3:04 PM, Randy Leonard wrote:
But note JPA tools likely store all model data in annotations
Not necessarily. JPA supports any combination of XML and annotations.
It is up to the user how to do the mapping.
Andrus
On Mar 7, 2007, at 3:04 PM, Randy Leonard wrote:
I would hope the industry provides vanilla JPA modelling tools,
with the possibilty of provider-specific tool-extensions
I would hope so.
to add provider-specific annotations.
JPA deals with some of that already:
* Query extensions can
Thanks for the help, Peter! However, when I change:
MyType type = (MyType) context.newObject(MyType.class);
to:
MyType type = (MyType) context. createAndRegisterNewObject(MyType.class);
I still end up with the same NPE:
Exception in thread main java.lang.NullPointerException
at
Hi all, rather than using custom templates could we imagine to change
current templates while adding
something like the Commons Lang
EqualsBuilder/HashCodeBuilder/ToStringBuilder in order to get self
explanatory
logs and quick sorts on Java Collections filled with Cayenne objects ? It
may also
Hello,
I cannot get cayenne to l imit records based on a mysql date field.
I tried two variations below.
The date is stored as datetime and has a date time value.
I only need to limit records based on date.
What am I doing wrong?
//Expression qualifier =
Hi Jerome,
Could you give specific examples of the code you want to see
generated? From your message I don't quite understand why we need to
change the *default* template?
Cheers,
Andrus
On Mar 7, 2007, at 5:50 PM, jerome moliere wrote:
Hi all, rather than using custom templates could
I got this working using the following:
c.setTime(requestDate);
c2.set(c.get(Calendar.YEAR), c.get(Calendar.MONTH),
c.get(Calendar.DAY_OF_MONTH), 0, 0, 0);
c3.set(c.get(Calendar.YEAR), c.get(Calendar.MONTH),
c.get(Calendar.DAY_OF_MONTH), 23, 59, 59);
SelectQuery query = new
10 matches
Mail list logo