Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.1
-
Fix Version/s: None
-
Component/s: JPA 3.0
-
Labels:None
-
Number of attachments :
Description
from the coversation between ralf and me on #castor@irc.codehaus.org
<ralf> yesterday evening i talked with werner about some work for you to contribute to JPA
//...
<ralf> how about adding support for named queries
//...
<emir> I could try
<ralf> the first thing to do is to extend mapping to allow specification of named queries
<ralf> this is done by:
<ralf> changing DTD and XSD of mapping
<ralf> regenerate mapping classes with srcgen
<ralf> add a property to ClassDescriptor to be able to pass the query to internals of castor jdo
<ralf> add methods to Database interface to create one of the named queries
<ralf> and at least execute them ![]()
<ralf> this shouldn't be very complicated but there may be some challanging areas
<emir> like?
<ralf> i'm not aware of any problems but this also depends on your knoledge of castor internals
<ralf> if we finished MappingLoader refactoring you can also help us to write a MappingLoader for JPA annotations
<ralf> but at the moment this is a bit to early
Based upon some conversation ealier today, I'd like to see the following files being attached and the following changes being implemented: