playframework « MySQL « JPA Q&A

1. JPA: Store fileAttachment into the database

I would like to know if there is any way I can store a fileAttachment directly into the database with JPA. I have an attribute:

public fileAttachement logo;
I have tried to change it ...

2. Play! Framework - Using MySQL and MongoDB for same application

Is it possible to user MySQL Database and MongoDb database for same project using Play! framework? for example: I want

@Entity Person to interact with my MySQL database ...

3. Problem with update id

I'm gonna try to explain my problem as well I can I have some user groups to manage user rights. Some users may be customers. There's a OneToOne connection between the user ...