Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add back JPASupport.JPAQUery as @Deprecated class

  • Loading branch information...
commit 1ef18e1263c5fa8f70e195985b149ef351e6a576 1 parent a0f9a63
@guillaumebort guillaumebort authored
Showing with 17 additions and 0 deletions.
  1. +17 −0 framework/src/play/db/jpa/JPASupport.java
View
17 framework/src/play/db/jpa/JPASupport.java
@@ -1,9 +1,26 @@
package play.db.jpa;
+import javax.persistence.Query;
+
/**
* Use play.db.jpa.GenericModel insteads
*/
@Deprecated
public class JPASupport extends GenericModel {
+ /**
+ * Use play.db.jpa.GenericModel.JPAQuery insteads
+ */
+ @Deprecated
+ public static class JPAQuery extends GenericModel.JPAQuery {
+
+ public JPAQuery(String sq, Query query) {
+ super(sq, query);
+ }
+
+ public JPAQuery(Query query) {
+ super(query);
+ }
+ }
+
}
Please sign in to comment.
Something went wrong with that request. Please try again.