]> git.mxchange.org Git - addressbook-lib.git/commitdiff
updated jar(s) + made column names shorter
authorRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 11:29:36 +0000 (13:29 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 12:46:04 +0000 (14:46 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/jcontacts-business-core.jar
lib/jcontacts-core.jar
lib/jphone-core.jar
lib/juser-core.jar
src/org/mxchange/addressbook/model/addressbook/entry/UserAddressbookEntry.java

index a5e07b705621de173e1b4ffe1e88e933a836a1e9..bc2ca161b5dcd606d2dff54511b93357bd6fde5a 100644 (file)
Binary files a/lib/jcontacts-business-core.jar and b/lib/jcontacts-business-core.jar differ
index d1599646edb47bc737ba6e93b27c1d992ed0ed88..30e9640892d5fe2c8dbe696eeb1e857b2d0c5c9c 100644 (file)
Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ
index 09d31d021f45e52b1f8bff4b13c78c01fc84571c..6da09db142b3d85355881e06c93e869b931e72a0 100644 (file)
Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ
index 0e0609acaf1efab9977d37fb9aba9fc99e0c48ce..e958960ef6dbcf19788af4b132336397601aa098 100644 (file)
Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ
index f730fe5935744d356c2949855c13650472516cca..4e39de3a120a216d3f666a03e0d56836aec65492 100644 (file)
@@ -59,7 +59,7 @@ public class UserAddressbookEntry implements AddressbookEntry, Comparable<Addres
         */
        @Id
        @GeneratedValue (strategy = GenerationType.IDENTITY)
-       @Column (name = "addressbook_entry_id", nullable = false, updatable = false)
+       @Column (name = "entry_id", nullable = false, updatable = false)
        private Long addressbookEntryId;
 
        /**
@@ -67,7 +67,7 @@ public class UserAddressbookEntry implements AddressbookEntry, Comparable<Addres
         */
        @Basic (optional = false)
        @Temporal (TemporalType.TIMESTAMP)
-       @Column (name = "addressbook_entry_created", nullable = false, updatable = false)
+       @Column (name = "entry_created", nullable = false, updatable = false)
        private Calendar addressbookEntryCreated;
 
        /**
@@ -80,28 +80,28 @@ public class UserAddressbookEntry implements AddressbookEntry, Comparable<Addres
        /**
         * Connection to table "users" (who has initially created this entry
         */
-       @JoinColumn (name = "addressbook_entry_origin_user_id", nullable = false, updatable = false)
+       @JoinColumn (name = "entry_origin_user_id", nullable = false, updatable = false)
        @ManyToOne (targetEntity = LoginUser.class, optional = false, cascade = CascadeType.ALL)
        private List<User> addressbookEntryUserOriginList;
 
        /**
         * Connection to table "users" (who has added this entry)
         */
-       @JoinColumn (name = "addressbook_entry_added_user_id", updatable = false)
+       @JoinColumn (name = "entry_added_user_id", updatable = false)
        @ManyToOne (targetEntity = LoginUser.class, cascade = CascadeType.ALL)
        private List<User> addressbookEntryUserAddedList;
 
        /**
         * Connection to table "contacts" (private contacts)
         */
-       @JoinColumn (name = "addressbook_entry_private_contact_id", updatable = false)
+       @JoinColumn (name = "entry_private_contact_id", updatable = false)
        @OneToOne (targetEntity = UserContact.class, cascade = CascadeType.ALL)
        private Contact addressbookEntryPrivateContact;
 
        /**
         * Connection to table "business_contacts" (commercial contacts)
         */
-       @JoinColumn (name = "addressbook_entry_business_contact_id", updatable = false)
+       @JoinColumn (name = "entry_business_contact_id", updatable = false)
        @OneToOne (targetEntity = CompanyContact.class, cascade = CascadeType.ALL)
        private BusinessContact addressbookEntryBusinessContact;