You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2014/11/12 18:07:19 UTC
[08/11] cayenne git commit: Refactor TestMap Project
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/SubEntity1.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/SubEntity1.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/SubEntity1.java
deleted file mode 100644
index fc5f8b0..0000000
--- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/SubEntity1.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ****************************************************************/
-package org.apache.cayenne.testdo.horizontalinherit;
-
-import org.apache.cayenne.testdo.horizontalinherit.auto._SubEntity1;
-
-public class SubEntity1 extends _SubEntity1 {
-
-}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/SubEntity2.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/SubEntity2.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/SubEntity2.java
deleted file mode 100644
index cd37042..0000000
--- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/SubEntity2.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ****************************************************************/
-package org.apache.cayenne.testdo.horizontalinherit;
-
-import org.apache.cayenne.testdo.horizontalinherit.auto._SubEntity2;
-
-public class SubEntity2 extends _SubEntity2 {
-
-}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/SubEntity3.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/SubEntity3.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/SubEntity3.java
deleted file mode 100644
index c12f956..0000000
--- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/SubEntity3.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ****************************************************************/
-package org.apache.cayenne.testdo.horizontalinherit;
-
-import org.apache.cayenne.testdo.horizontalinherit.auto._SubEntity3;
-
-public class SubEntity3 extends _SubEntity3 {
-
-}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_AbstractSuperEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_AbstractSuperEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_AbstractSuperEntity.java
deleted file mode 100644
index bde41fd..0000000
--- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_AbstractSuperEntity.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package org.apache.cayenne.testdo.horizontalinherit.auto;
-
-import org.apache.cayenne.CayenneDataObject;
-
-/**
- * Class _AbstractSuperEntity was generated by Cayenne.
- * It is probably a good idea to avoid changing this class manually,
- * since it may be overwritten next time code is regenerated.
- * If you need to make any customizations, please use subclass.
- */
-public abstract class _AbstractSuperEntity extends CayenneDataObject {
-
- public static final String SUPER_INT_ATTR_PROPERTY = "superIntAttr";
- public static final String SUPER_STRING_ATTR_PROPERTY = "superStringAttr";
-
-
- public void setSuperIntAttr(int superIntAttr) {
- writeProperty("superIntAttr", superIntAttr);
- }
- public int getSuperIntAttr() {
- Object value = readProperty("superIntAttr");
- return (value != null) ? (Integer) value : 0;
- }
-
- public void setSuperStringAttr(String superStringAttr) {
- writeProperty("superStringAttr", superStringAttr);
- }
- public String getSuperStringAttr() {
- return (String)readProperty("superStringAttr");
- }
-
-}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_SubEntity1.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_SubEntity1.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_SubEntity1.java
deleted file mode 100644
index 124fb68..0000000
--- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_SubEntity1.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package org.apache.cayenne.testdo.horizontalinherit.auto;
-
-import org.apache.cayenne.testdo.horizontalinherit.AbstractSuperEntity;
-
-/**
- * Class _SubEntity1 was generated by Cayenne.
- * It is probably a good idea to avoid changing this class manually,
- * since it may be overwritten next time code is regenerated.
- * If you need to make any customizations, please use subclass.
- */
-public abstract class _SubEntity1 extends AbstractSuperEntity {
-
- public static final String SUB_ENTITY_STRING_ATTR_PROPERTY = "subEntityStringAttr";
-
- public static final String ID_PK_COLUMN = "id";
-
- public void setSubEntityStringAttr(String subEntityStringAttr) {
- writeProperty("subEntityStringAttr", subEntityStringAttr);
- }
- public String getSubEntityStringAttr() {
- return (String)readProperty("subEntityStringAttr");
- }
-
-}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_SubEntity2.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_SubEntity2.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_SubEntity2.java
deleted file mode 100644
index b08b0b0..0000000
--- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_SubEntity2.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package org.apache.cayenne.testdo.horizontalinherit.auto;
-
-import org.apache.cayenne.testdo.horizontalinherit.AbstractSuperEntity;
-
-/**
- * Class _SubEntity2 was generated by Cayenne.
- * It is probably a good idea to avoid changing this class manually,
- * since it may be overwritten next time code is regenerated.
- * If you need to make any customizations, please use subclass.
- */
-public abstract class _SubEntity2 extends AbstractSuperEntity {
-
- public static final String SUB_ENTITY_INT_ATTR_PROPERTY = "subEntityIntAttr";
-
- public static final String ID_PK_COLUMN = "id";
-
- public void setSubEntityIntAttr(int subEntityIntAttr) {
- writeProperty("subEntityIntAttr", subEntityIntAttr);
- }
- public int getSubEntityIntAttr() {
- Object value = readProperty("subEntityIntAttr");
- return (value != null) ? (Integer) value : 0;
- }
-
-}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_SubEntity3.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_SubEntity3.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_SubEntity3.java
deleted file mode 100644
index 29e3c61..0000000
--- a/cayenne-server/src/test/java/org/apache/cayenne/testdo/horizontalinherit/auto/_SubEntity3.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package org.apache.cayenne.testdo.horizontalinherit.auto;
-
-import org.apache.cayenne.testdo.horizontalinherit.AbstractSuperEntity;
-
-/**
- * Class _SubEntity3 was generated by Cayenne.
- * It is probably a good idea to avoid changing this class manually,
- * since it may be overwritten next time code is regenerated.
- * If you need to make any customizations, please use subclass.
- */
-public abstract class _SubEntity3 extends AbstractSuperEntity {
-
- public static final String SUB_BOOLEAN_ATTR_PROPERTY = "subBooleanAttr";
-
- public static final String ID_PK_COLUMN = "id";
-
- public void setSubBooleanAttr(boolean subBooleanAttr) {
- writeProperty("subBooleanAttr", subBooleanAttr);
- }
- public boolean isSubBooleanAttr() {
- Boolean value = (Boolean)readProperty("subBooleanAttr");
- return (value != null) ? value.booleanValue() : false;
- }
-
-}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/AbstractSuperEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/AbstractSuperEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/AbstractSuperEntity.java
new file mode 100644
index 0000000..cde9a16
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/AbstractSuperEntity.java
@@ -0,0 +1,25 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.inheritance_horizontal;
+
+import org.apache.cayenne.testdo.inheritance_horizontal.auto._AbstractSuperEntity;
+
+public abstract class AbstractSuperEntity extends _AbstractSuperEntity {
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/SubEntity1.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/SubEntity1.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/SubEntity1.java
new file mode 100644
index 0000000..7f34015
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/SubEntity1.java
@@ -0,0 +1,25 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.inheritance_horizontal;
+
+import org.apache.cayenne.testdo.inheritance_horizontal.auto._SubEntity1;
+
+public class SubEntity1 extends _SubEntity1 {
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/SubEntity2.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/SubEntity2.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/SubEntity2.java
new file mode 100644
index 0000000..9fd6eef
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/SubEntity2.java
@@ -0,0 +1,25 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.inheritance_horizontal;
+
+import org.apache.cayenne.testdo.inheritance_horizontal.auto._SubEntity2;
+
+public class SubEntity2 extends _SubEntity2 {
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/SubEntity3.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/SubEntity3.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/SubEntity3.java
new file mode 100644
index 0000000..1c222c1
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/SubEntity3.java
@@ -0,0 +1,25 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.inheritance_horizontal;
+
+import org.apache.cayenne.testdo.inheritance_horizontal.auto._SubEntity3;
+
+public class SubEntity3 extends _SubEntity3 {
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_AbstractSuperEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_AbstractSuperEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_AbstractSuperEntity.java
new file mode 100644
index 0000000..169b93f
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_AbstractSuperEntity.java
@@ -0,0 +1,32 @@
+package org.apache.cayenne.testdo.inheritance_horizontal.auto;
+
+import org.apache.cayenne.CayenneDataObject;
+
+/**
+ * Class _AbstractSuperEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _AbstractSuperEntity extends CayenneDataObject {
+
+ public static final String SUPER_INT_ATTR_PROPERTY = "superIntAttr";
+ public static final String SUPER_STRING_ATTR_PROPERTY = "superStringAttr";
+
+
+ public void setSuperIntAttr(int superIntAttr) {
+ writeProperty("superIntAttr", superIntAttr);
+ }
+ public int getSuperIntAttr() {
+ Object value = readProperty("superIntAttr");
+ return (value != null) ? (Integer) value : 0;
+ }
+
+ public void setSuperStringAttr(String superStringAttr) {
+ writeProperty("superStringAttr", superStringAttr);
+ }
+ public String getSuperStringAttr() {
+ return (String)readProperty("superStringAttr");
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_SubEntity1.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_SubEntity1.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_SubEntity1.java
new file mode 100644
index 0000000..d637c6a
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_SubEntity1.java
@@ -0,0 +1,24 @@
+package org.apache.cayenne.testdo.inheritance_horizontal.auto;
+
+import org.apache.cayenne.testdo.inheritance_horizontal.AbstractSuperEntity;
+
+/**
+ * Class _SubEntity1 was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _SubEntity1 extends AbstractSuperEntity {
+
+ public static final String SUB_ENTITY_STRING_ATTR_PROPERTY = "subEntityStringAttr";
+
+ public static final String ID_PK_COLUMN = "id";
+
+ public void setSubEntityStringAttr(String subEntityStringAttr) {
+ writeProperty("subEntityStringAttr", subEntityStringAttr);
+ }
+ public String getSubEntityStringAttr() {
+ return (String)readProperty("subEntityStringAttr");
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_SubEntity2.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_SubEntity2.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_SubEntity2.java
new file mode 100644
index 0000000..80e0ac3
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_SubEntity2.java
@@ -0,0 +1,25 @@
+package org.apache.cayenne.testdo.inheritance_horizontal.auto;
+
+import org.apache.cayenne.testdo.inheritance_horizontal.AbstractSuperEntity;
+
+/**
+ * Class _SubEntity2 was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _SubEntity2 extends AbstractSuperEntity {
+
+ public static final String SUB_ENTITY_INT_ATTR_PROPERTY = "subEntityIntAttr";
+
+ public static final String ID_PK_COLUMN = "id";
+
+ public void setSubEntityIntAttr(int subEntityIntAttr) {
+ writeProperty("subEntityIntAttr", subEntityIntAttr);
+ }
+ public int getSubEntityIntAttr() {
+ Object value = readProperty("subEntityIntAttr");
+ return (value != null) ? (Integer) value : 0;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_SubEntity3.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_SubEntity3.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_SubEntity3.java
new file mode 100644
index 0000000..f2d6d98
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_SubEntity3.java
@@ -0,0 +1,25 @@
+package org.apache.cayenne.testdo.inheritance_horizontal.auto;
+
+import org.apache.cayenne.testdo.inheritance_horizontal.AbstractSuperEntity;
+
+/**
+ * Class _SubEntity3 was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _SubEntity3 extends AbstractSuperEntity {
+
+ public static final String SUB_BOOLEAN_ATTR_PROPERTY = "subBooleanAttr";
+
+ public static final String ID_PK_COLUMN = "id";
+
+ public void setSubBooleanAttr(boolean subBooleanAttr) {
+ writeProperty("subBooleanAttr", subBooleanAttr);
+ }
+ public boolean isSubBooleanAttr() {
+ Boolean value = (Boolean)readProperty("subBooleanAttr");
+ return (value != null) ? value.booleanValue() : false;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/BlobTestEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/BlobTestEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/BlobTestEntity.java
new file mode 100644
index 0000000..788bd7b
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/BlobTestEntity.java
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.lob;
+
+import org.apache.cayenne.testdo.lob.auto._BlobTestEntity;
+
+public class BlobTestEntity extends _BlobTestEntity {
+
+}
+
+
+
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/ClobTestEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/ClobTestEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/ClobTestEntity.java
new file mode 100644
index 0000000..b6ae490
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/ClobTestEntity.java
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.lob;
+
+import org.apache.cayenne.testdo.lob.auto._ClobTestEntity;
+
+public class ClobTestEntity extends _ClobTestEntity {
+
+}
+
+
+
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/ClobTestRelation.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/ClobTestRelation.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/ClobTestRelation.java
new file mode 100644
index 0000000..61027cf
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/ClobTestRelation.java
@@ -0,0 +1,25 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.lob;
+
+import org.apache.cayenne.testdo.lob.auto._ClobTestRelation;
+
+public class ClobTestRelation extends _ClobTestRelation {
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/auto/_BlobTestEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/auto/_BlobTestEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/auto/_BlobTestEntity.java
new file mode 100644
index 0000000..458574c
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/auto/_BlobTestEntity.java
@@ -0,0 +1,30 @@
+package org.apache.cayenne.testdo.lob.auto;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.exp.Property;
+
+/**
+ * Class _BlobTestEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _BlobTestEntity extends CayenneDataObject {
+
+ private static final long serialVersionUID = 1L;
+
+ @Deprecated
+ public static final String BLOB_COL_PROPERTY = "blobCol";
+
+ public static final String BLOB_TEST_ID_PK_COLUMN = "BLOB_TEST_ID";
+
+ public static final Property<byte[]> BLOB_COL = new Property<byte[]>("blobCol");
+
+ public void setBlobCol(byte[] blobCol) {
+ writeProperty("blobCol", blobCol);
+ }
+ public byte[] getBlobCol() {
+ return (byte[])readProperty("blobCol");
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/auto/_ClobTestEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/auto/_ClobTestEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/auto/_ClobTestEntity.java
new file mode 100644
index 0000000..ad745fe
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/auto/_ClobTestEntity.java
@@ -0,0 +1,48 @@
+package org.apache.cayenne.testdo.lob.auto;
+
+import java.util.List;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.exp.Property;
+import org.apache.cayenne.testdo.lob.ClobTestRelation;
+
+/**
+ * Class _ClobTestEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _ClobTestEntity extends CayenneDataObject {
+
+ private static final long serialVersionUID = 1L;
+
+ @Deprecated
+ public static final String CLOB_COL_PROPERTY = "clobCol";
+ @Deprecated
+ public static final String CLOB_VALUE_PROPERTY = "clobValue";
+
+ public static final String CLOB_TEST_ID_PK_COLUMN = "CLOB_TEST_ID";
+
+ public static final Property<String> CLOB_COL = new Property<String>("clobCol");
+ public static final Property<List<ClobTestRelation>> CLOB_VALUE = new Property<List<ClobTestRelation>>("clobValue");
+
+ public void setClobCol(String clobCol) {
+ writeProperty("clobCol", clobCol);
+ }
+ public String getClobCol() {
+ return (String)readProperty("clobCol");
+ }
+
+ public void addToClobValue(ClobTestRelation obj) {
+ addToManyTarget("clobValue", obj, true);
+ }
+ public void removeFromClobValue(ClobTestRelation obj) {
+ removeToManyTarget("clobValue", obj, true);
+ }
+ @SuppressWarnings("unchecked")
+ public List<ClobTestRelation> getClobValue() {
+ return (List<ClobTestRelation>)readProperty("clobValue");
+ }
+
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/auto/_ClobTestRelation.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/auto/_ClobTestRelation.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/auto/_ClobTestRelation.java
new file mode 100644
index 0000000..0316e78
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/lob/auto/_ClobTestRelation.java
@@ -0,0 +1,53 @@
+package org.apache.cayenne.testdo.lob.auto;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.exp.Property;
+import org.apache.cayenne.testdo.lob.ClobTestEntity;
+
+/**
+ * Class _ClobTestRelation was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _ClobTestRelation extends CayenneDataObject {
+
+ private static final long serialVersionUID = 1L;
+
+ @Deprecated
+ public static final String ID_PROPERTY = "id";
+ @Deprecated
+ public static final String VALUE_PROPERTY = "value";
+ @Deprecated
+ public static final String CLOB_ID_PROPERTY = "clobId";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public static final Property<Integer> ID = new Property<Integer>("id");
+ public static final Property<Integer> VALUE = new Property<Integer>("value");
+ public static final Property<ClobTestEntity> CLOB_ID = new Property<ClobTestEntity>("clobId");
+
+ public void setId(Integer id) {
+ writeProperty("id", id);
+ }
+ public Integer getId() {
+ return (Integer)readProperty("id");
+ }
+
+ public void setValue(Integer value) {
+ writeProperty("value", value);
+ }
+ public Integer getValue() {
+ return (Integer)readProperty("value");
+ }
+
+ public void setClobId(ClobTestEntity clobId) {
+ setToOneTarget("clobId", clobId, true);
+ }
+
+ public ClobTestEntity getClobId() {
+ return (ClobTestEntity)readProperty("clobId");
+ }
+
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/MeaningfulPKDep.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/MeaningfulPKDep.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/MeaningfulPKDep.java
new file mode 100644
index 0000000..1c2c251
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/MeaningfulPKDep.java
@@ -0,0 +1,26 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+
+package org.apache.cayenne.testdo.meaningful_pk;
+
+import org.apache.cayenne.testdo.meaningful_pk.auto._MeaningfulPKDep;
+
+public class MeaningfulPKDep extends _MeaningfulPKDep {
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/MeaningfulPKTest1.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/MeaningfulPKTest1.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/MeaningfulPKTest1.java
new file mode 100644
index 0000000..1b4cbcc
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/MeaningfulPKTest1.java
@@ -0,0 +1,26 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+
+package org.apache.cayenne.testdo.meaningful_pk;
+
+import org.apache.cayenne.testdo.meaningful_pk.auto._MeaningfulPKTest1;
+
+public class MeaningfulPKTest1 extends _MeaningfulPKTest1 {
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_MeaningfulPKDep.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_MeaningfulPKDep.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_MeaningfulPKDep.java
new file mode 100644
index 0000000..d390a37
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_MeaningfulPKDep.java
@@ -0,0 +1,43 @@
+package org.apache.cayenne.testdo.meaningful_pk.auto;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.exp.Property;
+import org.apache.cayenne.testdo.meaningful_pk.MeaningfulPKTest1;
+
+/**
+ * Class _MeaningfulPKDep was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MeaningfulPKDep extends CayenneDataObject {
+
+ private static final long serialVersionUID = 1L;
+
+ @Deprecated
+ public static final String DESCR_PROPERTY = "descr";
+ @Deprecated
+ public static final String TO_MEANINGFUL_PK_PROPERTY = "toMeaningfulPK";
+
+ public static final String PK_ATTRIBUTE_PK_COLUMN = "PK_ATTRIBUTE";
+
+ public static final Property<String> DESCR = new Property<String>("descr");
+ public static final Property<MeaningfulPKTest1> TO_MEANINGFUL_PK = new Property<MeaningfulPKTest1>("toMeaningfulPK");
+
+ public void setDescr(String descr) {
+ writeProperty("descr", descr);
+ }
+ public String getDescr() {
+ return (String)readProperty("descr");
+ }
+
+ public void setToMeaningfulPK(MeaningfulPKTest1 toMeaningfulPK) {
+ setToOneTarget("toMeaningfulPK", toMeaningfulPK, true);
+ }
+
+ public MeaningfulPKTest1 getToMeaningfulPK() {
+ return (MeaningfulPKTest1)readProperty("toMeaningfulPK");
+ }
+
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_MeaningfulPKTest1.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_MeaningfulPKTest1.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_MeaningfulPKTest1.java
new file mode 100644
index 0000000..ea6ab42
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/meaningful_pk/auto/_MeaningfulPKTest1.java
@@ -0,0 +1,58 @@
+package org.apache.cayenne.testdo.meaningful_pk.auto;
+
+import java.util.List;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.exp.Property;
+import org.apache.cayenne.testdo.meaningful_pk.MeaningfulPKDep;
+
+/**
+ * Class _MeaningfulPKTest1 was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MeaningfulPKTest1 extends CayenneDataObject {
+
+ private static final long serialVersionUID = 1L;
+
+ @Deprecated
+ public static final String DESCR_PROPERTY = "descr";
+ @Deprecated
+ public static final String PK_ATTRIBUTE_PROPERTY = "pkAttribute";
+ @Deprecated
+ public static final String MEANINGFUL_PKDEP_ARRAY_PROPERTY = "meaningfulPKDepArray";
+
+ public static final String PK_ATTRIBUTE_PK_COLUMN = "PK_ATTRIBUTE";
+
+ public static final Property<String> DESCR = new Property<String>("descr");
+ public static final Property<Integer> PK_ATTRIBUTE = new Property<Integer>("pkAttribute");
+ public static final Property<List<MeaningfulPKDep>> MEANINGFUL_PKDEP_ARRAY = new Property<List<MeaningfulPKDep>>("meaningfulPKDepArray");
+
+ public void setDescr(String descr) {
+ writeProperty("descr", descr);
+ }
+ public String getDescr() {
+ return (String)readProperty("descr");
+ }
+
+ public void setPkAttribute(Integer pkAttribute) {
+ writeProperty("pkAttribute", pkAttribute);
+ }
+ public Integer getPkAttribute() {
+ return (Integer)readProperty("pkAttribute");
+ }
+
+ public void addToMeaningfulPKDepArray(MeaningfulPKDep obj) {
+ addToManyTarget("meaningfulPKDepArray", obj, true);
+ }
+ public void removeFromMeaningfulPKDepArray(MeaningfulPKDep obj) {
+ removeToManyTarget("meaningfulPKDepArray", obj, true);
+ }
+ @SuppressWarnings("unchecked")
+ public List<MeaningfulPKDep> getMeaningfulPKDepArray() {
+ return (List<MeaningfulPKDep>)readProperty("meaningfulPKDepArray");
+ }
+
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/ArraysEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/ArraysEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/ArraysEntity.java
new file mode 100644
index 0000000..e2d82e4
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/ArraysEntity.java
@@ -0,0 +1,27 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.misc_types;
+
+import org.apache.cayenne.testdo.misc_types.auto._ArraysEntity;
+
+public class ArraysEntity extends _ArraysEntity {
+
+ private static final long serialVersionUID = 1L;
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/CharacterEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/CharacterEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/CharacterEntity.java
new file mode 100644
index 0000000..725f437
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/CharacterEntity.java
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.misc_types;
+
+import org.apache.cayenne.testdo.misc_types.auto._CharacterEntity;
+
+public class CharacterEntity extends _CharacterEntity {
+
+}
+
+
+
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/SerializableEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/SerializableEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/SerializableEntity.java
new file mode 100644
index 0000000..9a46f5d
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/SerializableEntity.java
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.misc_types;
+
+import org.apache.cayenne.testdo.misc_types.auto._SerializableEntity;
+
+public class SerializableEntity extends _SerializableEntity {
+
+}
+
+
+
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/auto/_ArraysEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/auto/_ArraysEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/auto/_ArraysEntity.java
new file mode 100644
index 0000000..dae0afc
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/auto/_ArraysEntity.java
@@ -0,0 +1,60 @@
+package org.apache.cayenne.testdo.misc_types.auto;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.exp.Property;
+
+/**
+ * Class _ArraysEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _ArraysEntity extends CayenneDataObject {
+
+ private static final long serialVersionUID = 1L;
+
+ @Deprecated
+ public static final String BYTE_ARRAY_PROPERTY = "byteArray";
+ @Deprecated
+ public static final String BYTE_WRAPPER_ARRAY_PROPERTY = "byteWrapperArray";
+ @Deprecated
+ public static final String CHAR_ARRAY_PROPERTY = "charArray";
+ @Deprecated
+ public static final String CHAR_WRAPPER_ARRAY_PROPERTY = "charWrapperArray";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public static final Property<byte[]> BYTE_ARRAY = new Property<byte[]>("byteArray");
+ public static final Property<Byte[]> BYTE_WRAPPER_ARRAY = new Property<Byte[]>("byteWrapperArray");
+ public static final Property<char[]> CHAR_ARRAY = new Property<char[]>("charArray");
+ public static final Property<Character[]> CHAR_WRAPPER_ARRAY = new Property<Character[]>("charWrapperArray");
+
+ public void setByteArray(byte[] byteArray) {
+ writeProperty("byteArray", byteArray);
+ }
+ public byte[] getByteArray() {
+ return (byte[])readProperty("byteArray");
+ }
+
+ public void setByteWrapperArray(Byte[] byteWrapperArray) {
+ writeProperty("byteWrapperArray", byteWrapperArray);
+ }
+ public Byte[] getByteWrapperArray() {
+ return (Byte[])readProperty("byteWrapperArray");
+ }
+
+ public void setCharArray(char[] charArray) {
+ writeProperty("charArray", charArray);
+ }
+ public char[] getCharArray() {
+ return (char[])readProperty("charArray");
+ }
+
+ public void setCharWrapperArray(Character[] charWrapperArray) {
+ writeProperty("charWrapperArray", charWrapperArray);
+ }
+ public Character[] getCharWrapperArray() {
+ return (Character[])readProperty("charWrapperArray");
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/auto/_CharacterEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/auto/_CharacterEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/auto/_CharacterEntity.java
new file mode 100644
index 0000000..50b240a
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/auto/_CharacterEntity.java
@@ -0,0 +1,30 @@
+package org.apache.cayenne.testdo.misc_types.auto;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.exp.Property;
+
+/**
+ * Class _CharacterEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _CharacterEntity extends CayenneDataObject {
+
+ private static final long serialVersionUID = 1L;
+
+ @Deprecated
+ public static final String CHARACTER_FIELD_PROPERTY = "characterField";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public static final Property<Character> CHARACTER_FIELD = new Property<Character>("characterField");
+
+ public void setCharacterField(Character characterField) {
+ writeProperty("characterField", characterField);
+ }
+ public Character getCharacterField() {
+ return (Character)readProperty("characterField");
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/auto/_SerializableEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/auto/_SerializableEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/auto/_SerializableEntity.java
new file mode 100644
index 0000000..5d1efa1
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/misc_types/auto/_SerializableEntity.java
@@ -0,0 +1,31 @@
+package org.apache.cayenne.testdo.misc_types.auto;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.MockSerializable;
+import org.apache.cayenne.exp.Property;
+
+/**
+ * Class _SerializableEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _SerializableEntity extends CayenneDataObject {
+
+ private static final long serialVersionUID = 1L;
+
+ @Deprecated
+ public static final String SERIALIZABLE_FIELD_PROPERTY = "serializableField";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public static final Property<MockSerializable> SERIALIZABLE_FIELD = new Property<MockSerializable>("serializableField");
+
+ public void setSerializableField(MockSerializable serializableField) {
+ writeProperty("serializableField", serializableField);
+ }
+ public MockSerializable getSerializableField() {
+ return (MockSerializable)readProperty("serializableField");
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/MixedPersistenceStrategy.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/MixedPersistenceStrategy.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/MixedPersistenceStrategy.java
new file mode 100644
index 0000000..cdc9290
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/MixedPersistenceStrategy.java
@@ -0,0 +1,35 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.mixed_persistence_strategy;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.cayenne.testdo.mixed_persistence_strategy.auto._MixedPersistenceStrategy;
+
+public class MixedPersistenceStrategy extends _MixedPersistenceStrategy {
+
+ // a private variable that intentionally mirrors the name of the persistent property
+ // to create a "conflict"
+ private List details = new ArrayList();
+
+ public List getIvarDetails() {
+ return details;
+ }
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/MixedPersistenceStrategy2.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/MixedPersistenceStrategy2.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/MixedPersistenceStrategy2.java
new file mode 100644
index 0000000..15a6884
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/MixedPersistenceStrategy2.java
@@ -0,0 +1,25 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.mixed_persistence_strategy;
+
+import org.apache.cayenne.testdo.mixed_persistence_strategy.auto._MixedPersistenceStrategy2;
+
+public class MixedPersistenceStrategy2 extends _MixedPersistenceStrategy2 {
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/auto/_MixedPersistenceStrategy.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/auto/_MixedPersistenceStrategy.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/auto/_MixedPersistenceStrategy.java
new file mode 100644
index 0000000..c664ff2
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/auto/_MixedPersistenceStrategy.java
@@ -0,0 +1,58 @@
+package org.apache.cayenne.testdo.mixed_persistence_strategy.auto;
+
+import java.util.List;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.exp.Property;
+import org.apache.cayenne.testdo.mixed_persistence_strategy.MixedPersistenceStrategy2;
+
+/**
+ * Class _MixedPersistenceStrategy was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MixedPersistenceStrategy extends CayenneDataObject {
+
+ private static final long serialVersionUID = 1L;
+
+ @Deprecated
+ public static final String DESCRIPTION_PROPERTY = "description";
+ @Deprecated
+ public static final String NAME_PROPERTY = "name";
+ @Deprecated
+ public static final String DETAILS_PROPERTY = "details";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public static final Property<String> DESCRIPTION = new Property<String>("description");
+ public static final Property<String> NAME = new Property<String>("name");
+ public static final Property<List<MixedPersistenceStrategy2>> DETAILS = new Property<List<MixedPersistenceStrategy2>>("details");
+
+ public void setDescription(String description) {
+ writeProperty("description", description);
+ }
+ public String getDescription() {
+ return (String)readProperty("description");
+ }
+
+ public void setName(String name) {
+ writeProperty("name", name);
+ }
+ public String getName() {
+ return (String)readProperty("name");
+ }
+
+ public void addToDetails(MixedPersistenceStrategy2 obj) {
+ addToManyTarget("details", obj, true);
+ }
+ public void removeFromDetails(MixedPersistenceStrategy2 obj) {
+ removeToManyTarget("details", obj, true);
+ }
+ @SuppressWarnings("unchecked")
+ public List<MixedPersistenceStrategy2> getDetails() {
+ return (List<MixedPersistenceStrategy2>)readProperty("details");
+ }
+
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/auto/_MixedPersistenceStrategy2.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/auto/_MixedPersistenceStrategy2.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/auto/_MixedPersistenceStrategy2.java
new file mode 100644
index 0000000..0fab028
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/mixed_persistence_strategy/auto/_MixedPersistenceStrategy2.java
@@ -0,0 +1,43 @@
+package org.apache.cayenne.testdo.mixed_persistence_strategy.auto;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.exp.Property;
+import org.apache.cayenne.testdo.mixed_persistence_strategy.MixedPersistenceStrategy;
+
+/**
+ * Class _MixedPersistenceStrategy2 was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _MixedPersistenceStrategy2 extends CayenneDataObject {
+
+ private static final long serialVersionUID = 1L;
+
+ @Deprecated
+ public static final String NAME_PROPERTY = "name";
+ @Deprecated
+ public static final String MASTER_PROPERTY = "master";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public static final Property<String> NAME = new Property<String>("name");
+ public static final Property<MixedPersistenceStrategy> MASTER = new Property<MixedPersistenceStrategy>("master");
+
+ public void setName(String name) {
+ writeProperty("name", name);
+ }
+ public String getName() {
+ return (String)readProperty("name");
+ }
+
+ public void setMaster(MixedPersistenceStrategy master) {
+ setToOneTarget("master", master, true);
+ }
+
+ public MixedPersistenceStrategy getMaster() {
+ return (MixedPersistenceStrategy)readProperty("master");
+ }
+
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/no_pk/NoPkTestEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/no_pk/NoPkTestEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/no_pk/NoPkTestEntity.java
new file mode 100644
index 0000000..7e05dd3
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/no_pk/NoPkTestEntity.java
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.no_pk;
+
+import org.apache.cayenne.testdo.no_pk.auto._NoPkTestEntity;
+
+public class NoPkTestEntity extends _NoPkTestEntity {
+
+}
+
+
+
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/no_pk/auto/_NoPkTestEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/no_pk/auto/_NoPkTestEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/no_pk/auto/_NoPkTestEntity.java
new file mode 100644
index 0000000..2cfbe63
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/no_pk/auto/_NoPkTestEntity.java
@@ -0,0 +1,29 @@
+package org.apache.cayenne.testdo.no_pk.auto;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.exp.Property;
+
+/**
+ * Class _NoPkTestEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _NoPkTestEntity extends CayenneDataObject {
+
+ private static final long serialVersionUID = 1L;
+
+ @Deprecated
+ public static final String ATTRIBUTE1_PROPERTY = "attribute1";
+
+
+ public static final Property<Integer> ATTRIBUTE1 = new Property<Integer>("attribute1");
+
+ public void setAttribute1(Integer attribute1) {
+ writeProperty("attribute1", attribute1);
+ }
+ public Integer getAttribute1() {
+ return (Integer)readProperty("attribute1");
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BigDecimalEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BigDecimalEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BigDecimalEntity.java
new file mode 100644
index 0000000..ea23806
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BigDecimalEntity.java
@@ -0,0 +1,27 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.numeric_types;
+
+import org.apache.cayenne.testdo.numeric_types.auto._BigDecimalEntity;
+
+public class BigDecimalEntity extends _BigDecimalEntity {
+
+ private static final long serialVersionUID = 1L;
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BigIntegerEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BigIntegerEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BigIntegerEntity.java
new file mode 100644
index 0000000..6b0867a
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BigIntegerEntity.java
@@ -0,0 +1,27 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.numeric_types;
+
+import org.apache.cayenne.testdo.numeric_types.auto._BigIntegerEntity;
+
+public class BigIntegerEntity extends _BigIntegerEntity {
+
+ private static final long serialVersionUID = 1L;
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BitNumberTestEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BitNumberTestEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BitNumberTestEntity.java
new file mode 100644
index 0000000..ab52725
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BitNumberTestEntity.java
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.numeric_types;
+
+import org.apache.cayenne.testdo.numeric_types.auto._BitNumberTestEntity;
+
+public class BitNumberTestEntity extends _BitNumberTestEntity {
+
+}
+
+
+
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BitTestEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BitTestEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BitTestEntity.java
new file mode 100644
index 0000000..362936c
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BitTestEntity.java
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.numeric_types;
+
+import org.apache.cayenne.testdo.numeric_types.auto._BitTestEntity;
+
+public class BitTestEntity extends _BitTestEntity {
+
+}
+
+
+
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BooleanTestEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BooleanTestEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BooleanTestEntity.java
new file mode 100644
index 0000000..e944261
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/BooleanTestEntity.java
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.numeric_types;
+
+import org.apache.cayenne.testdo.numeric_types.auto._BooleanTestEntity;
+
+public class BooleanTestEntity extends _BooleanTestEntity {
+
+}
+
+
+
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/DecimalPKTest1.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/DecimalPKTest1.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/DecimalPKTest1.java
new file mode 100644
index 0000000..f9d4b8d
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/DecimalPKTest1.java
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.numeric_types;
+
+import org.apache.cayenne.testdo.numeric_types.auto._DecimalPKTest1;
+
+public class DecimalPKTest1 extends _DecimalPKTest1 {
+
+}
+
+
+
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/DecimalPKTestEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/DecimalPKTestEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/DecimalPKTestEntity.java
new file mode 100644
index 0000000..c899b28
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/DecimalPKTestEntity.java
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.numeric_types;
+
+import org.apache.cayenne.testdo.numeric_types.auto._DecimalPKTestEntity;
+
+public class DecimalPKTestEntity extends _DecimalPKTestEntity {
+
+}
+
+
+
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/LongEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/LongEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/LongEntity.java
new file mode 100644
index 0000000..34a43b8
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/LongEntity.java
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.numeric_types;
+
+import org.apache.cayenne.testdo.numeric_types.auto._LongEntity;
+
+public class LongEntity extends _LongEntity {
+
+}
+
+
+
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/SmallintTestEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/SmallintTestEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/SmallintTestEntity.java
new file mode 100644
index 0000000..6642cbd
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/SmallintTestEntity.java
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.numeric_types;
+
+import org.apache.cayenne.testdo.numeric_types.auto._SmallintTestEntity;
+
+public class SmallintTestEntity extends _SmallintTestEntity {
+
+}
+
+
+
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/TinyintTestEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/TinyintTestEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/TinyintTestEntity.java
new file mode 100644
index 0000000..75e9ecd
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/TinyintTestEntity.java
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.numeric_types;
+
+import org.apache.cayenne.testdo.numeric_types.auto._TinyintTestEntity;
+
+public class TinyintTestEntity extends _TinyintTestEntity {
+
+}
+
+
+
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/auto/_BigDecimalEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/auto/_BigDecimalEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/auto/_BigDecimalEntity.java
new file mode 100644
index 0000000..dc6d5bb
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/auto/_BigDecimalEntity.java
@@ -0,0 +1,32 @@
+package org.apache.cayenne.testdo.numeric_types.auto;
+
+import java.math.BigDecimal;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.exp.Property;
+
+/**
+ * Class _BigDecimalEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _BigDecimalEntity extends CayenneDataObject {
+
+ private static final long serialVersionUID = 1L;
+
+ @Deprecated
+ public static final String BIG_DECIMAL_FIELD_PROPERTY = "bigDecimalField";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public static final Property<BigDecimal> BIG_DECIMAL_FIELD = new Property<BigDecimal>("bigDecimalField");
+
+ public void setBigDecimalField(BigDecimal bigDecimalField) {
+ writeProperty("bigDecimalField", bigDecimalField);
+ }
+ public BigDecimal getBigDecimalField() {
+ return (BigDecimal)readProperty("bigDecimalField");
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/535ecb88/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/auto/_BigIntegerEntity.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/auto/_BigIntegerEntity.java b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/auto/_BigIntegerEntity.java
new file mode 100644
index 0000000..2d9d988
--- /dev/null
+++ b/cayenne-server/src/test/java/org/apache/cayenne/testdo/numeric_types/auto/_BigIntegerEntity.java
@@ -0,0 +1,32 @@
+package org.apache.cayenne.testdo.numeric_types.auto;
+
+import java.math.BigInteger;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.exp.Property;
+
+/**
+ * Class _BigIntegerEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _BigIntegerEntity extends CayenneDataObject {
+
+ private static final long serialVersionUID = 1L;
+
+ @Deprecated
+ public static final String BIG_INTEGER_FIELD_PROPERTY = "bigIntegerField";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public static final Property<BigInteger> BIG_INTEGER_FIELD = new Property<BigInteger>("bigIntegerField");
+
+ public void setBigIntegerField(BigInteger bigIntegerField) {
+ writeProperty("bigIntegerField", bigIntegerField);
+ }
+ public BigInteger getBigIntegerField() {
+ return (BigInteger)readProperty("bigIntegerField");
+ }
+
+}