This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class HolaMundo{ | |
public static void main(String[] agrs){ | |
System.out.print("Hola mundo"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pubic class Principal{ | |
public static void main(String[] args){ | |
System.out.println("Hola gist"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Facker</title> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO estado (id, descripcion) VALUES(1, 'En curso'); | |
INSERT INTO estado (id, descripcion) VALUES(2, 'Finalizado'); | |
INSERT INTO departamento (id, numero) VALUES(1, 101); | |
INSERT INTO departamento (id, numero) VALUES(2, 102); | |
INSERT INTO departamento (id, numero) VALUES(3, 201); | |
INSERT INTO departamento (id, numero) VALUES(4, 202); | |
INSERT INTO departamento (id, numero) VALUES(5, 301); | |
INSERT INTO departamento (id, numero) VALUES(6, 302); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- descomentar línea de abajo, después de la primera ejecución. | |
-- DROP table arriendo_quincho; DROP table departamento; DROP table estado; DROP table hibernate_sequence; | |
-- arriendo_quincho definition | |
CREATE TABLE arriendo_quincho ( | |
id integer not null, | |
fecha date_time, | |
departamento_id integer, | |
estado_id integer, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package cl.lherrera.configuracion; | |
import javax.sql.DataSource; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.ComponentScan; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.context.annotation.PropertySource; | |
import org.springframework.core.env.Environment; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* The author disclaims copyright to this source code. In place of | |
* a legal notice, here is a blessing: | |
* | |
* May you do good and not evil. | |
* May you find forgiveness for yourself and forgive others. | |
* May you share freely, never taking more than you give. | |
* | |
*/ | |
package cl.lherrera.configuracion; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
driverClassName=org.sqlite.JDBC | |
url=jdbc:sqlite:certificacion.db | |
username=user | |
password=1234 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee | |
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" | |
version="3.1"> | |
<display-name>Certification</display-name> | |
<servlet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alter table "JOB_HISTORY" disable constraint "JHIST_DEPT_FK"; | |
alter table "JOB_HISTORY" disable constraint "JHIST_EMP_FK"; | |
alter table "JOB_HISTORY" disable constraint "JHIST_JOB_FK"; | |
alter table "EMPLOYEES" disable constraint "EMP_DEPT_FK"; | |
alter table "EMPLOYEES" disable constraint "EMP_JOB_FK"; | |
alter table "EMPLOYEES" disable constraint "EMP_MANAGER_FK"; | |
alter table "EMPLOYEES" disable constraint "EMP_MANAGER_FK"; | |
alter table "EMPLOYEES" disable constraint "EMP_MANAGER_FK"; |
OlderNewer