You cannot post messages because only members can post, and you are not currently a member.
Description:
To discuss using Ebean ORM (Object Relational Mapping) persistence layer
|
|
|
Shared primary key
|
| |
Hello! I have Good and StockStatus (of that good - sold, booked etc). Classes are something like class Good { @Id private long id; private StockStatus stockStatus; ... ...class StockStatus { private Good good; ... ...StockStatus doesn't have primary key but it has reference to good. It can... more »
|
|
Syntax of named queries in ebean-orm.xml
|
| |
I want to store my sql query in ebean-orm.xml to use it as named query but can't find any example of that xml file or info about its syntax. Please point me with some link, or I'm searching wrong thing? Thank you. Dennis.
|
|
Clarification for javax.persistence.OptimisticLo ckException: Data has changed.
|
| |
Hi, We have started to get these errors on our server: javax.persistence.OptimisticLo ckException: Data has changed. updated [0] rows sql[update mail_out set msg_status=? where MAIL_OUT_ID=? and USER_ID is null and MSG_TO=? and MSG_FROM=? and MSG_SUBJECT=? and MSG_BODY=? and msg_status=? and POST_DATE=? and MSG_FROM_PERSONAL is null and ATTACHMENTS... more »
|
|
blob with ebean & play 2
|
| |
In my entity class, I have image blob. However, when I apply it, it shows this error. [error] c.a.e.s.t.r.ImmutableMetaFacto ry - Was unable to use reflection to find a constructor and appropriate getters forimmutable type interface java.sql.Blob. The errors while looking for the getter methods follow:... more »
|
|
One to Many with aggregate relationship
|
| |
How do I specify One to Many aggregate relationship using ebean? For example, public class Class extends Model { @OneToMany(cascade=CascadeType .PERSIST) *private* Set< Student > students; ...public class Student extends Model { ...When delete a class, the student should be not be removed. I got an error... more »
|
|
JSon schema support
|
| |
Hello, Are there any plans to add Json schema support to EBean or maybe it's already there I just can't find it? JsonContext with partially loaded objects and vanialla bean feature is just awesome! It it would be good to be able to get scema as well and expose it through RESTful API for the users as an example.... more »
|
|
jdbc driver specific properties
|
| |
Hi, I need to pass the following to Oracle JDBC driver, by default timeouts are very long and lock the application for too long oracle.net.CONNECT_TIMEOUT=300 0;oracle.jdbc.ReadTimeout=1000 0. EBean ORM documentation does not say anything about driver specific parameters. In Tomcat, it would be like below (tested and working):... more »
|
|
Expr class use in Play 2.0.1, Incompatible types
|
| |
Hello there, I am currently working on a project, where i need to work on a database and make many search. To do that, i am using the class finder and its associated expr class: public static List<Personne> pfind(String champ) { return find.where() .ilike("nom", "%"+champ+"%");... more »
|
|
Pagination with SqlRow
|
| |
Hi guys,
I can't paginate my query result with a SqlRow.. but an entity bean..
so I'm wondering how can I paginate my result with a sqlRow type, if
possible.
Regards
|
|
|