Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3308420
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:31:11+00:00 2026-05-17T21:31:11+00:00

I tried using the following query: Query q = getPersistenceManager().newQuery( getPersistenceManager().getExtent(ICommentItem.class, false) ); but

  • 0

I tried using the following query:

Query q = getPersistenceManager().newQuery(
getPersistenceManager().getExtent(ICommentItem.class, false)
);

but got:

org.datanucleus.exceptions.NoPersistenceInformationException: The class
“com.sampleapp.data.dataobjects.ICommentItem” is required to be persistable yet no Meta -Data/Annotations can be found for this class. Please check that the Meta-Data/annotations is defined in a valid file location.

I saw in the Datanucleus forum somebody suggested (a few years ago) using :

<interface name=IComment/> 

I tried that but it didn’t create any table when I ran schema-update. Is tag still relavent? I coudnt see anything in docs on it.

I also tried :

<class name=IComment/>

But that gave this error when running schema-create:

SEVERE: Error thrown enhancing with ASMClassEnhancer
java.lang.NullPointerException
at org.datanucleus.enhancer.asm.method.DefaultConstructor.execute(DefaultConstructor.java:63)
at org.datanucleus.enhancer.asm.JdoClassAdapter.visitEnd(JdoClassAdapter.java:317)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.datanucleus.enhancer.asm.ASMClassEnhancer.enhance(ASMClassEnhancer.java:388)
at org.datanucleus.enhancer.DataNucleusEnhancer.enhanceClass(DataNucleusEnhancer.java:1035)
at org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:609)
at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1316)
Oct 23, 2010 6:46:33 PM org.datanucleus.enhancer.DataNucleusEnhancer addMessage
INFO: ERROR (PersistenceCapable) : com.sampleapp.data.dataobjects.ICommentItem
Oct 23, 2010 6:46:33 PM org.datanucleus.enhancer.asm.ASMClassEnhancer enhance
INFO: Class “com.sampleapp.data.dataobjects.Article” is already enhanced.
Oct 23, 2010 6:46:33 PM org.datanucleus.enhancer.DataNucleusEnhancer addMessage
SEVERE: DataNucleus Enhancer completed with an error. Please review the enhancer log for full details. Some classes may have been enhanced but some caused errors
Failure during enhancement of classes – see the log for details
org.datanucleus.exceptions.NucleusException: Failure during enhancement of classes – see the log for details
at org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:620)
at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1316)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T21:31:11+00:00Added an answer on May 17, 2026 at 9:31 pm

    Turns out this is not supported at this time but is planned to be added in version 2.2.0M3

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tried using the obvious method as outlined in the following example but
I tried using "cap rollback" but I get the following error: $ cap rollback
How do you rotate an image using jQuery-rotate plugin? I have tried the following
I tried using the Microsoft ReportingControls but found them overly cumbersome, with too little
I've tried using source control for a couple projects but still don't really understand
I just got Java5 project that has this error, i tried using Java5 and
Have you tried using MVC or any other UI pattern for GWT client code.
Have you tried using straight javascript (rather straight ECMAscript 3 standard) in Flex applications,
I have a program that monitors debug messages and I have tried using a
Anybody tried here using Getting Real(37Signals) approach to develop windows application? (C#/.NET). Or simply

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.