This repository has been archived by the owner on Jun 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d15b5b6
commit 8d907de
Showing
5 changed files
with
398 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.classpath | ||
.project | ||
.settings | ||
mvn.out | ||
target/* | ||
/target/ | ||
*.log | ||
/LICENSE | ||
/NOTICE |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# @@@ START COPYRIGHT @@@ | ||
# # | ||
# # 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. | ||
# # | ||
# # @@@ END COPYRIGHT @@@ | ||
|
||
|
||
.NOTPARALLEL: all | ||
|
||
all: build_all | ||
|
||
build_all: | ||
echo "$(MAVEN) package -DskipTests" | ||
set -o pipefail && $(MAVEN) package -DskipTests | ||
|
||
clean: | ||
$(MAVEN) clean | ||
$(RM) -r target/* |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Trafodion hibernate dialect | ||
=============================== | ||
This is a tool for hibernate to use trafodion. | ||
This tool now support hibernate version 4.x . | ||
To use this tool, you should make all ,then load the jar file to your project,and add following config to you hibernate.cfg.xml file: | ||
|
||
<property name="hibernate.dialect">org.hibernate.dialect.TrafodionDialect</property> | ||
|
||
ABOUT HIBERNATE: | ||
|
||
Hibernate ORM enables developers to more easily write applications whose data outlives the application process. As an Object/Relational Mapping (ORM) framework, Hibernate is concerned with data persistence as it applies to relational databases (via JDBC). | ||
|
||
To build: | ||
>cd <your path to hibernate dialect> | ||
> make all | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?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"> | ||
|
||
<!-- | ||
* @@@ START COPYRIGHT @@@ | ||
* | ||
* 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. | ||
* | ||
* @@@ END COPYRIGHT @@@ | ||
--> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.trafodion</groupId> | ||
<artifactId>hibernate-dialect</artifactId> | ||
<version>${env.TRAFODION_VER}</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>Hibernate dialect tool jar</name> | ||
<url>http://wiki.trafodion.org</url> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>3.8.1</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.hibernate</groupId> | ||
<artifactId>hibernate-core</artifactId> | ||
<version>4.3.10.Final</version> | ||
</dependency> | ||
</dependencies> | ||
</project> |
Oops, something went wrong.