Code Monkey home page Code Monkey logo

orientdb-oda-birt's Introduction

OrientDB Birt Plugin (OrientDB ODA BIRT driver)

What is this?

This is plugin for use OrientDB in BIRT reports as DataSource. Can be used as Eclipse plugin or Maven package - it is need, if you use BIRT runtime package.

How to...

How to install as Eclipse plugin

You may use it with binary or HTTP OrientDB API. Now not support HTTP API parameters.

How to install as Maven package

Include in your POM next snippets:

Sonatype snapshot repository

<repositories>
	<repository>
		<id>snapshots-repo</id>
		<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		<releases>
			<enabled>false</enabled>
		</releases>
		<snapshots>
			<enabled>true</enabled>
		</snapshots>
	</repository>
</repositories>

Maven package dependency

<dependency>
  <groupId>org.orienteer</groupId>
  <artifactId>org.orienteer.birt.orientdb</artifactId>
  <version>1.0-SNAPSHOT</version>
</dependency>

orientdb-oda-birt's People

Contributors

phantomydn avatar sergeyasm avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

orientdb-oda-birt's Issues

Failing if query return nothing

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(ArrayList.java:653)
	at java.util.ArrayList.get(ArrayList.java:429)
	at org.orienteer.birt.orientdb.impl.HttpQuery.prepare(HttpQuery.java:84)
	at org.orienteer.birt.orientdb.ui.impl.CustomDataSetWizardPage.updateDesign(CustomDataSetWizardPage.java:279)
	at org.orienteer.birt.orientdb.ui.impl.CustomDataSetWizardPage.savePage(CustomDataSetWizardPage.java:254)
	at org.orienteer.birt.orientdb.ui.impl.CustomDataSetWizardPage.collectDataSetDesign(CustomDataSetWizardPage.java:168)
	at org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardPageCore.finishDataSetDesign(DataSetWizardPageCore.java:395)
	at org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardBase.collectDataSetDesignFromPage(DataSetWizardBase.java:365)
	at org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardBase.finishDataSetDesign(DataSetWizardBase.java:387)
	at org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardBase.performFinish(DataSetWizardBase.java:99)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:790)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:423)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5219)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4553)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4143)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
	at org.eclipse.jface.window.Window.open(Window.java:794)

Date/DateTime fields lead to exception

Exception in eclipse:

