Connect to SciDB from Matlab via JDBC


#1

I am trying to connect to SciDB from Matlab using the JDBC driver, scidb4j.jar from SciDB 16.9. I was successful in adding and testing a New JDBC data source for SciDB. But, when I try to Connect to the new data source I get:

java.lang.NullPointerException
	at com.mathworks.toolbox.database.gui.DataAccess.getDefaultSchema(DataAccess.java:530)
	at com.mathworks.toolbox.database.gui.DataAccess.<init>(DataAccess.java:67)
	at com.mathworks.toolbox.database.gui.DataAccess$3$1.runOnAWTEventDispatchThread(DataAccess.java:827)
	at com.mathworks.jmi.MatlabWorker$1.run(MatlabWorker.java:67)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at com.mathworks.mwswing.MJDialog.show(MJDialog.java:311)
	at com.mathworks.toolbox.database.gui.DataAccess.createLoginDialog(DataAccess.java:905)
	at com.mathworks.toolbox.database.gui.DataAccess.access$000(DataAccess.java:33)
	at com.mathworks.toolbox.database.gui.DataAccess$1.runOnAWTEventDispatchThread(DataAccess.java:601)
	at com.mathworks.jmi.MatlabWorker$1.run(MatlabWorker.java:67)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

I guess the driver calls required by getDefaultSchema are not implemented or don’t make sense in SciDB. Has anyone been able to get any further than this?