Overview of new result/pc classes/named queries for JDO 2 query
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > Overview of new result/pc classes/named queries for JDO 2 query




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Overview of new result/pc classes/named queries for JDO 2 query  
Michael Watzek


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-26-05 12:45 PM

Hi,

below you find an overview of new result/pc classes/named queries which
we have to add in order to implement the JDO 2 query test cases. Please
comment.

What is a good package for the user-defined result classes?

1) ...query.result, or
2) ...query.result.classes, or
3) ...query.userresult
4) more ideas ?

New result classes:
------------------

- FullName
constructors: ()
public fields: -
bean properties: String firstname, String firstName,
String lastname, String lastName
put method: -
- StringIntResult
constructors: (), (String, int)
public fields: -
bean properties: String s, int i
put method: -
- NoArgConstructor,
constructors: (String dummy)
public fields: -
bean properties: -
put method: -
- NoFieldsNoMethods,
constructors: ()
public fields: -
bean properties: -
put method: -
- FieldsAndSetMethods,
constructors: ()
public fields: String s
bean properties: String s
put method: -
- FieldsAndPutMethod,
constructors: ()
public fields: String s
bean properties: -
put method: +
- PutMethod
constructors: ()
public fields: -
bean properties: -
put method: +
- PersonResult
constructors: ()
public fields: -
bean properties: Person person
put method: +

New pc classes:
--------------

Package is "...pc.query".

- JDOQLKeywordsAsFieldNames
fields: parameters, select
- NoExtent
does not manage an extent

Named queries in JDO metadata:
-----------------------------

- valid, unique is false, unmodifiable is false
- valid, unique is true, unmodifiable is false
- invalid, unique is true, unmodifiable is false
- invalid, unique is false, unmodifiable is true
- valid, not loaded
- invalid and uncompilable
- valid SQL query
- queries on <jdo>/<package>/<class> level
- test cases verifying the search order of named queries

Below you find the list of assertions, which rely on the extentions above:

- New result classes: A14.8-3, A14.7-2, A14.6.12-1, A14.6.12-2,
A14.6-23, A14.6-19, A14.6.13-1.
- New pc classes: A14.4-7, A14.6.5-2.
- New named queries: A14.5-16, A14.5-13, A14.5-12, A14.7-3.

Regards,
Michael
--
-------------------------------------------------------------------
Michael Watzek                  Tech@Spree Engineering GmbH
mailto:mwa.tech@spree.de        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/
-------------------------------------------------------------------







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:32 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register