Beleza! Valeu! \o/


On Mon, Jan 27, 2014 at 8:21 PM, Paulo A Junior <notifications@github.com>wrote:

> In src/main/webapp/WEB-INF/classes/META-INF/persistence.xml:
>
> > -
> > -    <class>org.cejug.hurraa.model.Produto</class>
> > -
> > -    <properties>
> > -        <property name="hibernate.show_sql" value="true"/>
> > -        <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect" />
> > -        <property name="hiberante.hbm2ddl.auto" value="update"/>
> > -    </properties>
> > -  </persistence-unit>
> > +<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="hurra-pu" transaction-type="JTA">
> > +		<jta-data-source>java:/hurraaDS</jta-data-source>
> > +
> > +		<class>org.cejug.hurraa.model.Produto</class>
>
> Já foi @htmfilho <https://github.com/htmfilho> .... manda bala.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cejug/hurraa/pull/1/files#r9201657>
> .
>



-- 
Hildeberto Mendonça, Ph.D
Blog: http://www.hildeberto.com
Twitter: https://twitter.com/htmfilho <http://www.cejug.org>