mirror of
https://github.com/apache/openjpa.git
synced 2025-02-21 01:15:30 +00:00
Add web configuration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@946809 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2f3fe527a1
commit
6c8753f804
@ -19,8 +19,10 @@
|
||||
-->
|
||||
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
version="2.0">
|
||||
version="1.0">
|
||||
<persistence-unit name="OpenBooks">
|
||||
<provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
|
||||
|
||||
<class>openbook.domain.Book</class>
|
||||
<class>openbook.domain.Inventory</class>
|
||||
<class>openbook.domain.PurchaseOrder</class>
|
||||
@ -43,7 +45,6 @@
|
||||
<property name="openjpa.RuntimeUnenhancedClasses" value="unsupported"/>
|
||||
|
||||
<property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/>
|
||||
<property name="openjpa.jdbc.JDBCListeners" value="openbook.client.SQLLogger"/>
|
||||
<property name="openjpa.jdbc.QuerySQLCache" value="true(EnableStatistics=true)"/>
|
||||
|
||||
</properties>
|
||||
|
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
||||
<display-name>OpenBooks</display-name>
|
||||
<welcome-file-list>
|
||||
<welcome-file>intro.jsp</welcome-file>
|
||||
</welcome-file-list>
|
||||
<distributable/>
|
||||
</web-app>
|
Loading…
x
Reference in New Issue
Block a user