This file contains hidden or 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
| #include <stdio.h> /* getchar() */ | |
| #include <stdlib.h> /* malloc(), realloc() */ | |
| #include <string.h> /* memcpy() */ | |
| /* ----------------------------------------------- | |
| * Create a new string (NUL-terminated array of chars) by reading the stdin. | |
| * Return the newly created string, or NULL on error. | |
| * Args: | |
| * int beExact: If 0 (false), then the size of the created string will | |
| * be an exact multiple of the internally used alloc-ahead |
This file contains hidden or 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
| <persistence xmlns="http://java.sun.com/xml/ns/persistence" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" | |
| version="2.0"> | |
| <persistence-unit name="org.hibernate.tutorial.jpa" transaction-type="RESOURCE_LOCAL"> | |
| <description> | |
| Persistence unit for the JPA tutorial of the Hibernate Getting Started Guide | |
| </description> | |
| <provider>org.hibernate.ejb.HibernatePersistence</provider> |
This file contains hidden or 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"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>br.edu.ifsp.murilo</groupId> | |
| <artifactId>ProjetoIntegrado</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| <packaging>jar</packaging> | |
| <dependencies> | |
| <dependency> | |
| <groupId>mysql</groupId> |
This file contains hidden or 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
| <persistence | |
| xmlns="http://java.sun.com/xml/ns/persistence" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" | |
| version="2.0"> | |
| <persistence-unit name="pu" > | |
| <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> | |
| <exclude-unlisted-classes>false</exclude-unlisted-classes> | |
| <properties> |