Discussion:
extract metadata
b***@wlink.com.np
2006-05-12 09:19:50 UTC
Permalink
How can I extract table(s) infrormation or metadata from your database
(mckoi) ? I am using Java to extract the metadata and write an XML for
the metadata. How can i go about doing this? I am completely new to
programming.


---------------------------------------------------------------
Mckoi SQL Database mailing list http://www.mckoi.com/database/
To unsubscribe, send a message to mckoidb-***@mckoi.com
Nasser Dawoud /MEM/PRO
2006-05-19 18:29:22 UTC
Permalink
I am getting the following error:
"File corrupt: last_area_pointer is before data part of file"

I tried runing the following:
java -cp mckoidb.jar com.mckoi.tools.DBConglomerateRepairTool -path [path to
your data]

but still gave me the same error at the end of it:

+ Repairing V2MasterTableDataSource 014SYS_INFO_sUSRGrant
[com.mckoi.debug.Debug - Exception thrown: 'File corrupt: last_area_pointer
at the end of the file.']
java.io.IOException: File corrupt: last_area_pointer at the end of the file.
at com.mckoi.store.AbstractStore.open(AbstractStore.java:209)
at
com.mckoi.database.V1FileStoreSystem.openStore(V1FileStoreSystem.java:145)
at
com.mckoi.database.V2MasterTableDataSource.checkAndRepair(V2MasterTableDataS
ource.java:818)
at
com.mckoi.database.TableDataConglomerate.checkVisibleTables(TableDataConglom
erate.java:438)
at
com.mckoi.database.TableDataConglomerate.fix(TableDataConglomerate.java:2320
)
at
com.mckoi.tools.DBConglomerateRepairTool.repair(DBConglomerateRepairTool.jav
a:57)
at
com.mckoi.tools.DBConglomerateRepairTool.main(DBConglomerateRepairTool.java:
87)
Exception in thread "main" java.lang.RuntimeException: IO Error: File
corrupt: last_area_pointer at the end of the file.
at
com.mckoi.database.V1FileStoreSystem.openStore(V1FileStoreSystem.java:155)
at
com.mckoi.database.V2MasterTableDataSource.checkAndRepair(V2MasterTableDataS
ource.java:818)
at
com.mckoi.database.TableDataConglomerate.checkVisibleTables(TableDataConglom
erate.java:438)
at
com.mckoi.database.TableDataConglomerate.fix(TableDataConglomerate.java:2320
)
at
com.mckoi.tools.DBConglomerateRepairTool.repair(DBConglomerateRepairTool.jav
a:57)
at
com.mckoi.tools.DBConglomerateRepairTool.main(DBConglomerateRepairTool.java:
87)



----- Original Message -----
From: <***@wlink.com.np>
To: <***@mckoi.com>
Sent: Friday, May 12, 2006 5:19 AM
Subject: extract metadata


How can I extract table(s) infrormation or metadata from your database
(mckoi) ? I am using Java to extract the metadata and write an XML for
the metadata. How can i go about doing this? I am completely new to
programming.


---------------------------------------------------------------
Mckoi SQL Database mailing list http://www.mckoi.com/database/
To unsubscribe, send a message to mckoidb-***@mckoi.com




---------------------------------------------------------------
Mckoi SQL Database mailing list http://www.mckoi.com/database/
To unsubscribe, send a message to mckoidb-***@mckoi.com

Continue reading on narkive:
Loading...