Hi Andrew,
can I do this programmatically (without using SQL's)?
Sheldon
--
View this message in context:
http://cayenne.195.n3.nabble.com/lazy-loading-tp3863908p3899950.html
Sent from the Cayenne - User mailing list archive at Nabble.com.
What I mean is,
if I have a Table with n columns (col1, col2, col3 ...) and want load only
the value of col1 and col3 (without loading col2 and the others).
Is this example possible?
Sheldon
--
View this message in context:
http://cayenne.195.n3.nabble.com/lazy-loading-tp3863908p3877037
If I specify a pageSize than I get any PK of objects.
I want, that I know a list of PKs and get their Objects.
Sheldon
--
View this message in context:
http://cayenne.195.n3.nabble.com/select-over-PKs-tp3870305p3876993.html
Sent from the Cayenne - User mailing list archive at Nabble.com.
Hello Michael,
I want to use a SelectQuery (but without using of a String "select ...")
Thanks
Sheldon
--
View this message in context:
http://cayenne.195.n3.nabble.com/select-over-PKs-tp3870305p3871032.html
Sent from the Cayenne - User mailing list archive at Nabble.com.
Yes I mean primary key.
For example I have a list of primary keys (that should not be random list
keys) and I want to fetch the related objects of these keys.
Is this possible?
Sheldon
--
View this message in context:
http://cayenne.195.n3.nabble.com/select-over-PKs-tp3870305p3870799.html
Sent
What I mean is,
if I have a Table with n columns (col1, col2, col3 ...) and want load only
the value ov col1 and col3 (without loading col2 and the others).
Is this example possible?
Sheldon
--
View this message in context:
http://cayenne.195.n3.nabble.com/lazy-loading-tp3863908p3870794.html
Hello,
can I fetch data from db with a list of private keys? One possibility is to
do this with SQLTemplate and than create a SELECT statement.
But I want to do this like:
Cayenne.objectForPK(context, Class, List of PKs)
Sheldon
--
View this message in context:
http://cayenne.195.n3.nabble.com
Hello,
is lazy loading not supported in cayenne?
best regards
Sheldon
--
View this message in context:
http://cayenne.195.n3.nabble.com/lazy-loading-tp3863908p3863908.html
Sent from the Cayenne - User mailing list archive at Nabble.com.
Thank you Andrus,
I don't found this instruction.
Sheldon
--
View this message in context:
http://cayenne.195.n3.nabble.com/Myslq-Adapter-tp3828735p3829244.html
Sent from the Cayenne - User mailing list archive at Nabble.com.
Sorry Andrus, but I don't really understand DI and I don't found good
explanations of it.
Can you give me some advice or good links?
thanks
Sheldon
--
View this message in context:
http://cayenne.195.n3.nabble.com/Myslq-Adapter-tp3828735p3829085.html
Sent from the Cayenne - User ma
You are right Andrus,
the JdbcEventLogger of the adapter is null.
How can I initialize the Logger?
Sheldon
--
View this message in context:
http://cayenne.195.n3.nabble.com/Myslq-Adapter-tp3828735p3828969.html
Sent from the Cayenne - User mailing list archive at Nabble.com.
Hello,
how can I create a custom Mysql adapter? I use cayenne 3.1M3.
I've tried:
1)
DataNode node = new DataNode(...);
dataNode.setAdapter(new MySQLAdapter());
2)
Provider adapterProvider = new Provider() {
public DbAdapter get() throws ConfigurationException {
Yes, I think I should do it on my own.
Now I configure Cayenne like in the post:
http://cayenne.195.n3.nabble.com/How-to-configure-Cayenne-and-map-generic-object-programmatically-from-scratch-without-using-of-XML-td3506305.html.
I don't understand where and how to implement DataSourceFactory and
Hello,
I want to run the no_xml_example of A.Rothe:
https://cwiki.apache.org/CAY/no-xml-example.html.
But I get the following Exceptions:
org.apache.cayenne.CayenneRuntimeException: [v.3.1M3 Sep 13 2011 19:17:16]
Commit Exception
at
org.apache.cayenne.access.DataContext.flushToParent(Da
14 matches
Mail list logo