Hi,
I am playing around with Turbine and have a few questions:
1) Criteria
>>
Criteria criteria = new Criteria();
criteria.add("Contact."+COLUMN,SEARCHSTRING);
<<
works fine.
>>
Criteria criteria = new Criteria();
criteria.add("contact."+COLUMN,SEARCHSTRING,(Object)Criteria.LIKE);
>>
throws :
>>
Exception: java.sql.SQLException: General error: Access denied for user:
'[EMAIL PROTECTED]' to database 'contact'
Stack Trace follows:
java.sql.SQLException: General error: Access denied for user:
'[EMAIL PROTECTED]' to database 'contact'
...
<<
Why is suddendly my table name inerpreted as my database name?
2) PrimaryKey
After saving an entry with the save()-method I want to get the primarykey,
but getPrimaryKey() returns null.
Anybody can tell me how to acccess the PrimaryKey.
3) addAscendingOrderByColumn()
criteria.addAscendingOrderByColumn("Contact."+COLUMN);
returns null if in my table ist generated with a forgein key in it.
Sorry, for these basic questions...
Johannes
--
To unsubscribe, e-mail: <mailto:turbine-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>