http://www.developer.com/java/ent/building-jpa-2-applications-using-eclipselink-in-java-ee.html
< ?xml version="1.0" encoding="UTF-8"? >
< persistence version="2.0" 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" >
< persistence-unit name="JPATestWebApp" transaction-type="JTA" >
< /persistence-unit >
< /persistence >
3 Ejemplos JPA :
http://stackoverflow.com/questions/2880209/jpa-findbyexample
E-COMMERCE EXAMPLE JDNI
http://netbeans.org/kb/docs/javaee/ecommerce/entity-session.html
TUTORIAL ECLIPSELINK-JPA
http://content1.clipmarks.com/content/1BED32E2-9963-4909-9DFD-A8D775FAD4D2/#jpaintro
CONFIGURANDO PERSISTENCE GLASSFISH:
http://glassfish.java.net/javaee5/ejb/EJB_FAQ.html#Are_Global_JNDI_names_portable_How_do
Eclipselink- JPA config- postgreSQL
http://stackoverflow.com/questions/5159101/database-settings-in-persistence-xml-not-used
http://wiki.eclipse.org/EclipseLink/Examples/JPA/JPAConfigure
http://wiki.eclipse.org/EclipseLink/UserGuide
derby:
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="2.0">
POSTGRESQL
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="2.0">
No hay comentarios:
Publicar un comentario