Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why it doesn't create data base table?

 
Serhii Stets
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me!
this is my DB class

this is my main class

but value for data is null.
I am getting below error

 
Ron McLeod
Bartender
Pie
Posts: 1039
65
Android Eclipse IDE Java Linux MySQL Database Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The log says "no such table: RemindDB".  Are you trying to insert into the database (RemindDB) rather than the table (contacts)?
 
Brian Tkatch
Bartender
Posts: 567
25
Linux Notepad Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

What Ron said. And, i was thinking that "date" is likely a keyword and might not be able to be used for a column (or any object) name.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic