OSSpk / Library-Management-System-JAVA

📚 A sophisticated Library Management System designed in Java while following the concepts of decoupled layers (entities) and minimal code in interface (GUI).
https://github.com/harismuneer
MIT License
353 stars 231 forks source link

Invalid default value for 'RET_DATE' #16

Open jomariabejo opened 1 year ago

jomariabejo commented 1 year ago

I created a db table named LOAN and I encountered error after executing this query.

CREATE TABLE LOAN ( L_ID INTEGER not null PRIMARY KEY, BORROWER INTEGER not null, BOOK INTEGER not null, ISSUER INTEGER not null, ISS_DATE TIMESTAMP not null, RECEIVER INTEGER , RET_DATE TIMESTAMP , FINE_PAID BOOLEAN );