[ 
https://issues.apache.org/jira/browse/TOMEE-2321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16712056#comment-16712056
 ] 

ASF GitHub Bot commented on TOMEE-2321:
---------------------------------------

Github user Daniel-Dos commented on a diff in the pull request:

    https://github.com/apache/tomee/pull/239#discussion_r239626946
  
    --- Diff: examples/mvc-cxf/src/main/resources/META-INF/persistence.xml ---
    @@ -0,0 +1,22 @@
    +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    +<persistence xmlns="http://java.sun.com/xml/ns/persistence"; 
    +             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    +             version="2.0"
    +             xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
    +             http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd";>
    +
    +    <persistence-unit name="mvc-demo" transaction-type="RESOURCE_LOCAL">
    +
    +      <non-jta-data-source>mvc-demo</non-jta-data-source>
    +
    +      <class>org.superbiz.model.Address</class>
    +      <class>org.superbiz.model.Person</class>
    +
    +      <properties>
    +          <property name="eclipselink.target-database" 
value="org.eclipse.persistence.platform.database.H2Platform"/>
    +          <property name="eclipselink.ddl-generation" 
value="create-tables"/>
    +          <property name="eclipselink.ddl-generation.output-mode" 
value="database"/>
    +      </properties>
    --- End diff --
    
    done . 


> example-mvc-cxf
> ---------------
>
>                 Key: TOMEE-2321
>                 URL: https://issues.apache.org/jira/browse/TOMEE-2321
>             Project: TomEE
>          Issue Type: Documentation
>          Components: Examples and Documentation
>            Reporter: Daniel Dias dos Santos
>            Assignee: Daniel Dias dos Santos
>            Priority: Minor
>              Labels: example, pull-request-available
>
> I made a simple example with MVC 1.0 using Apache CXF as it was discussed in 
> the email list that it would be interesting to have one.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to