erwan / playoauthclient

OAuth Client for the Play Framework
22 stars 16 forks source link

User entity can't saved in the database #2

Open nkmrshn opened 14 years ago

nkmrshn commented 14 years ago

In the sample app, there is User.findOrCreate, but the record will not be created or found. For example, you can't save User entity to MySQL , because PersistentObjectException will occur. Also, there is no User table foreign key in the Credentials table, you will no be able to find Credentials for the user.