Apache JDO Project - [jira] Resolved: (JDO-269) Change setId methods to allow construction of Company Model

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > January 2006 > [jira] Resolved: (JDO-269) Change setId methods to allow construction of Company Model





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Resolved: (JDO-269) Change setId methods to allow construction of Company Model
Craig Russell (JIRA)

2006-01-03, 8:45 pm

[ http://issues.apache.org/jira/browse/JDO-269?page=all ]

Craig Russell resolved JDO-269:
-------------------------------

Fix Version: JDO 2 beta
Resolution: Fixed

Committed revision 365778.


> Change setId methods to allow construction of Company Model classes with default constructor
> --------------------------------------------------------------------------------------------
>
> Key: JDO-269
> URL: http://issues.apache.org/jira/browse/JDO-269
> Project: JDO
> Type: Bug
> Components: tck20
> Reporter: Craig Russell
> Assignee: Craig Russell
> Fix For: JDO 2 beta
> Attachments: persistentinterfaces.patch
>
> In order to use PersistenceManager.newInstance with the company model classes, we need to enable the setXXXId methods in the root classes. As it is right now, Person p = pm.newInstance(Person.class); p.setPersonId(5) results in IllegalStateException.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com