com.orientechnologies.orient.core.exception.OSerializationException: Error on unmarshalling JSON content for record: "result":[{"@type":"d","@rid":"#-2:0","@version":0,"fact":0.0,"plan":0.0,"forecast":0.0,"financialMonth":"2017-01-01 00:00:00","project":"\u041b\u041e\u0414-\u0421\u043c\u043e\u043b\u0435\u043d\u0441\u043a-2015","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:1","@version":0,"fact":0.0,"plan":0.0,"forecast":0.0,"financialMonth":"2017-02-01 00:00:00","project":"\u0421\u0435\u0440\u0422\u0435\u0441\u0442","sector":"\u0414\u0435\u043f\u0430\u0440\u0442\u0430\u043c\u0435\u043d\u0442 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:2","@version":0,"fact":-39000.0,"plan":0.0,"forecast":0.0,"financialMonth":"2017-01-01 00:00:00","project":"\u0421\u0435\u0440_\u043f\u0440\u043e\u0447\u0438\u0435 \u0440\u0430\u0441\u0445\u043e\u0434\u044b \u0414\u041a\u041f","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:3","@version":0,"fact":-195.0,"plan":0.0,"forecast":0.0,"financialMonth":"2017-01-01 00:00:00","project":"\u0422\u0435\u0441\u0442 3","sector":"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u0430\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:4","@version":0,"fact":-195.0,"plan":-260.0,"forecast":0.0,"financialMonth":"2017-02-01 00:00:00","project":"\u0422\u0435\u0441\u0442 3","sector":"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u0430\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:5","@version":0,"fact":0.0,"plan":0.0,"forecast":0.0,"financialMonth":"2017-01-01 00:00:00","project":"\u041c\u0424\u0426-\u0421\u043c\u043e\u043b\u0435\u043d\u0441\u043a-2015","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:6","@version":0,"fact":0.0,"plan":-260.0,"forecast":0.0,"financialMonth":"2017-01-01 00:00:00","project":"\u0422\u0435\u0441\u0442 2","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:7","@version":0,"fact":0.0,"plan":0.0,"forecast":0.0,"financialMonth":"2017-01-01 00:00:00","project":"\u0421\u0435\u0440\u0422\u0435\u0441\u0442","sector":"\u0414\u0435\u043f\u0430\u0440\u0442\u0430\u043c\u0435\u043d\u0442 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:8","@version":0,"fact":-209800.5,"plan":0.0,"forecast":0.0,"financialMonth":"2017-01-01 00:00:00","project":"\u041c\u0424\u0426-\u041c\u042d\u0420-\u041c\u0414\u041c-2015","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:9","@version":0,"fact":-195.0,"plan":-260.0,"forecast":0.0,"financialMonth":"2017-02-01 00:00:00","project":"\u0422\u0435\u0441\u0442 2","sector":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:10","@version":0,"fact":-195.0,"plan":0.0,"forecast":0.0,"financialMonth":"2017-01-01 00:00:00","project":"\u0422\u0435\u0441\u0442 2","sector":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:11","@version":0,"fact":-130000.0,"plan":-780000.0,"forecast":0.0,"financialMonth":"2017-03-01 00:00:00","project":"\u041b\u041e\u0414-\u0421\u043c\u043e\u043b\u0435\u043d\u0441\u043a-2015","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:12","@version":0,"fact":0.0,"plan":0.0,"forecast":0.0,"financialMonth":"2017-01-01 00:00:00","project":"\u0420\u0435\u0435\u0441\u0442\u0440\u044b-\u041c\u041e-\u041c\u0438\u043d\u0433\u043e\u0441-2015","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:13","@version":0,"fact":0.0,"plan":-260.0,"forecast":0.0,"financialMonth":"2017-01-01 00:00:00","project":"\u0422\u0435\u0441\u0442 3","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:14","@version":0,"fact":-195.0,"plan":-260.0,"forecast":0.0,"financialMonth":"2017-01-01 00:00:00","project":"\u0422\u0435\u0441\u0442 1","sector":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:15","@version":0,"fact":0.0,"plan":0.0,"forecast":0.0,"financialMonth":"2017-01-01 00:00:00","project":"\u041c\u0424\u0426-\u0415\u0410\u041e-2015","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:16","@version":0,"fact":-195.0,"plan":-260.0,"forecast":0.0,"financialMonth":"2017-02-01 00:00:00","project":"\u0422\u0435\u0441\u0442 1","sector":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e","reportItem":"\u0421\u0443\u0431\u043f\u043e\u0434\u0440\u044f\u0434\u044b \u0441 \u043a\u043e\u043d\u0442\u0438\u043d\u0434\u0436\u0435\u043d\u0441\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:17","@version":0,"fact":-15153.5,"plan":0.0,"forecast":0.0,"financialMonth":"2017-01-01 00:00:00","project":"\u041b\u041e\u0414-\u0421\u043c\u043e\u043b\u0435\u043d\u0441\u043a-2015","reportItem":"\u041a\u043e\u043c\u0430\u043d\u0434\u0438\u0440\u043e\u0432\u043a\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:18","@version":0,"fact":-30.0,"plan":-50.0,"forecast":0.0,"financialMonth":"2017-02-01 00:00:00","project":"\u0421\u0435\u0440\u0422\u0435\u0441\u0442","sector":"\u0414\u0435\u043f\u0430\u0440\u0442\u0430\u043c\u0435\u043d\u0442 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432","reportItem":"\u041a\u043e\u043c\u0430\u043d\u0434\u0438\u0440\u043e\u0432\u043a\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}, {"@type":"d","@rid":"#-2:19","@version":0,"fact":-17708.75,"plan":0.0,"forecast":0.0,"financialMonth":"2017-01-01 00:00:00","project":"\u0421\u0435\u0440_\u043f\u0440\u043e\u0447\u0438\u0435 \u0440\u0430\u0441\u0445\u043e\u0434\u044b \u0414\u041a\u041f","reportItem":"\u041a\u043e\u043c\u0430\u043d\u0434\u0438\u0440\u043e\u0432\u043a\u0438","@fieldTypes":"fact=d,plan=d,forecast=d,financialMonth=t"}]
	at com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.fromString(ORecordSerializerJSON.java:323)
	at com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.fromString(ORecordSerializerJSON.java:171)
	at com.orientechnologies.orient.core.record.ORecordAbstract.fromJSON(ORecordAbstract.java:170)
	at com.orientechnologies.orient.core.record.impl.ODocument.fromJSON(ODocument.java:1751)
	at org.orienteer.birt.orientdb.impl.HttpQuery.prepare(HttpQuery.java:75)
	at org.orienteer.birt.orientdb.ui.impl.CustomDataSetWizardPage.updateDesign(CustomDataSetWizardPage.java:279)
	at org.orienteer.birt.orientdb.ui.impl.CustomDataSetWizardPage.savePage(CustomDataSetWizardPage.java:254)
	at org.orienteer.birt.orientdb.ui.impl.CustomDataSetWizardPage.collectDataSetDesign(CustomDataSetWizardPage.java:168)
	at org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardPageCore.finishDataSetDesign(DataSetWizardPageCore.java:395)
	at org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardBase.collectDataSetDesignFromPage(DataSetWizardBase.java:365)
	at org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardBase.finishDataSetDesign(DataSetWizardBase.java:387)
	at org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardBase.performFinish(DataSetWizardBase.java:99)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:790)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:423)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.