Timeline for Is it better to use strings or int to reference enums outside the java part of the system?
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 18, 2014 at 16:48 | comment | added | JSBach | Yes, we went down this path, but we are using hibernate and we had to add some extra code to be able to parse the value to/from the database and it seemed kind of strange, so we decided to use the .STRING relationship and go with the enum name. | |
Dec 17, 2014 at 11:44 | history | answered | user470365 | CC BY-SA 3.0 |