It's not a secret anymore!
The moose likes JDBC and Relational Databases and the fly likes How to Insert Date Month by month via JDBC (MySQL DB) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "How to Insert Date Month by month via JDBC (MySQL DB)" Watch "How to Insert Date Month by month via JDBC (MySQL DB)" New topic
Author

How to Insert Date Month by month via JDBC (MySQL DB)

priyanka kulathilaka
Ranch Hand

Joined: Apr 13, 2011
Posts: 36
Now my code generated other data from today to mention period. those are correctly inserted.but date inserted as same date.
need to insert month by month. because hope to make a monthly installment calculator
please help me friends..






Priyanka Kulathilaka
Software Engineer - Java
Sri Lanka
T Mishra
Ranch Hand

Joined: Apr 04, 2006
Posts: 108

Are you getting any error ?


Thanks,
Tushar (SCJP 1.5)
priyanka kulathilaka
Ranch Hand

Joined: Apr 13, 2011
Posts: 36
T Mishra wrote:Are you getting any error ?


sorted it

thanks
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44048
    
  33
And how did you sort it? We would like to know, because the same problem might appear in the future.
priyanka kulathilaka
Ranch Hand

Joined: Apr 13, 2011
Posts: 36
Campbell Ritchie wrote:And how did you sort it? We would like to know, because the same problem might appear in the future.


 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How to Insert Date Month by month via JDBC (MySQL DB)
 
It's not a secret anymore!