File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Accessing JDBC SQLite MetaData    Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Accessing JDBC SQLite MetaData    " Watch "Accessing JDBC SQLite MetaData    " New topic
Author

Accessing JDBC SQLite MetaData

Arthur Buliva
Ranch Hand

Joined: Mar 08, 2006
Posts: 101
Having followed the example given at http://www.zentus.com/sqlitejdbc/ I was able to run it successfully. A little modification however:

Throws this Exception:

I have Googled around but no fix I find. Any help please?
Stephan Mueller
Ranch Hand

Joined: May 05, 2010
Posts: 50
You should give us an idea to what line of your code the exceptions belongs.
at workshop.Test.main(Test.java:53)


EDIT:
and additionally, I've found the following, similar (your?) post in the sun forums:
http://forums.sun.com/thread.jspa?threadID=5448054

To me, this looks like a flaw in the driver - but I haven't verified the behaviour on another DBMS.


1. Make it run - 2. Make it run correctly - 3. Make it pretty OR fast/small - 4. ??? - 5. Profit
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

Stephan Mueller wrote:...
and additionally, I've found the following, similar (your?) post in the sun forums:
http://forums.sun.com/thread.jspa?threadID=5448054

I would not call it similar
Arthur, please follow this advise if you post the same question on several fora:
Be Forthright When Cross Posting To Other Sites

OCUP UML fundamental and ITIL foundation
youtube channel
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Accessing JDBC SQLite MetaData
 
Similar Threads
Problem with execAndWait interceptor
Reading .xls(Excel file) with JDBC (error-SQL exception)
Unable to register Derby driver
object required in java script error
problem sending data from jsp as xml via ajax