db4o Developer Community

db4o open source object database, native to Java and .NET
Welcome to db4o Developer Community Sign in | Join
in Search
More Search Options

Browse by Tags

All Tags » eclipse » classloader   (RSS)
  • Re: Using DB4O in RCP program

    Eclipse uses many class loaders.  In your configuration file try this: final Configuration config = Db4o.configure(); MyPersistantClass myObject = new MyPersistantClass() ;ClassLoader cl = myObject.getClass().getClassLoader();config.reflectWith(new JdkReflector(cl));
    Posted to db4o User Forum (Forum) by jleotta on March 10, 2008
  • Re: OSGi, GenericObject, ClassCast errors and the TRANSLOADER

    I'm not sure which OSGi framework you are using. If you are running on Eclipse Equinox then you can make use of an Eclipse specific extension called ''buddy classloading''. However, this limits your ability to run your bundles on other OSGi frameworks. Basically, you would create a DB4O bundle and add the following to it's bundle ...
    Posted to OSGi (Forum) by gunnar on March 5, 2008
  • Re: ClassLoader problem in Eclipse

    Hi, looks like the db4o src isn't the issue. If eclipse can't find the source for Classloader.class (which isn't a db4o class) is because your eclipse doesn't have the sources of the Java SDK. The source usually comes with the SDK itself. Look for a ''src.zip'' file in your JAVA_HOME.
    Posted to db4o User Forum (Forum) by orthmann on September 25, 2006
  • Re: ClassLoader problem in Eclipse

    The below problem seems to have happened because of not adding the db4o source code in the project workspace. deeps_21:''Source attachment not found'' The source attachment does not find the source for ClassLoader.class This can be solved by adding the db4o source as mentioned below1 Copy the src (source code)  folder of ...
    Posted to db4o User Forum (Forum) by sekhar.mirtipati on September 25, 2006
  • ClassLoader problem in Eclipse

    Hi,       I was trying to browse through the db4O source code and trying to understand the flow for set() api. I am using Eclipse However I cant proceed since I get the following error message. ''Source attachment not found'' The source attachment does not find the source for ClassLoader.class can somebody help me here.  
    Posted to db4o User Forum (Forum) by deeps_21 on September 25, 2006