Geert,

Which RIFE jar are you using (jdk 1.4 or jdk 1.5 version?)
Are you using Eclipse?
Are you using a 1.5 JDK?

I'm working with Eclipse and jre from jdk1.5.0_05.

I'm using svn repository rife (local files updated four hours ago) and build-1.5.xml (revision 2663)

Regards

Pierre


Best regards,

Geert

On 14-nov-05, at 13:56, Raoul Pierre wrote:

Geert,

There are signature function issues with com.uwyn.rife.database.queries.CreateTable.foreignKey. In the first and fifth cases, there are 6 parameters... I think these need some transformation as in second case: localColumn and foreignColumn in a String[]

Regards

Pierre


public CreateTable foreignKey(String foreignTable, String localColumn, String foreignColumn)
   {
return foreignKey(null, foreignTable, localColumn, foreignColumn, null, null); <======
   }
public CreateTable foreignKey(String foreignTable, String localColumn, String foreignColumn, ViolationAction onUpdate, ViolationAction onDelete)
   {
return foreignKey(null, foreignTable, new String[] {localColumn, foreignColumn}, onUpdate, onDelete);
   }
public CreateTable foreignKey(String foreignTable, String[] columnsMapping)
   {
return foreignKey(null, foreignTable, columnsMapping, null, null);
   }
public CreateTable foreignKey(String foreignTable, String[] columnsMapping, ViolationAction onUpdate, ViolationAction onDelete)
   {
return foreignKey(null, foreignTable, columnsMapping, onUpdate, onDelete);
   }

public CreateTable foreignKey(String name, String foreignTable, String localColumn, String foreignColumn)
   {
return foreignKey(name, foreignTable, localColumn, foreignColumn, null, null);<======
   }
public CreateTable foreignKey(String name, String foreignTable, String localColumn, String foreignColumn, ViolationAction onUpdate, ViolationAction onDelete)
   {
return foreignKey(name, foreignTable, new String[] {localColumn, foreignColumn}, onUpdate, onDelete);
   }
public CreateTable foreignKey(String name, String foreignTable, String[] columnsMapping)
   {
return foreignKey(name, foreignTable, columnsMapping, null, null);
   }
public CreateTable foreignKey(String name, String foreignTable, String[] columnsMapping, ViolationAction onUpdate, ViolationAction onDelete)
   {
if (name != null && 0 == name.length()) throw new IllegalArgumentException("name can't be empty.");



_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users






_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to