Refactoring du package contenant l'API ORM

This commit is contained in:
Marc Baloup 2016-12-29 18:23:12 +01:00
parent de056a35a5
commit 8c9526093c
16 changed files with 21 additions and 25 deletions

View File

@ -6,11 +6,6 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>

View File

@ -1,4 +1,4 @@
package fr.pandacube.java.util.db.sql_tools;
package fr.pandacube.java.util.orm;
import java.sql.Connection;
import java.sql.DriverManager;

View File

@ -1,4 +1,4 @@
package fr.pandacube.java.util.db.sql_tools;
package fr.pandacube.java.util.orm;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
@ -9,8 +9,9 @@ import java.util.List;
import fr.pandacube.java.util.EnumUtil;
import fr.pandacube.java.util.Log;
import fr.pandacube.java.util.db.sql_tools.SQLWhereChain.SQLBoolOp;
import fr.pandacube.java.util.db.sql_tools.SQLWhereComp.SQLComparator;
import fr.pandacube.java.util.orm.SQLWhereChain.SQLBoolOp;
import fr.pandacube.java.util.orm.SQLWhereComp.SQLComparator;
import org.javatuples.Pair;
/**

View File

@ -1,4 +1,4 @@
package fr.pandacube.java.util.db.sql_tools;
package fr.pandacube.java.util.orm;
public class ORMException extends Exception {
private static final long serialVersionUID = 1L;

View File

@ -1,4 +1,4 @@
package fr.pandacube.java.util.db.sql_tools;
package fr.pandacube.java.util.orm;
public class ORMInitTableException extends ORMException {
private static final long serialVersionUID = 1L;

View File

@ -1,4 +1,4 @@
package fr.pandacube.java.util.db.sql_tools;
package fr.pandacube.java.util.orm;
import java.sql.Connection;
import java.sql.PreparedStatement;
@ -21,7 +21,7 @@ import com.google.gson.Gson;
import com.google.gson.JsonObject;
import fr.pandacube.java.util.Log;
import fr.pandacube.java.util.db.sql_tools.SQLWhereComp.SQLComparator;
import fr.pandacube.java.util.orm.SQLWhereComp.SQLComparator;
public abstract class SQLElement<E extends SQLElement<E>> {
/** cache for fields for each subclass of SQLElement */

View File

@ -1,4 +1,4 @@
package fr.pandacube.java.util.db.sql_tools;
package fr.pandacube.java.util.orm;
import java.sql.PreparedStatement;
import java.sql.SQLException;
@ -13,8 +13,8 @@ import java.util.Set;
import com.google.gson.JsonArray;
import fr.pandacube.java.util.Log;
import fr.pandacube.java.util.db.sql_tools.SQLWhereChain.SQLBoolOp;
import fr.pandacube.java.util.db.sql_tools.SQLWhereComp.SQLComparator;
import fr.pandacube.java.util.orm.SQLWhereChain.SQLBoolOp;
import fr.pandacube.java.util.orm.SQLWhereComp.SQLComparator;
/**
*

View File

@ -1,4 +1,4 @@
package fr.pandacube.java.util.db.sql_tools;
package fr.pandacube.java.util.orm;
import fr.pandacube.java.util.Log;

View File

@ -1,4 +1,4 @@
package fr.pandacube.java.util.db.sql_tools;
package fr.pandacube.java.util.orm;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,4 +1,4 @@
package fr.pandacube.java.util.db.sql_tools;
package fr.pandacube.java.util.orm;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,4 +1,4 @@
package fr.pandacube.java.util.db.sql_tools;
package fr.pandacube.java.util.orm;
import java.sql.Date;

View File

@ -1,4 +1,4 @@
package fr.pandacube.java.util.db.sql_tools;
package fr.pandacube.java.util.orm;
import java.util.List;

View File

@ -1,4 +1,4 @@
package fr.pandacube.java.util.db.sql_tools;
package fr.pandacube.java.util.orm;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,4 +1,4 @@
package fr.pandacube.java.util.db.sql_tools;
package fr.pandacube.java.util.orm;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,4 +1,4 @@
package fr.pandacube.java.util.db.sql_tools;
package fr.pandacube.java.util.orm;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,4 +1,4 @@
package fr.pandacube.java.util.db.sql_tools;
package fr.pandacube.java.util.orm;
import java.util.ArrayList;
import java.util.List;