Good question.  The use of enum in Java is primarily meant to handle information that is somewhat categorical in nature.  The classic example being using enum to handle the four types of suits that a card could have.  It provides all the performance advantage of using an integer and it is also clear in your program.

So outside of Java, why wouldn't you continue using an integer?  Perhaps you don't have enum types outside Java, though that doesn't mean you can't continue using integer for performance purposes, right?  Yes, that's completely true, though consider what happens when you add a new enum value.  If you don't add it to the end, all the other enum values after the new value will be increased by one.  Well we'll just specify the number so it can't change or we'll always add it to the end.  Are you confident that your fellow coworkers will always do right by that?  Meh?  Probably?  Hopefully?  Maybe you're not 100% on that.  Keep that in mind for a second.

Your boss tells you that there's a mess at the client using your software after the last update.  Now all entities X act like they were assigned enum value Y even if they were really assigned Z.  You check the repository and yes, someone added a new enum value and didn't follow your guidelines as you asked them to.  Now you have the added complication that on the database it is written 4, when it really should be 3, *excluding* records that have been inserted prior to the update which really *are* 4.  What enum value pertains to 4 anyway?  Isn't it Y?  You can't remember.  You need to check the program to verify.  Simply put, it's a mess.

If instead, your database wrote "HEARTS", "DIAMONDS", "SPADES", "CLUBS", you've lost little in terms of space and gained so much.  It's true we're talking about a minor performance hit, but you really should not be accessing the database that often to make a difference.  As for space, leave that to the systems administrators (not. your. problem.).

If you've made a simple program that is easy to make changes to, you've done yourself a favor in the long run, trust me.  This aspect of it is no different in my humble opinion.