rcp « Eclipse « JPA Q&A





1. Using Hibernate with Dynamic Eclipse Plug-ins    stackoverflow.com

I have classes that are named exactly the same across different plug-ins that I use for my application, and I'd like to be able to configure them properly with Hibernate. The ...

2. Entities and the adapter pattern    stackoverflow.com

I was wondering what would be the right to go: I have an eclipse rcp application which uses some JPA entities. Now I've would love to use the adapter pattern, which ...

3. Hibernate in Eclipse (RCP)    coderanch.com

Sorry if this is in the wrong place, but i thought i'd ask you guys/gals if you had used Hibernate in this way. I am struggling to use hibernate in a plugin. I have all the jars for hibernate in one plugin. All my model classes for a database are in another plugin and the user interface (views etc) are in ...

4. Problem with Hibernate 2 and eclipse RCP    forum.hibernate.org

Hello! I'm using Hibernate 2 in a Java application, which is based on eclipse RCP framework (http://www.eclipse.org/rcp/). When I run the application from eclipse, everything works fine. However, when I create a stand-alone application (i. e. a Java application, which runs without eclipse), I'm getting a strange error. When Configuration is initialized, there is a statement like configuration.addClass(MyClass.class). As soon as ...

5. Eclipse RCP problems using buddyloading    forum.hibernate.org

java.lang.ExceptionInInitializerError at metaInformationClient.Application.run(Application.java:20) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) ...

6. eclipse rcp + hibernate    forum.hibernate.org

Hi, i'm trying to use a working hibernate configuration under a simple eclipse rcp application. While it loads the configuration and mapping files and tries to create the sessionfactory, it throws a mapping exception for java.lang.String with message "persistent class not know". Any idea? Thanks in advance. KL Hibernate:3.1.2 Eclipse: 3.2.0, I20060223-1656 Stack trace: Code: org.hibernate.MappingException: persistent class not known: java.lang.String ...

7. Eclipse RCP and Hibernate, problem creating proxy objects    forum.hibernate.org

Beginner Joined: Thu Jun 29, 2006 12:36 pm Posts: 20 Hello, I'm currently developing an Eclipse RCP application that uses Hibernate for persistence. In short: Hibernate has a problem with creating the proxys for my model. (See detailed Hibernate Log futher down) Code: 2006-09-29 12:36:37,800 ERROR [main] CGLIBLazyInitializer line 130: CGLIB Enhancement failed: com.xx.zoorender.model.TaskElement net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null Caused by: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null Caused ...

8. Eclipse RCP + InputStreamZippedJarVisitor problem    forum.hibernate.org

Hi List! I'm having problems with bundling hibernate and my ejb model in eclipse RCP application. I managed to solve all classloading problems but one, related to InputStreamZippedJarVisitor class. Simplifying things I have: hibernate plugin which registers itself for buddy classloading policy dbmodel plugin which depends on hibernate and is a buddy of hibernate application plugin which depends on hibernate and ...

9. JPA and Eclipse RCP    forum.hibernate.org

The problem lies in the following code: I don't know what the code does but if I comment out the line (if ( filters.size() > 0 ) doProcessElements();) everything works. Interesting is, that my document is not in an jar (could this be a problem) But in eclipse it works also without. Is this maybe a codeoptimization? Chris Code: public class ...





10. thick clients swing or Eclipse RCP    forum.hibernate.org

11. Using JPA and Hibernate with Eclipse RCP    forum.hibernate.org

I am trying to use Hibernate and JPA in an Eclipse RCP application to provide the necessary persistence layer. I have seen some references to packaging hibernate as a plug-in for exclipse using "buddy loading", but can find no reference to doing something similar for JPA. Does JPA need to be similarly wrapped? Are there any supported "pre-wrapped" plug-ins for Hibernate ...

12. Hibernate+Eclipse rcp throw StackOverflowException    forum.hibernate.org

Author Message bill101 Post subject: Hibernate+Eclipse rcp throw StackOverflowException Posted: Thu Sep 18, 2008 10:49 pm Newbie Joined: Thu Sep 18, 2008 10:29 pm Posts: 1 Hi, I create a project from eclipse plugin developement.It can run. But when I add only one line Configuration conf = new Configuration().configure(); in Application.java. It throws java.lang.StackOverflowError. My code is: package rcphibernate.intro; ...