1. How do I dynamically replace the class loader for an Eclipse plug-in? stackoverflow.comI am developing an Eclipse plug-in that fits a client-server model. Its a commercial project so we cannot re-distribute the JDBC drivers for the various databases we support with the plug-in. So ... |
2. How do I get Hibernate import.sql to load? stackoverflow.comDatabase tables are created successfully by
in persistence.xml, however each time I run my application (within Eclipse Helios), the import.sql doesn't appear to be loading. My persistence.xml file
|
3. Classloader issue when running in separate eclipse plugins forum.hibernate.orgHibernate version: 3.2 RC4 Mapping documents: none, using programatic API I am attempting to create an EntityManagerFactory using a programatically created EJB3Configuration with device driver managernconnection info. This is done in the context of eclipse: 1- one plugin for all of hibernate 2- one plugin for my database driver (hsqldb) 3- one plugin that depends on both to create the entity ... |
4. Error in loading Oracle driver in hibernate thru eclipse forums.oracle.comorg.hibernate.console.HibernateConsoleRuntimeException: Problems while loading database driverclass (oracle.jdbc.driver.OracleDriver) at org.hibernate.console.ConsoleConfiguration.registerFakeDriver(ConsoleConfiguration.java:233) at org.hibernate.console.ConsoleConfiguration.access$1(ConsoleConfiguration.java:221) at org.hibernate.console.ConsoleConfiguration$1.execute(ConsoleConfiguration.java:135) at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35) at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:112) at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:98) at org.hibernate.eclipse.console.actions.BuildSessionFactoryAction.doRun(BuildSessionFactoryAction.java:37) at org.hibernate.eclipse.console.actions.ConsoleConfigurationBasedAction.run(ConsoleConfigurationBasedAction.java:46) at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:167) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) 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) ... |