Commit Graph
90 Commits
Author SHA1 Message Date
Rob Bygrave 1b8aa682c6 Change classPath scan to support searching manifest (maven surefire classpath scanning) 2014-01-30 23:21:50 +13:00
Rob Bygrave ef39bfcf14 Merge branch 'many-lazy-load' 2014-01-30 22:32:50 +13:00
Rob Bygrave 749f8d0d45 Change *ToMany lazy loading to not use the parent entity/table 2014-01-30 22:27:52 +13:00
Rob Bygrave ee96c4afa6 Fix for Issue 72 - Bug - models.Role cannot be cast to java.util.Map [error] at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveAssocManyDetails(DefaultPersister.java:877) 2014-01-23 00:50:09 +13:00
Rob Bygrave 87a948223c Merge branch 'dbpool-logging' 2014-01-22 01:09:19 +13:00
Rob Bygrave acca803a80 Add MetaObjectGraphNodeStats and MetaQueryPlanOriginCount etc 2014-01-22 01:05:22 +13:00
Rob Bygrave 470b27efe1 Mark QueryListener deprecated in favor of findIterate() and findVisit() 2014-01-21 19:41:46 +13:00
Rob Bygrave f287205421 Refactor of query plan hash - add HashQueryPlan, HashQuery etc 2014-01-21 00:48:38 +13:00
Rob Bygrave 6bd8c2bd05 Add MetaInfoManager API, remove MetaQueryStatistic entity bean, refactor query execution stats collection 2014-01-19 22:49:18 +13:00
Rob Bygrave 05dcdf162b Refactor internals of batch lazy loading and query fetches 2014-01-18 23:35:42 +13:00
Rob Bygrave e97e77e2e0 Add reading/setting of namingconvention.schema from ebean.properties 2014-01-17 00:31:03 +13:00
Rob Bygrave c6019bf3c5 Fix for issue 46 - Persistence Context Cache not cleared when deleting a collection of entities in a running transaction 2014-01-16 23:09:57 +13:00
Rob Bygrave 1a9a4c957c Fix for issue 49 - Query parsing error for SELECT something * 1.5 AS something_else 2014-01-16 21:48:27 +13:00
Rob Bygrave bd57a3b9c8 Merge pull request #65 from yuba/master
make Transaction interface extends Closeable
2014-01-16 00:18:33 -08:00
Rob Bygrave 21a71c3a4f Fix for Issue 62 - Query.setId should not return all results for null input Object 2014-01-16 21:10:13 +13:00
Rob Bygrave f66439a62e Fix for Issue 40 - Expr does not have a betweenProperties(...) method. 2014-01-16 21:02:19 +13:00
Rob Bygrave 73452a5f68 Fix for issue 68 - findRowCount sql error when using a @Formula property in the where clause 2014-01-16 20:36:23 +13:00
Rob Bygrave 5f4789f9ba Support heart beat timeout, tidy up free buffer 2014-01-16 00:28:00 +13:00
yuba eaac874ac0 make Transaction interface extends Closeable
To avoid method name conflict, JtaTransaction#close was renamed to
closeConnection()
2013-12-27 14:00:00 +09:00
Rob Bygrave 4900a460d1 Fix for DataSourcePool trim idle connections not firing frequently
enough
2013-12-14 21:24:26 +13:00
Rob Bygrave d16f33d26b Modified DataSource pool - cleanup of reset and statistics collection 2013-12-12 20:57:50 +13:00
AndersHA 43853b0357 cleanup db2 platform 2013-11-20 13:54:01 +01:00
AndersHA f62bc9a35f support db2 and write sqllimiter for db2 2013-11-20 11:07:23 +01:00
Rob Bygrave 9d8fe97de0 Adjusted Fix for Issue 56 - Using findIterate with MySQL streams the
entire result set at once.  This makes the fix specific to the
DatabasePlatform and findIterate() or findVisit().
2013-11-07 23:58:15 +13:00
Rob Bygrave b896e55af1 Fix for Issue 56 - Using findIterate with MySQL streams the entire
result set at once
2013-11-07 23:07:39 +13:00
Rob Bygrave bd75f2cf77 Merge pull request #55 from rvowles/master
Add support for bang paths
2013-11-07 01:15:15 -08:00
Rob Bygrave 4f33fe087e Merge pull request #47 from romming/BUG420
Thanks!!
2013-11-07 00:08:54 -08:00
Richard Vowles 0acabf820e Add support for bang paths 2013-11-02 20:07:35 +13:00
Tobias 1330fe8fb6 Generate valid SQL when firstRow is set but not maxRows 2013-10-07 16:29:23 +02:00
Rob Bygrave 1a292275d8 Json Timestamp parsing - Add support for long values 2013-09-11 14:20:36 +12:00
Christian Romming 1cafea20c6 Test and fix for BUG 420. 2013-08-28 23:06:37 +02:00
Rob Bygrave 9c7f62e8b1 Allow more flexibility with JSON marshalling of non-entity beans 2013-08-02 12:16:00 +12:00
Rob Bygrave bf8574833a Remove Thread UncaughtExceptionHandler as part of fix for pull/44
@Transactional not rolling back for uncaught RuntimeException - This
change is not required for 44 but is nice cleanup as
UncaughtExceptionHandler is no used.
2013-08-02 12:14:17 +12:00
Rob Bygrave 44d95dc06c Fix for Issue 43 - Support for JSON unmarshalling of @XmlRootElement
beans.
2013-07-29 23:24:30 +12:00
Robin Bygrave 243864fef7 Fix for Issue 35 Connection pool leak with findFutureRowCount(),
findFutureList() and findFutureIds()
2013-07-01 20:17:38 +12:00
Robin Bygrave c176e4f05e Fix for Issue 34 - JSR 303 Validation groups are ignored for DDL
generation (of @NotNull)
2013-07-01 09:50:42 +12:00
Robin Bygrave 4f2f9a2e99 Fix for Issue 32 Deleted bean not removed from PersistenceContext 2013-06-27 23:23:20 +12:00
Robin Bygrave 4bbbad9b3b Fix for Issue 30 Invalidating L2 Cache on deletion for referenced
OneToMany relations not working
2013-06-27 23:13:06 +12:00
Robin Bygrave 488b856470 Merge fix from Peter Fu, avaje-ebeanorm/pull/9 request plus associated
test
2013-06-23 15:19:46 +12:00
Rob Bygrave 7cd71559b6 Merge pull request #31 from outersky/master
Json parser now supports unicode escape sequence
2013-06-19 04:06:51 -07:00
Robin Bygrave 9ad4931c12 Add fix and test for BUG 408 from Eddie 2013-06-19 22:35:42 +12:00
outersky 251076e30d reformat code 2013-06-03 13:49:34 +08:00
outersky 93d3638f6c support unicode escape sequence for json
like: {"name":"\u60a8\u597d"}
2013-06-03 13:45:39 +08:00
Richard Vowles d2f532ad3c prevent Ebean from issuing duplicate SQL when generating the database so it doesnt fail. A problem for classes with the same generator 2013-05-03 20:06:18 +12:00
Richard Vowles 26a8af8c5b add support for having a WAR classpath entry in the classpath 2013-05-03 20:05:07 +12:00
Robert Biter 703ee59792 removed dead code in TableJoin 2013-05-02 11:05:49 +03:00
Robert Biter 464cb38b8b consistent initialization for the StringBuilder in DefaultDbSqlContext 2013-05-02 11:04:45 +03:00
Robert Biter eb61246254 removed getter for the StringBuilder in DefaultDbSqlContext 2013-05-02 11:02:25 +03:00
Robert Biter a4dda42650 removed redundant comments in DefaultDbSqlContext 2013-05-02 10:59:47 +03:00
Robin Bygrave a3dc2a55f4 Fix for Issue 19 - Wrong database configuration for SQLite /
AUTOINCREMENT position in generated DDL
2013-05-01 21:35:07 +12:00