Hi,

I have define a new raw data file type (ImaGeneMerged):
    - in the raw-data-types.xml (WWW/WEBINF/classes) with specials fields of my 
rawdata.
    -in the database : I created a new table (RawDataImagineMerged) with the 
general field (position, block, raw, column, reporter_id,...) et my special 
fields (of my raw data type).
I create a new configuration of raw data import plugin.
I try to import a raw data and I have this error :Error: Unknown column 
'position' in 'field list' on line 54: 50 1 2 18 BP0754

The stack trace is :
net.sf.basedb.core.BaseException: Unknown column 'position' in 'field list' on 
line 54: 50 1 2 18 BP0754 ...
at 
net.sf.basedb.plugins.AbstractFlatFileImporter.doImport(AbstractFlatFileImporter.java:645)
at 
net.sf.basedb.plugins.AbstractFlatFileImporter.run(AbstractFlatFileImporter.java:463)
at 
net.sf.basedb.core.PluginExecutionRequest.invoke(PluginExecutionRequest.java:89)
at net.sf.basedb.core.InternalJobQueue$JobRunner.run(InternalJobQueue.java:435)
at java.lang.Thread.run(Thread.java:595)
Caused by: net.sf.basedb.core.BaseException: Unknown column 'position' in 
'field list'
at net.sf.basedb.core.BasicBatcher.flushInsert(BasicBatcher.java:431)
at net.sf.basedb.core.BasicBatcher.insert(BasicBatcher.java:321)
at net.sf.basedb.core.RawDataBatcher.doInsert(RawDataBatcher.java:410)
at net.sf.basedb.core.RawDataBatcher.insert(RawDataBatcher.java:354)
at 
net.sf.basedb.plugins.RawDataFlatFileImporter.handleData(RawDataFlatFileImporter.java:601)
at 
net.sf.basedb.plugins.AbstractFlatFileImporter.doImport(AbstractFlatFileImporter.java:616)
... 4 more
Caused by: java.sql.BatchUpdateException: Unknown column 'position' in 'field 
list'
at 
com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1237)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:936)
at 
com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
at net.sf.basedb.core.BasicBatcher.flushInsert(BasicBatcher.java:422)
... 9 more


How can I define the field 'position' and in which file?

Thanks.
Bérénice.


      
_____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
http://mail.yahoo.fr
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject "unsubscribe" to
[EMAIL PROTECTED]

Reply via email to