Skip to content

Commit 27a9061

Browse files
author
Joerg Huber
committed
Provided upgrade instructions.
1 parent 9056336 commit 27a9061

1 file changed

Lines changed: 78 additions & 0 deletions

File tree

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
==============================================================
2+
Release Notes for v0.12.0 of SIF3 Framework (MMM DD, 2017)
3+
==============================================================
4+
5+
Bug Fixes
6+
---------
7+
None.
8+
9+
New Functionality
10+
-----------------
11+
None.
12+
13+
Changed Functionality
14+
---------------------
15+
- Changed how hibernate configuration is managed. See Infrastructure upgrade further down in this file.
16+
17+
Removed Artifacts/Functionality
18+
-------------------------------
19+
- None
20+
21+
--------------------------
22+
-- Upgrade Instructions --
23+
--------------------------
24+
25+
----------------------------
26+
-- Infrastructure Upgrade --
27+
----------------------------
28+
This version has a slight change on how hibernate is used within the framework. Up to version v0.11.0 hibernate properties were
29+
provided via injection (see developer's guide section 5.13) or by adding hibernate settings in the sif3infra.hbm.cfg.xml file
30+
that had to be in a directory that had to be on the classpath.
31+
The way hibernate injection works has not changed. If injection is not used then from this version onward, hibernate properties
32+
are set in the sif3infra.hibernate.properties file. This file has to be on your project's classpath similar as to the
33+
sif3infra.hbm.cfg.xml used to be. If you had any properties set in that file you need to copy them to a file called
34+
sif3infra.hibernate.properties. Instead of xml notation you need to change it to properties notation though. Also remember
35+
that all properties must start with a prefix of "hibernate".
36+
37+
Example:
38+
--------
39+
sif3infra.hbm.cfg.xml:
40+
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
41+
<property name="hibernate.c3p0.max_size">30</property>
42+
43+
sif3infra.hibernate.properties:
44+
hibernate.connection.driver_class=com.mysql.jdbc.Driver
45+
hibernate.c3p0.max_size=30
46+
47+
etc.
48+
49+
Once you have copied all properties from the sif3infra.hbm.cfg.xml to sif3infra.hibernate.properties you MUST delete the
50+
sif3infra.hbm.cfg.xml.
51+
52+
Additional details on the hibernate configuration can be found in the developer's guide section 5.13.
53+
54+
--------------------
55+
Upgrade your Project
56+
--------------------
57+
Once the above steps are done you can upgrade your project with the latest libraries of the framework as stated below:
58+
59+
Ant:
60+
Drop the latest framework library into your project's lib directory/directories
61+
62+
Maven:
63+
Use the latest maven dependency
64+
<dependency>
65+
<groupId>sif3.framework</groupId>
66+
<artifactId>sif3-infra-rest</artifactId>
67+
<version>0.12.0</version>
68+
</dependency>
69+
70+
------------------------
71+
-- Data Model Upgrade --
72+
------------------------
73+
None.
74+
75+
------------------------------
76+
-- 3rd Party Library Update --
77+
------------------------------
78+
None.

0 commit comments

Comments
 (0)