Skip to content

estaciojf/trabalho-de-refactoracao-bernardo1574

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

###SQL

CREATE TABLE `Livros` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(45) DEFAULT NULL,
  `author` varchar(45) DEFAULT NULL,
  `gender` varchar(45) DEFAULT NULL,
  `year` int(11) DEFAULT NULL,
  `isRead` tinyint(4) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1


INSERT INTO `Livros` VALUES (1,'zezin','Tolkien','Aventura',1950,1),(2,'Clube da Luta','Chuck ','Aventura',1998,1),(3,'Harry Potter','Rowling','Aventura',2001,0),(4,'Don Quixote	','Miguel de Cervantes	','Aventura',1900,0);

Alterar a string de conexão com o banco

https://github.com/lesimoes/TrabalhoRefactor/blob/master/src/Enum/EDataBase.java

About

trabalho-de-refactoracao-bernardo1574 created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages