Discussion:
[Xdoclet-devel] [XDoclet-JIRA] Created: (XDT-1695) Is the jdo-module fully compliant to JDO 2.0
Kodo Belner (JIRA)
2008-05-05 08:08:17 UTC
Permalink
Is the jdo-module fully compliant to JDO 2.0
--------------------------------------------

Key: XDT-1695
URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1695
Project: XDoclet
Issue Type: New Feature
Components: JDO Module
Affects Versions: 1.2.3
Environment: windows xp, Bea Kodo 4.1.4, JDK 1.5
Reporter: Kodo Belner
Assignee: xdoclet-devel (Use for new issues)
Priority: Minor


Does the JDO module fully support JDO 2.0

If I try to enhance the model with a Kodo task (4.1.4) I get the following warning, leading to a false creation of the database

Kodo 4.1.4 uses OpenJPA for enhancement

jdo-enhance:
[kodoc] Some product derivations are being skipped. For information about product derivation status, run:
[kodoc] java org.apache.openjpa.lib.conf.ProductDerivations
[kodoc] 2008-05-05 08:48:50,598 [INFO ] openjpa.MetaData - Parsing class "com.oepag.kdms.server.entities.rohdaten.RohdatenMeldungX".
[kodoc] 2008-05-05 08:48:50,629 [INFO ] openjpa.MetaData - The metadata for "com.oepag.kdms.server.entities.rohdaten.RohdatenMeldungX" declares the "persistence-capable-superclass" attribute. This attribute is no longer used. Ignoring.

It seems that OpenJPA does not support persistence-capable-superclass, despite in the JDO 2.0 standard it still exists in the DTD definition.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Marco Schulze (JIRA)
2008-05-05 09:06:17 UTC
Permalink
[ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_17865 ]

Marco Schulze commented on XDT-1695:
------------------------------------

When I worked the last time on the jdo module, the JDO 2.0 standard was not yet completely finalized, but it was in the last stage. Hence, it might be possible (though unlikely) that some things still changed.

We - http://www.jifre.org - are using XDoclet's JDO module with JDO 2.0 (with JPOX/DataNucleus) and it works fine. Additionally, the log message above seems to be only a warning. Hence, I don't see the need to change anything at the JDO 2.0 module, right now.

Concerning the "persistence-capable-superclass", I think it is about to be removed (deprecated) in JDO 2.1.

Btw. if you want an up-to-date binary (non-official build), you can download it here: http://www.nightlabs.de/updatesites/development/
Post by Kodo Belner (JIRA)
Is the jdo-module fully compliant to JDO 2.0
--------------------------------------------
Key: XDT-1695
URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1695
Project: XDoclet
Issue Type: New Feature
Components: JDO Module
Affects Versions: 1.2.3
Environment: windows xp, Bea Kodo 4.1.4, JDK 1.5
Reporter: Kodo Belner
Assignee: xdoclet-devel (Use for new issues)
Priority: Minor
Does the JDO module fully support JDO 2.0
If I try to enhance the model with a Kodo task (4.1.4) I get the following warning, leading to a false creation of the database
Kodo 4.1.4 uses OpenJPA for enhancement
[kodoc] java org.apache.openjpa.lib.conf.ProductDerivations
[kodoc] 2008-05-05 08:48:50,598 [INFO ] openjpa.MetaData - Parsing class "com.oepag.kdms.server.entities.rohdaten.RohdatenMeldungX".
[kodoc] 2008-05-05 08:48:50,629 [INFO ] openjpa.MetaData - The metadata for "com.oepag.kdms.server.entities.rohdaten.RohdatenMeldungX" declares the "persistence-capable-superclass" attribute. This attribute is no longer used. Ignoring.
It seems that OpenJPA does not support persistence-capable-superclass, despite in the JDO 2.0 standard it still exists in the DTD definition.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Marco Schulze (JIRA)
2008-05-05 09:08:17 UTC
Permalink
[ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_17866 ]

Marco Schulze commented on XDT-1695:
------------------------------------

... I was stupid enough to write our URL wrong - seems I need to drink more coffee before starting my work ;-) it's http://www.jfire.org
Post by Kodo Belner (JIRA)
Is the jdo-module fully compliant to JDO 2.0
--------------------------------------------
Key: XDT-1695
URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1695
Project: XDoclet
Issue Type: New Feature
Components: JDO Module
Affects Versions: 1.2.3
Environment: windows xp, Bea Kodo 4.1.4, JDK 1.5
Reporter: Kodo Belner
Assignee: xdoclet-devel (Use for new issues)
Priority: Minor
Does the JDO module fully support JDO 2.0
If I try to enhance the model with a Kodo task (4.1.4) I get the following warning, leading to a false creation of the database
Kodo 4.1.4 uses OpenJPA for enhancement
[kodoc] java org.apache.openjpa.lib.conf.ProductDerivations
[kodoc] 2008-05-05 08:48:50,598 [INFO ] openjpa.MetaData - Parsing class "com.oepag.kdms.server.entities.rohdaten.RohdatenMeldungX".
[kodoc] 2008-05-05 08:48:50,629 [INFO ] openjpa.MetaData - The metadata for "com.oepag.kdms.server.entities.rohdaten.RohdatenMeldungX" declares the "persistence-capable-superclass" attribute. This attribute is no longer used. Ignoring.
It seems that OpenJPA does not support persistence-capable-superclass, despite in the JDO 2.0 standard it still exists in the DTD definition.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...