Refactoring du package contenant l'API ORM
This commit is contained in:
parent
de056a35a5
commit
8c9526093c
@ -6,11 +6,6 @@
|
|||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</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">
|
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="optional" value="true"/>
|
<attribute name="optional" value="true"/>
|
||||||
|
@ -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.Connection;
|
||||||
import java.sql.DriverManager;
|
import java.sql.DriverManager;
|
@ -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.PreparedStatement;
|
||||||
import java.sql.ResultSet;
|
import java.sql.ResultSet;
|
||||||
@ -9,8 +9,9 @@ import java.util.List;
|
|||||||
|
|
||||||
import fr.pandacube.java.util.EnumUtil;
|
import fr.pandacube.java.util.EnumUtil;
|
||||||
import fr.pandacube.java.util.Log;
|
import fr.pandacube.java.util.Log;
|
||||||
import fr.pandacube.java.util.db.sql_tools.SQLWhereChain.SQLBoolOp;
|
import fr.pandacube.java.util.orm.SQLWhereChain.SQLBoolOp;
|
||||||
import fr.pandacube.java.util.db.sql_tools.SQLWhereComp.SQLComparator;
|
import fr.pandacube.java.util.orm.SQLWhereComp.SQLComparator;
|
||||||
|
|
||||||
import org.javatuples.Pair;
|
import org.javatuples.Pair;
|
||||||
|
|
||||||
/**
|
/**
|
@ -1,4 +1,4 @@
|
|||||||
package fr.pandacube.java.util.db.sql_tools;
|
package fr.pandacube.java.util.orm;
|
||||||
|
|
||||||
public class ORMException extends Exception {
|
public class ORMException extends Exception {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
@ -1,4 +1,4 @@
|
|||||||
package fr.pandacube.java.util.db.sql_tools;
|
package fr.pandacube.java.util.orm;
|
||||||
|
|
||||||
public class ORMInitTableException extends ORMException {
|
public class ORMInitTableException extends ORMException {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
@ -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.Connection;
|
||||||
import java.sql.PreparedStatement;
|
import java.sql.PreparedStatement;
|
||||||
@ -21,7 +21,7 @@ import com.google.gson.Gson;
|
|||||||
import com.google.gson.JsonObject;
|
import com.google.gson.JsonObject;
|
||||||
|
|
||||||
import fr.pandacube.java.util.Log;
|
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>> {
|
public abstract class SQLElement<E extends SQLElement<E>> {
|
||||||
/** cache for fields for each subclass of SQLElement */
|
/** cache for fields for each subclass of SQLElement */
|
@ -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.PreparedStatement;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
@ -13,8 +13,8 @@ import java.util.Set;
|
|||||||
import com.google.gson.JsonArray;
|
import com.google.gson.JsonArray;
|
||||||
|
|
||||||
import fr.pandacube.java.util.Log;
|
import fr.pandacube.java.util.Log;
|
||||||
import fr.pandacube.java.util.db.sql_tools.SQLWhereChain.SQLBoolOp;
|
import fr.pandacube.java.util.orm.SQLWhereChain.SQLBoolOp;
|
||||||
import fr.pandacube.java.util.db.sql_tools.SQLWhereComp.SQLComparator;
|
import fr.pandacube.java.util.orm.SQLWhereComp.SQLComparator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
@ -1,4 +1,4 @@
|
|||||||
package fr.pandacube.java.util.db.sql_tools;
|
package fr.pandacube.java.util.orm;
|
||||||
|
|
||||||
import fr.pandacube.java.util.Log;
|
import fr.pandacube.java.util.Log;
|
||||||
|
|
@ -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.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
@ -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.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
@ -1,4 +1,4 @@
|
|||||||
package fr.pandacube.java.util.db.sql_tools;
|
package fr.pandacube.java.util.orm;
|
||||||
|
|
||||||
import java.sql.Date;
|
import java.sql.Date;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package fr.pandacube.java.util.db.sql_tools;
|
package fr.pandacube.java.util.orm;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
@ -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.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
@ -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.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
@ -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.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
@ -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.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
Loading…
Reference in New Issue
Block a user