Im running Hibernator 0.9.5 in Eclipse 2.1 trying to connect to an Oracle Database having this exception in the log window:
java.lang.Exception: Error: Driver returned a null connection: prueba
at net.sf.hibernator.HibernateConnection.createConnection(HibernateConnection.java:179)
at net.sf.hibernator.views.ConnectionView.connect(ConnectionView.java:185)
at net.sf.hibernator.views.ConnectionView.access$4(ConnectionView.java:180)
at net.sf.hibernator.views.ConnectionView$6.run(ConnectionView.java:164)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
Thanks!!!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-11-08
Your driver settings are probably incorrect - check the connection url in particular. You may want to provide more details regarding your connection settings
-Scott
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-11-20
in oracle you must supply the complete url connection string ... like this:
jdbc:oracle:thin:@127.0.0.1:1521:ora
voil
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-11-20
i forgot this....... i'am using:
eclipse 2.1.2
hibernator_0.9.6
Personal Oracle9i Release 9.2.0.1.0
ok see ya
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Im running Hibernator 0.9.5 in Eclipse 2.1 trying to connect to an Oracle Database having this exception in the log window:
java.lang.Exception: Error: Driver returned a null connection: prueba
at net.sf.hibernator.HibernateConnection.createConnection(HibernateConnection.java:179)
at net.sf.hibernator.views.ConnectionView.connect(ConnectionView.java:185)
at net.sf.hibernator.views.ConnectionView.access$4(ConnectionView.java:180)
at net.sf.hibernator.views.ConnectionView$6.run(ConnectionView.java:164)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
Thanks!!!!
Your driver settings are probably incorrect - check the connection url in particular. You may want to provide more details regarding your connection settings
-Scott
in oracle you must supply the complete url connection string ... like this:
jdbc:oracle:thin:@127.0.0.1:1521:ora
voil
i forgot this....... i'am using:
eclipse 2.1.2
hibernator_0.9.6
Personal Oracle9i Release 9.2.0.1.0
ok see ya