ote:
> Hi Kevin,
>
> I'm not familiar offhand with the case sensitivity of HSQLDB, but a
> JIRA would be nice so we can remember to explore it later.
>
> Thanks,
>
> mrg
>
>
> On Wed, Dec 14, 2011 at 12:31 AM, Kevin Meyer - KMZ wrote:
> > In CreateIf
In CreateIfNoSchemaStrategy, I have run into problems with HSQLDB
and upper/mixed case table names.
In particular, if I lower or mixed case my DBEntity name, the resulting
tables are not found by CreateIfNoSchemaStrategy whenI use
HSQLDB.
I found that if I convert all table name checks to uppe
Just a quick note.
I'm almost done with implementing support for Cayenne[1] as a data
object store in Isis[2].
I'll not support extra Isis Objectstore query methods, rather I'll expose
the Cayenne query interface as a service.
Additionlly, I'll not support ant datatypes other than those nativ
Enough for tonight.
Thanks to everyone for the help thus far.
When I get back to this project, I'll be looking into starting/ending
transactions and getting IDs before the object is persisted.
Regards,
Kevin
> Hah! Success!
>
> It seemed that I did not have a primary key field defined. I defi
must I
implement my own?
Regards,
Kevin
On 12 Dec 2011 at 20:21, Kevin Meyer - KMZ wrote:
> Ah! Next problem.
>
> Having found the datanode with:
> DataDomain dataDomain =
> runtime.getInjector().getInstance(DataDomain.class);
> DataNode dataNode = dataDomain
eplaced on commit: "
Any hints?
On 12 Dec 2011 at 12:02, Mike Kienenberger wrote:
> How are you creating a DataNode and what are you doing to assign DataMaps to
> it?
>
> On Mon, Dec 12, 2011 at 11:52 AM, Kevin Meyer - KMZ wrote:
> > Ok, thanks, I call
> >
ike Kienenberger wrote:
> How are you creating a DataNode and what are you doing to assign DataMaps to
> it?
>
> On Mon, Dec 12, 2011 at 11:52 AM, Kevin Meyer - KMZ wrote:
> > Ok, thanks, I call
> > objAttribute.setDbAttributePath(id);
> >
n a DbAttribute name.
> objAttribute.setDbAttributePath(id);
>
> On Mon, Dec 12, 2011 at 11:10 AM, Kevin Meyer - KMZ wrote:
> > Sorry, you guys are confusing me.
> >
> > I have a datamap (called "isis_map"), to which I have added a DbEntity
> > (named after my class, &
name, both the
> entities and the attributes.
>
> On Mon, Dec 12, 2011 at 9:03 AM, Mike Kienenberger wrote:
>
> > I can't remember the exact details, but you might need (prefix + "." +
> > id) instead of (id)
> >
> > On Mon, Dec 12,
Hmm.. curiouser and curiouser:
I'm reorganising the entity setup, and now I get:
org.apache.cayenne.CayenneRuntimeException: [v.3.1M4-SNAPSHOT Dec 11 2011
10:30:28] ObjAttribute 'number' does not have a corresponding DbAttribute
My setup, below, links the two:
id, in this case, is the magic "num
What am I missing: In
DataDomainInsertBucket#createPermIds
the returned node is null in:
DataNode node = parent.getDomain().lookupDataNode(entity.getDataMap());
Clearly I'm not doing something in my set-up.
On 11 Dec 2011 at 21:05, Andrus Adamchik wrote:
> Great to hear there a
On 11 Dec 2011 at 20:28, Andrus Adamchik wrote:
>
> On Dec 11, 2011, at 7:00 PM, Kevin Meyer - KMZ wrote:
>
> > I wish it were this simple. But the problem lies in
> > DataContext#newObject(String entityName)
> > once it has created an instance of m
By the way, I'm using Cayenne 3.1M4-SNAPSHOT.
> I don't really know what you're doing, but what about something like this:
>
> class POJO {
> CayenneDataObject delegate;
>
> public POJO() {
> }
>
> public setDelegate(CayenneDataObject cdo) {
> this.delegate = cdo;
>
Thanks - I've got to the point where Cayenne is trying to instantiate an
instance of one of my pojos, but I've run into a problem...
Cayenne *requires* the pojo to implement the Persisted interface, but
this interface kills the Isis introspector (it detects the XMLSerializer,
which contains a
On 8 Dec 2011 at 16:18, Andrus Adamchik wrote:
>
> In the custom module define DataDomain loading services to
> reverse-engineer the POJOs instead of loading mapping from XML. This
> is the biggest task, requiring some understanding of Cayenne APIs.
> Feel free to ask here if you get stuck with a
Indeed - The Isis SQL objectstore itself works by making assumptions
about jdbc type, etc. The defaults can be altered at runtime, but most
work out-of-the-box against MySQL, PostgreSQL and HSQLDB.
On 8 Dec 2011 at 9:10, John Huss wrote:
> > I was hoping that I could merely require that Cayenn
Hi Andrus,
Thanks for the details.
I had an initial read through of the cayenne-guide-08302011.pdf, but
I'm not sure what I'm looking for.
For the most part, I *do* assume that I have total control over the DB,
with no legacy support. Or at least, nothing beyond choosing property
names to sui
Dear John,
Thanks for your response.
On 6 Dec 2011 at 9:04, John Huss wrote:
> You can use Cayenne without running the modeler, but it would be rather
> cumbersome since you would have to create the whole model programmatically
> at runtime each time.
So Cayenne does not introspect the POJOs?
Hi all,
Please point me to the previous message if this has already been
addressed.. I did a quick search, but couldn't find anything that looked
directly relevant.
Anyway: I have been maintaining the SQL Objectstore (jdbc) for
Apache Isis (currently in the incubator), and would like to know i
19 matches
Mail list logo