4d52933870
Changed openSession to getCurrentSession for the most part
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-10 16:20:56 +02:00
1854f25387
Removed obsolete ID calculation
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-10 16:20:31 +02:00
596c9677f2
Reintroduced default values the proper way
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 16:25:07 +02:00
9a6146002c
Removed dependency on sets
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 15:55:28 +02:00
d32ba07963
Changed duration column to integer
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 15:11:06 +02:00
7913a24937
Changed id columns to identity
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 15:01:42 +02:00
77954a4616
Changed data type for start date and duration
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 14:51:21 +02:00
3ec12fcfa8
Fixed key columns for contracts
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 14:48:22 +02:00
d1f410abfd
Added contract mapping file to central Hibernate config
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 14:47:50 +02:00
f4db52650a
Made login unique
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 14:44:59 +02:00
1a3b1d9df4
Made contractnumber to ID
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 14:30:14 +02:00
a600293caf
Removed TODOs from ImmoService
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 12:05:36 +02:00
20539c8124
Fixed contract mapping
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 11:40:04 +02:00
52b40d89d5
Added ability to edit entities
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 11:38:52 +02:00
fbe975eb04
Made sure the sets are filled with data from the database
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 11:38:52 +02:00
5919c0c204
Simplified if statement
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 11:38:21 +02:00
36a9e84fbe
Collapsed catch block
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 11:38:21 +02:00
2d62cb6453
We don't need any more test data
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 11:38:21 +02:00
366852097f
Added database persistence to all add and delete methods
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 11:38:21 +02:00
88c4b0b772
Added Contract Mapping File
...
Added Contract Mapping File
2017-05-03 00:53:42 +02:00
b9d84e797b
Improved coding
...
- changed while to foreach loop where possible
- made methods private where possible
- removed unnecessary boxing
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-01 17:25:59 +02:00
2deebe0bff
Uses secure password prompt if possible
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-01 16:32:49 +02:00
8a513bf892
Added schema to mapping files
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-01 15:52:53 +02:00
6b796d80c1
Simplified if statements and restricted var access where applicable
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-01 15:25:08 +02:00
ce68e751fc
At most the schema can be validated
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-28 16:49:58 +02:00
e712f46e3b
Wen don't want to recreate the schema every time
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-28 16:43:10 +02:00
a731bd9967
Changed id behaviour to increment
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-28 16:40:17 +02:00
70af878fa2
Added libraries to repository
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-28 16:17:39 +02:00
0e3e6e5d1f
Fixed parameter docstrings
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-28 15:52:35 +02:00
a2411097a5
Fixed usage of untyped list
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-28 15:51:35 +02:00
990a7811eb
Further changes to fit our DB schema
...
Further changes to fit our DB schema
Added session.close() to add delete and edit EstateAgent
2017-04-27 17:40:55 +02:00
9b2fa48271
Updated Mapping XML Files + Update EstateAgents
...
Updated Mapping XML Files + Update EstateAgents
2017-04-27 16:57:09 +02:00
d76deb51d2
Changed Makler and Person mapping to our English DB scheme
...
Changed Makler and Person mapping to our English DB scheme and new
Estates are now saved persistent
2017-04-27 16:24:27 +02:00
59fb5af1c4
Added Apartment to Immobile.hnb.xml mapping XML-File
...
Added Apartment to Immobile.hnb.xml mapping XML-File
2017-04-27 16:12:07 +02:00
3bc63e5442
Added Exercise 3 Example Project
...
Added Exercise 3 Example Project
2017-04-27 12:58:49 +02:00