Ebean is an open source Object Relational Mapping tool.It's goal is to provide a simpler alternative to JPA (Java Persistence API) implementationssuch as Hibernate and Eclipselink.

learn more…| top users | synonyms

0
votes
0answers
20 views

Ebean Play Framework - How to change schemas

I want to create a project with one database but I want to have some tables with data and duplicated that to another/more schemas so I will have in every schema different and separated data according ...
0
votes
1answer
15 views

Create Play server using activator

I am trying to create a new java project with play but I learned to do it with activator (in class), now in my personal computer all I find is to create play project using only SBT and I don't know ...
0
votes
0answers
16 views

Exception in thread “main” javax.persistence.PersistenceException

I am getting the below error.The default EbeanServer has not been defined? This is normally set via the ebean.datasource.default property. Otherwise it should be registered programmatically via ...
1
vote
0answers
25 views

Using pojo instead of objecMapper nodes

I am creating json as per my requirement using ObjectMapper. I choose this as I have existing DTO. can someone please let me know doing this using POJO instead of creating objects by object nodes?...
1
vote
0answers
32 views

Can I force Ebean enhancement while sbt recompiles the project?

I have following hierarchy:@MappedSuperclasspublic abstract class BaseModel extends Model {// common persistent fields for all entities, (id, timestamps etc.) }@MappedSuperclasspublic ...
1
vote
1answer
51 views

Unable to create record with GENERATED IDENTITY primary key using Ebean

I have a table in Oracle Database 12c, created with the following DDL:create table customer (id INTEGER GENERATED ALWAYS AS IDENTITY PRIMARY KEY,name VARCHAR(100));I am trying to insert a ...
0
votes
0answers
35 views

Error with association between two objects in two databases

I have following two classes:Company.javapackage models.kuno;import io.ebean.Finder;import io.ebean.Model;import models.emil.Project;import play.data.validation.Constraints;import javax....
0
votes
0answers
18 views

Ebeans - trying to add an order by to a query

I am trying to add an orderBy to an Ebeans query, and I am somewhat unfamiliar with this ORM.This is my query:List<UserOffer> userOffers=Ebean.find(UserOffer.class).fetch("...
0
votes
0answers
55 views

Unresolved dependency sbt-play-ebean

Here is my plugins.sbtaddSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.6.9")addSbtPlugin("com.typesafe.sbt" % "sbt-play-enhancer" % "1.2.2")addSbtPlugin("com.typesafe.sbt" % "sbt-play-ebean" % ...
0
votes
0answers
19 views

Ebean ORM - Custom Query for Field Retrieval

Looking at my class:@Embeddablepublic class A extends Model {@OneToManyprivate List<B> listOfObjects;@OneToManyprivate List<B> listOfObjectsFromAnotherQuery;}I ...
1
vote
0answers
16 views

Play Framework Modeling

I'm new to Play framework using Java and need some help on how the Modeling works using Ebean to connect to mysql database, what I want to do now is to create models and I have succeeded on connecting ...
-2
votes
1answer
24 views

Ebean sort by different date

I´d like to get a sorted list with java bean.I got two fields in my Postgres db creation_date and update_date, I want a list sorted by whatever date is newer.creation_date default is now(), ...
1
vote
0answers
28 views

How do Left join in Ebean?

Table1: AuthorizedDomainReview uid int;...Table2: Advertiseradvertiserid int;reviewStatus enum('pending','Approved','Rejected');so: I'm trying to come up with the Ebean equivalent of this ...
0
votes
1answer
32 views

ClassNotFoundException for Ebean only in IntelliJ

I keep getting following exceptions when I run a Spring Application from IntelliJ Caused by: java.lang.NoClassDefFoundError: com/avaje/ebean/bean/EntityBean atjava.lang.ClassLoader....
1
vote
1answer
35 views

Direct self-reference leading to cycle Ebean and Jackson

I have three models i.e. UserAccount, CompanyMst and Property Master.I'm able to insert data into all of them but on retrieving a list as a JSon object I get the error below.Models are as below.@...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,