saatkamp / simpl09 Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/simpl09
Automatically exported from code.google.com/p/simpl09
Exception in thread "main" java.lang.RuntimeException:
java.sql.SQLException: Cannot convert value '0000-00-00 00:00:00' from
column 4 to TIMESTAMP.
at
org.apache.tuscany.das.rdb.impl.ReadCommandImpl.executeQuery(ReadCommandImp
l.java:279)
at
org.simpl.core.plugins.datasource.rdb.MySQLRDBDataSource.retrieveData(MySQL
RDBDataSource.java:111)
at Test.main(Test.java:44)
Caused by: java.sql.SQLException: Cannot convert value '0000-00-00
00:00:00' from column 4 to TIMESTAMP.
at
com.mysql.jdbc.ResultSet.getTimestampFromBytes(ResultSet.java:6864)
at
com.mysql.jdbc.ResultSet.getTimestampInternal(ResultSet.java:6899)
at com.mysql.jdbc.ResultSet.getTimestamp(ResultSet.java:6218)
at com.mysql.jdbc.ResultSet.getObject(ResultSet.java:4999)
at
org.apache.tuscany.das.rdb.graphbuilder.impl.ResultSetRow.getObject(ResultS
etRow.java:209)
at
org.apache.tuscany.das.rdb.graphbuilder.impl.ResultSetRow.processRow(Result
SetRow.java:74)
at
org.apache.tuscany.das.rdb.graphbuilder.impl.ResultSetRow.<init>(ResultSetR
ow.java:59)
at
org.apache.tuscany.das.rdb.graphbuilder.impl.ResultSetProcessor.processResu
ltSet(ResultSetProcessor.java:90)
at
org.apache.tuscany.das.rdb.graphbuilder.impl.ResultSetProcessor.processResu
lts(ResultSetProcessor.java:77)
at
org.apache.tuscany.das.rdb.impl.ReadCommandImpl.buildGraph(ReadCommandImpl.
java:309)
at
org.apache.tuscany.das.rdb.impl.ReadCommandImpl.executeQuery(ReadCommandImp
l.java:277)
... 2 more
Original issue reported on code.google.com by [email protected]
on 26 Apr 2010 at 7:22
In class SIMPLConfig (org.simpl.core) the path to the simpl-config.xml is only
correct for Win filesystems.
This should be fixed to use SIMPL on Linux without problems.
To avoid this problem without code fix, the simpl-config.xml must be copied to
the root directory of the JVM during tomcat runtime. This means if you start
the tomcat server with startup.sh in folder /bin this is the root folder and
the config file has to be copied there.
Original issue reported on code.google.com by [email protected]
on 14 Sep 2010 at 9:17
[deleted issue]
Exception in thread "main" java.lang.ClassCastException: The value of type
'class java.lang.Long' must be of type 'class java.lang.Integer'
at
org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettingDelegateSi
ngleDataUnsettableStatic.validate(EStructuralFeatureImpl.java:2195)
at
org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettingDelegateSi
ngleDataUnsettable.dynamicSet(EStructuralFeatureImpl.java:2116)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicSet(BasicEObjectImpl.ja
va:709)
at
org.apache.tuscany.sdo.impl.DynamicDataObjectImpl.eDynamicSet(DynamicDataOb
jectImpl.java:160)
at
org.apache.tuscany.sdo.impl.DataObjectImpl.eSet(DataObjectImpl.java:1459)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjectImpl.java:654)
at
org.apache.tuscany.sdo.impl.DataObjectImpl.set(DataObjectImpl.java:142)
at
org.apache.tuscany.das.rdb.graphbuilder.impl.DataObjectMaker.createAndAddDa
taObject(DataObjectMaker.java:90)
at
org.apache.tuscany.das.rdb.graphbuilder.impl.ResultSetProcessor.addRowToGra
ph(ResultSetProcessor.java:127)
at
org.apache.tuscany.das.rdb.graphbuilder.impl.ResultSetProcessor.processResu
ltSet(ResultSetProcessor.java:91)
at
org.apache.tuscany.das.rdb.graphbuilder.impl.ResultSetProcessor.processResu
lts(ResultSetProcessor.java:77)
at
org.apache.tuscany.das.rdb.impl.ReadCommandImpl.buildGraph(ReadCommandImpl.
java:309)
at
org.apache.tuscany.das.rdb.impl.ReadCommandImpl.executeQuery(ReadCommandImp
l.java:277)
at
org.simpl.core.plugins.datasource.rdb.MySQLRDBDataSource.retrieveData(MySQL
RDBDataSource.java:111)
at Test.main(Test.java:44)
Original issue reported on code.google.com by [email protected]
on 26 Apr 2010 at 7:22
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.