Re: New SVN is ready

2007-01-19 Thread Michael Gentry
Seems fairly logical, but Subversion allows us to move things around if it needs to be changed again. I am a little confused by the "private" in the names, though. Maybe I just don't understand what you were trying to do, but the term seems to imply non-open source to me, which of course is not

Re: New SVN is ready

2007-01-19 Thread Michael Gentry
On Jan 19, 2007, at 7:41 PM, Mike Kienenberger wrote: > How about unpublished instead of private? > > > On 1/19/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: >> >> On Jan 19, 2007, at 7:16 PM, Michael Gentry wrote: >> >> > Seems fairly logical, but Subve

Re: [JIRA] Created: (CAY-733) Support for embeddable classes

2007-01-23 Thread Michael Gentry
Hi Craig, I'm pretty ignorant on the JPA stuff so far, but from an accessor point of view, I'm assuming it would look something like this: anEmployee.getHomeAddress().getStreet(); I wouldn't imagine there is a roll-up of the attributes into the main class at all. Also, are the database column

Re: [DONE] Re: SVN migration starting

2007-01-23 Thread Michael Gentry
I'm guessing these Eclipse instructions are invalid now? http://cwiki.apache.org/confluence/display/CAY/Eclipse Thanks, /dev/mrg On 1/21/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: Migration is finished. Please check out the fresh SVN tree. One extra change compared to what we discussed

Re: [DONE] Re: SVN migration starting

2007-01-24 Thread Michael Gentry
On 1/24/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: I just updated the page. I intentionally didn't specify module names as those are somewhat volatile. We can probably document them individually via a README file in each module root or something. Andrus On Jan 23, 2007, at 1

FindBugs

2007-02-01 Thread Michael Gentry
What would the general consensus be here of using FindBugs (http://findbugs.sourceforge.net/)? I just used the 1.1.1 version to analyze Cayenne 3.0 and it is reporting 1720 (potential) bugs (at least on my current source tree). I haven't used this tool much yet, but it seems like it could be use

Re: FindBugs

2007-02-01 Thread Michael Gentry
) Thanks, /dev/mrg On 2/1/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: "FindBugs" names seems to imply too much for an automated tool :-) Can you post a report somewhere showing what kind of "bugs" it finds? Andrus On Feb 1, 2007, at 3:43 PM, Michael Gentry wr

Re: FindBugs

2007-02-01 Thread Michael Gentry
do. :-) Thanks, /dev/mrg PS. If the mailing list strips the attachment and you want to see it (and don't want to run your own like I did above), shoot me an e-mail directly. On 2/1/07, Aristedes Maniatis <[EMAIL PROTECTED]> wrote: On 02/02/2007, at 12:43 AM, Michael Gentry wrote:

Re: FindBugs

2007-02-01 Thread Michael Gentry
OK, here it is: http://people.apache.org/~mgentry/modeler-report.html Thanks, /dev/mrg On 2/1/07, Michael Gentry <[EMAIL PROTECTED]> wrote: Sadly, SSH is blocked. I can do it tonight when I get home ... /dev/mrg On 2/1/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: > M

Re: FindBugs

2007-02-02 Thread Michael Gentry
I hadn't gotten to the Eclipse/Maven/etc options yet. And I actually can't download that plugin from work (our proxy blocks the downloads page -- go figure). Thanks! /dev/mrg On 2/2/07, Dirk Olmes <[EMAIL PROTECTED]> wrote: > Actually looks pretty good. Similar in nature to Eclipse warnings

Re-engineering DB Schema + DataNode

2007-02-06 Thread Michael Gentry
I just used Cayenne Modeler to re-engineer a schema for a project I've inherited (so I could hopefully see all the relationships/etc) and noticed that when you do this, it doesn't automatically create a DataNode for you with the connection information that was entered. Does anyone else think it mi

Re: Re-engineering DB Schema + DataNode

2007-02-06 Thread Michael Gentry
everything but BLOBs), but I was thinking something that worked more locally in the tab you were on so you'd not have to bounce around when making minor tweaks. Thanks, /dev/mrg On 2/6/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: On Feb 6, 2007, at 3:53 PM, Michael Gentry wrote:

Build Failures?

2007-02-07 Thread Michael Gentry
Does a "mvn install" currently build for others? Whenever I try it (or to build the Mac DMG), I get: [INFO] [INFO] Building Cayenne JPA Unpublished [INFO]task-segment: [install] [INFO]

Re: Build Failures?

2007-02-07 Thread Michael Gentry
s later on. Thanks, /dev/mrg On 2/7/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: Hmm, looks like a problem due to a recent refactoring. I suggest to start with a clean local repo: rm -rf ~/.m2/repository/org/apache/cayenne cd cayenne/ && mvn clean install Andrus On Feb 7,

Re: JIRA changelog & roadmap

2007-02-15 Thread Michael Gentry
I'm pretty lazy right now (as in other things occupying time), but it sounds like a good idea -- especially if it can help generate the release notes. So, I'd say +1 especially if the pulldown list doesn't get all cluttered with the "archived" versions. /dev/mrg On 2/14/07, Andrus Adamchik <[E

Re: [JIRA] Created: (CAY-752) Importing EOModel gives Cast Exception

2007-02-15 Thread Michael Gentry
Any chance we can get a copy of the model for debugging? Thanks, /dev/mrg On 2/13/07, Wonder World (JIRA) wrote: Importing EOModel gives Cast Exception -- Key: CAY-752 URL: https://issues.apache.org/cayenne/browse/CAY-752

Re: [JIRA] Created: (CAY-752) Importing EOModel gives Cast Exception

2007-02-15 Thread Michael Gentry
Oh, you attached the model to the ticket. Ooops! :-) Thanks! /dev/mrg On 2/15/07, Michael Gentry <[EMAIL PROTECTED]> wrote: Any chance we can get a copy of the model for debugging? Thanks, /dev/mrg On 2/13/07, Wonder World (JIRA) wrote: > Importing EOModel gives Cast

Re: [JIRA] Created: (CAY-752) Importing EOModel gives Cast Exception

2007-02-15 Thread Michael Gentry
sue. I haven't committed them yet, until there is a confirmation that it works on the EOModel in question. If you want to try them out and commit them yourself, be my guest. Andrus On Feb 15, 2007, at 9:22 AM, Michael Gentry wrote: > Oh, you attached the model to the ticket. Ooops! :-

Re: WOCompat

2007-02-15 Thread Michael Gentry
I could see having it as part of the modeler or even a separate module, if you think that flexibility would be worthwhile. /dev/mrg On 2/15/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: The discussion on CAY-752 made me thinking - do we need a wocompat package in runtime? Neither runtime nor

Re: podling BIS notifications (jars in svn & crypto)

2007-02-21 Thread Michael Gentry
Here are my thoughts ... Cayenne 3.0 Modeler doesn't support encryption out-of-the-box. It only provides hooks which an end-user can use (and I did this in my own test cases, which are NOT included in Subversion) in their own code to enable themselves to handle an encrypted database password (no

Re: podling BIS notifications (jars in svn & crypto)

2007-02-21 Thread Michael Gentry
faq [1]. In this case, the BIS notification is required for just the Apache product (don't have to also include OpenSSL in the notification). -jean [1] http://www.apache.org/dev/crypto.html#faq Michael Gentry wrote: > Here are my thoughts ... > > Cayenne 3.0 Modeler doesn't s

Re: podling BIS notifications (jars in svn & crypto)

2007-02-22 Thread Michael Gentry
I certainly don't mind having this cleared by legal and it is a good discussion. I've had a bit more sleep and caffeine now and went over to http://www.apache.org/dev/crypto.html and just read this bit: "The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has class

Re: podling BIS notifications (jars in svn & crypto)

2007-02-22 Thread Michael Gentry
#x27;s not the ROT-13 that would cause us to have to register. It's an api that allows for plugging in arbitrary encryption. However, my suspicion is that we're exempt because our "encryption" only deals with authentication. On 2/22/07, Michael Gentry <[EMAIL PROTECT

Re: Building 3.0 from trunk

2007-02-23 Thread Michael Gentry
Here is the link I have: https://issues.apache.org/cayenne/secure/Dashboard.jspa I thought all the Incubator ID's were copied over, though. /dev/mrg PS. I think I kind of miss Ant, too. On 2/23/07, Ahmed Mohombe <[EMAIL PROTECTED]> wrote: > I think this is a result of recent Maven upgrade f

Re: mvn build failure: missing com.atlassian.confluence:confluence-soap:jar:2.0

2007-02-27 Thread Michael Gentry
Doing "mvn -Dmaven.test.skip=true install" (after a previous "mvn clean"), I get: [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 3 minutes 1

Re: podling BIS notifications (jars in svn & crypto)

2007-02-27 Thread Michael Gentry
To re-hash -- but not ROT-13 :-) -- this subject again, did someone send anything to the legal mailing list? If not, I can subscribe, and send the question, along with a link to this thread. I did see that Jean said if we switch CM to use Derby instead of HSQL, we'll need the BIS, which is kind

Re: Build performance [Was: mvn build failure]

2007-02-27 Thread Michael Gentry
~/Projects/eclipse/workspace/Cayenne30> mvn -version Maven version: 2.0.5 I'm not certain it is 2.0.5, since that is what I upgraded to a week or so ago. /dev/mrg On 2/27/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote: I upgraded to Maven 2.0.5 recently on my laptop. I wonder if that's the

Re: podling BIS notifications (jars in svn & crypto)

2007-02-27 Thread Michael Gentry
Well, for Cayenne Modeler to run standalone using Derby (embedded, just like we use HSQL), we would need to include the Derby jar. Thanks, /dev/mrg On 2/27/07, Jean T. Anderson <[EMAIL PROTECTED]> wrote: Michael Gentry wrote: > To re-hash -- but not ROT-13 :-) -- this subject a

Re: Another bad Maven day

2007-03-13 Thread Michael Gentry
11. Hire contractors to ride the dead horse. That one hits way too close to home at the moment ... As for Maven ... I'm not an expert on it, but I never had trouble building in the pre-Maven days ... /dev/mrg On 3/13/07, Ahmed Mohombe <[EMAIL PROTECTED]> wrote: > Something changed in the Ma

Re: [OT] Parallels Desktop - multiple OS's on a Mac

2007-03-15 Thread Michael Gentry
Yeah, it is pretty slick, although I must admit I get bored pretty quickly playing with it (Win2K in my case -- the only version of Windows I have) and just go back to OS X. My biggest complaint is Parallels chews up memory, but I suppose that is to be expected virtualizing an OS under another OS

Re: Decreasing DataSourceInfo verbosity

2007-04-08 Thread Michael Gentry
ke if using a built-in encoder, don't log the salt (not used), etc, but that might just be more complicated than it is worth. Thoughts? Thanks, /dev/mrg On 4/8/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: A question for Michael Gentry ... I am nitpicking here, but with the new

Re: [JIRA] Created: (CAY-781) Bug in CayenneDataObject.readNestedProperty

2007-04-25 Thread Michael Gentry
25/07, Michael Gentry (JIRA) wrote: Bug in CayenneDataObject.readNestedProperty --- Key: CAY-781 URL: https://issues.apache.org/cayenne/browse/CAY-781 Project: Cayenne Issue Type: Bug Compo

Re: Discussing 1.2.3 and 2.0.3 release

2007-04-27 Thread Michael Gentry
Well, I've discovered another one (at least in 1.2, which implies 2.0, also), but haven't tracked it down enough yet. I don't think it has anything to do with our binary PKs, either. In a nutshell, I had optimistic locking turned on everything, including relationships and had: A ->> B (A to-man

Re: Discussing 1.2.3 and 2.0.3 release

2007-04-27 Thread Michael Gentry
was cleaned up when I reorganized the query translator classes. Might be worth a quick check if you don't mind applying the patch and giving it a whirl. On 4/27/07, Michael Gentry <[EMAIL PROTECTED]> wrote: > Well, I've discovered another one (at least in 1.2, which implies 2.0, >

Re: Discussing 1.2.3 and 2.0.3 release

2007-05-02 Thread Michael Gentry
I haven't had time to explore that potential bug yet and wouldn't want to hold up a bug-fix release on that account. Thanks, /dev/mrg On 5/2/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: So, we had a report from Michael about a potential bug, an issue Tore is working on that goes on trunk,

Re: Discussing 1.2.3 and 2.0.3 release

2007-05-04 Thread Michael Gentry
I have a tennis match scheduled at 1pm and another at 5pm (EDT) on Sunday and have to refuel in-between, so I doubt I could join for long (and probably not at 3pm). I'd like to be able to help out, but it feels like we are herding cats here. :-) Thanks, /dev/mrg On 5/4/07, Kevin Menard <[EMA

Re: Binding votes (WAS: [VOTE] Release Cayenne 1.2.3 and 2.0.3)

2007-05-10 Thread Michael Gentry
I've been too busy (work and personal) to check out the release artifacts, which is why I haven't chimed in. I *could* just add an obligatory +1, but that doesn't feel right and I was hoping others had more time to do abetter checkout. The only thing I noticed when I took a very quick cursory lo

Re: unsubscribe

2007-05-25 Thread Michael Gentry
When you subscribe, it also tells you in the first e-mail you receive, the unsubscribe instructions. Oh well. On a similar topic, though, I've tried to subscribe to Apache Legal twice now and it still hasn't happened. Any idea how to do that? Thanks, /dev/mrg On 5/25/07, Andrus Adamchik <[E

Re: Paging and SQL queries

2007-05-25 Thread Michael Gentry
I had never used the paginated queries, but I would've bet money that it fetched only the PKs initially and then fully resolved objects on a per-page basis as needed. On large datasets, it is a big win (in time and memory) to do it that way. On smaller datasets, it would be about a wash either w

Re: June board report

2007-06-05 Thread Michael Gentry
I just skimmed over my e-mails and that appears to be the highlights. /dev/mrg On 6/3/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: Just posted the first draft of the board report: http://cwiki.apache.org/confluence/display/CAY/Board+Report+June+2007 Admittedly it's been a slow quarter for

Re: performing count

2007-06-06 Thread Michael Gentry
long gone (don't even remember which version dumped it). So now we can reuse the name for the user-friendly utility class (if we decide to go this way). Andrus On Jun 5, 2007, at 4:54 PM, Michael Gentry wrote: > Hasn't QueryUtils gone poof in 3.0? > > /dev/mrg > > >

Re: Bamboo

2007-06-08 Thread Michael Gentry
cidentally I also recently evaluated Bamboo for my client's development team in the last few weeks and found it quite usable. I expect it to be even more valuable on an open source project like Cayenne (if only cause Cayenne has real test coverage). Michael Gentry had a server machine that

Re: [JIRA] Created: (CAY-807) Website error: Guide to 3.0 features page

2007-06-19 Thread Michael Gentry
That's a bit strange. The page is here, Craig: http://cwiki.apache.org/CAY/objectcontext-memory-management.html For some reason it doesn't seem to have been produced on the static content site. For performance reasons (the Apache Confluence wiki is shared by a lot of projects, not just Cayenne

Re: What a query result can be [Was: performing count]

2007-06-22 Thread Michael Gentry
What if we put that bit of code in CayenneDataObject as a static method? Then you could say something like: Number count = Artist.numberOfRecordsInDatabase(); I suppose it could return an int, too. I always get confused about inheritance rules with static methods, though (would it know it was a

Re: What a query result can be [Was: performing count]

2007-06-22 Thread Michael Gentry
I was thinking that, too ... seemed to stick in the back of my brain from when I added the enumeration stuff. Made things harder. Static methods are really functions, but are being marketed as methods. :-) /dev/mrg On 6/22/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: Unfortunately there'

Re: How about 3.0 M1?

2007-06-22 Thread Michael Gentry
I'm not really opposed, but I haven't looked much at the JPA stuff. However, do we still have an unresolved issue with the password encoding? I tried to subscribe to the Apache Legal mailing list several times and never got added, so I could never take the question over there. Thanks, /dev/mrg

writeNestedProperty?

2007-06-28 Thread Michael Gentry
For some reason, I thought CayenneDataObject had a writeNestedProperty() method, but it doesn't seem to. It looks like PropertyUtils has the ability to do this, though (although I might need to patch it). Would it make since to make writing nested paths available in CayenneDataObject, too? Also

Re: writeNestedProperty?

2007-06-28 Thread Michael Gentry
Hey, look at that! I was rambling about the same things a year ago, too. I'll open up two JIRA issues and assign them to me. Thanks! /dev/mrg On 6/28/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: On Jun 28, 2007, at 6:18 PM, Michael Gentry wrote: > For some rea

Re: [VOTE] Cayenne Release 3.0M1

2007-07-19 Thread Michael Gentry
I've been busy trying to get some stuff done before a trip out of town. I'll try to take a look at it today. I'm in favor of a release, but would like to try it out just a bit first. Thanks, /dev/mrg On 7/18/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: It's been quiet on the list for the

Re: [VOTE] Cayenne Release 3.0M1

2007-07-19 Thread Michael Gentry
Sorry, I didn't get to it today. It'll be next week before I can look. If you decide before then, I guess I'm a +0. I'm in favor of a release, but just haven't tried it. :-) Thanks! /dev/mrg On 7/19/07, Michael Gentry <[EMAIL PROTECTED]> wrote: I'v

Re: [VOTE] Cayenne Release 3.0M1

2007-07-26 Thread Michael Gentry
e is how you would register callbacks (once per app) LifecycleCallbackRegistry registry = domain.getEntityResolver ().getCallbackRegistry(); registry.addListener(LifecycleListener.POST_LOAD, MyDataObject.class, "fetchFinished"); Andrus On Jul 26, 2007, at 9:30 PM, Michael Gentry wr

Re: [VOTE] Cayenne Release 3.0M1

2007-07-26 Thread Michael Gentry
OK, I finally was able to try to migrate my old 1.2.x project to 3.0. After some missing jar (log4j, common collections, etc) issues and renaming all of my packages from objectstyle to apache, I was able to launch the application but it doesn't work. A good portion of my application depends on fe

Re: [VOTE] Cayenne Release 3.0M1

2007-07-26 Thread Michael Gentry
Oh yeah, in 1.2.x, ObjectResolver.objectFromDataRow(DataRow) is what called fetchFinished(). /dev/mrg On 7/26/07, Michael Gentry <[EMAIL PROTECTED]> wrote: OK, I finally was able to try to migrate my old 1.2.x project to 3.0. After some missing jar (log4j, common collections, etc) issu

Re: [VOTE] Cayenne Release 3.0M1

2007-07-27 Thread Michael Gentry
I was reading on http://cayenne.apache.org/doc/lifecycle-callbacks.html that the setPersistenceState is going away, too (which I use). I set breakpoints in my code and it appears to still be called -- at least for this release. I have a feeling this is something I'll have to be on the lookout for

Re: [VOTE] Cayenne Release 3.0M1

2007-07-27 Thread Michael Gentry
original thread of releasing now. :-) Thanks, /dev/mrg On 7/27/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: > > On Jul 27, 2007, at 2:25 AM, Michael Gentry wrote: > > > Option 2 would be to remove it from the actual > > code and documentation since it looks like it is still supported. > > That would be my preference too - let's remove it M2. > > Andrus > >

Re: PostgreSQL sequences revisited

2007-08-02 Thread Michael Gentry
he serial type. I could then do inserts like: insert into mytable (name) values ('michael') and it would increment the values. /dev/mrg On 8/2/07, Michael Gentry <[EMAIL PROTECTED]> wrote: > This doesn't really cover the JDBC driver, but tells a little more > a

Re: PostgreSQL sequences revisited

2007-08-02 Thread Michael Gentry
This doesn't really cover the JDBC driver, but tells a little more about the serial type: http://www.postgresql.org/docs/8.1/static/datatype.html#DATATYPE-SERIAL It looks like declaring something to be serial sets up a sequence, too? I'm always wary of the word "equivalent" in tech docs, though.

Re: Java 5

2007-08-05 Thread Michael Gentry
I'm still using Java 1.4 with a customized Cayenne 1.2 (had added the password encoding to it). At the time I did that, the vast majority of our WebLogic servers were locked into Java 1.4, but that is slowly changing. I guess for my personal take, I'd be OK with 3.0 moving to Java 1.5 since we st

Name change?

2007-08-05 Thread Michael Gentry
I was playing with NetBeans 6.0 -- wanted to try out the changes in the GUI builder -- and made a simple little GUI application that used Cayenne 3.0 to hit the database. It seemed strange to me that I had to include cayenne-server-3.0M1.jar into a client. Seems like it would be good to change th

Re: Confluence Site Generation

2007-08-07 Thread Michael Gentry
Atlassian claims Hibernate is "the best open source persistence framework" (http://opensource.atlassian.com/), so talking about Cayenne at their offices could be interesting. :-) /dev/mrg On 8/7/07, Aristedes Maniatis <[EMAIL PROTECTED]> wrote: > Looks like the next two meetings are at Atlassian

Re: Confluence Site Generation

2007-08-08 Thread Michael Gentry
ut that is a different thing. > > regards Malcolm Edgar > > On 8/7/07, Michael Gentry <[EMAIL PROTECTED]> wrote: > > > > Atlassian claims Hibernate is "the best open source persistence > > framework" (http://opensource.atlassian.com/), so talking about >

Re: Java 5

2007-08-09 Thread Michael Gentry
Another advantage of deciding on 1.5 is we can have native enumeration support. I would definitely like to see this in the modeler and could try to add it (my Swing skills aren't so hot, but I can be stubborn). I'd like to be able to define the enumerated values in the modeler and be able to choos

Re: Enums

2007-08-09 Thread Michael Gentry
w are you planning to add enums to dropdowns? > They are user defined classes after all. > > Andrus > > > On Aug 9, 2007, at 3:25 PM, Michael Gentry wrote: > > > Another advantage of deciding on 1.5 is we can have native enumeration > > support. I would definitely li

Re: Enums

2007-08-09 Thread Michael Gentry
Java 1.4 at the moment). If this is the case, then it wouldn't make a lot of sense to add it to the modeler. Thanks, /dev/mrg On 8/9/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: > > On Aug 9, 2007, at 4:12 PM, Michael Gentry wrote: > > > Yes, that is currently how I

Re: Enums

2007-08-09 Thread Michael Gentry
return newName; } } Notice for the gender column it didn't use "F" or "M" as the value. It used [EMAIL PROTECTED] and [EMAIL PROTECTED] Thanks, /dev/mrg PS. I also tried it without the toString() method in the enum. On 8/9/07, Andrus Adamchik <[EMAIL PROTECTED]>

Re: Enums

2007-08-09 Thread Michael Gentry
Well, when mapping to legacy DBs, we can't always control the mapping. I'd much rather have usable/readable names in the Java code even if the backend is more obscure. Using the enumerated name or index isn't always desirable or even possible, either. To use a real-world example from my code:

Re: Enums

2007-08-09 Thread Michael Gentry
Uhm ... that's why I wanted it in the modeler and supported by Cayenne natively. (Or easier to support, even if not in the modeler.) :-) I'm positive this feature would be useful to others. My current approach is complicated to set up and easy to miss registering one of your types (although you

Re: Enums

2007-08-10 Thread Michael Gentry
Another thing I was just thinking about. The current implementation is somewhat fragile. When persisting the enumerated value, for an int column it calls value.ordinal(), which returns the zero-based index of the value of the enum, as it is declared in the class. Given: public enum Color { Red,

Re: VOTE: Move to Java 5 for Cayenne 3.0

2007-08-14 Thread Michael Gentry
"Will moving to JDK 5 be a change in label only, or will we actually go in and implement generics throughout all the classes, possibly requiring some API changes along the way to do it right?" I'm thinking it'll be a label-change only (well, except the JPA stuff does indeed require Java 5), but wo

Re: [JIRA] Created: (CAY-848) Support for mapping to-many as Maps and Sets and Collections

2007-08-17 Thread Michael Gentry
OK, since I'm guilty of not having read the JPA specs (What can I say? I like Classic Cayenne.), how would something like a Set or Map work? I'm not talking about the underlying implementation details, but from a user-perspective. Would a Map interface allow you to do something like get("firstNa

Re: September ASF board report

2007-09-06 Thread Michael Gentry
I think that sums it up unless we want to add the vote about moving to Java 5 ... which they probably wouldn't care about. Thanks, /dev/mrg On 9/6/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: > It's that time of the year again. We need to submit the report until > the September 19th Board mee

Bug in nested DataContext?

2007-10-04 Thread Michael Gentry
I have a nested DataContext: DataContext childContext = parentContext.createChildDataContext(); I have a Master and 3 Details (1-to-many) in the parent DC (in a committed state), and pull the Master into the nested DC using localObject(). If I then do the following: Master childMaster = (Master

Re: Bug in nested DataContext?

2007-10-04 Thread Michael Gentry
ng. > > Andrus > > > On Oct 4, 2007, at 7:06 PM, Michael Gentry wrote: > > > I have a nested DataContext: > > > > DataContext childContext = parentContext.createChildDataContext(); > > > > I have a Master and 3 Details (1-to-many) in the parent DC (in

Re: Bug in nested DataContext?

2007-10-04 Thread Michael Gentry
I'm not sure if it matters, but in the test program I only pulled the Master object into the child DC. Is it important to pull the Detail objects into the child DC as well? For some reason, I was under the impression they would get pulled into the child DC automatically, but perhaps I am mistaken

Re: Bug in nested DataContext?

2007-10-05 Thread Michael Gentry
wrote: > I committed a fix. Per my Jira comment there is a "correct" way to go > about it that requires a bit of object lifecycle redesign, but my > fairly straightforward workaround should work for this particular case. > > Andrus > > > On Oct 4, 2007, at 9:57 PM, M

Re: Preparing 1.2.4/2.0.4

2007-10-08 Thread Michael Gentry
I just spent several days setting up a new computer and transferring applications/files, so I was kind of busy ... a chore I never like. I'll try to look at the artifacts. Thanks, /dev/mrg On 10/8/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: > Ok, I'll go ahead and prepare the artifacts. > >

Re: Reconciling DataContexts

2007-10-16 Thread Michael Gentry
Kevin, Could a nested context help with your situation? /dev/mrg On 10/16/07, Kevin Menard <[EMAIL PROTECTED]> wrote: > The problem with localObject is that it does not traverse the whole graph, > making it practically useless in all but the most trivial situations. > Manually copying over the

Re: AppFramework licensing discussion

2007-10-30 Thread Michael Gentry
OK, I'm not a lawyer, but ... :-) LGPL (but not GPL) code can be included (or linked at compile time) in commercial code and it doesn't open-source the commercial code. To quote from the GNU itself: http://www.gnu.org/licenses/why-not-lgpl.html "The GNU Project has two principal licenses to use

Re: AppFramework licensing discussion

2007-10-30 Thread Michael Gentry
; http://apache.org/legal/3party.html > > We can't distribute LGPL'd dependencies with Apache Cayenne. > > Andrus > > > On Oct 30, 2007, at 7:37 PM, Michael Gentry wrote: > > > OK, I'm not a lawyer, but ... :-) > > > > LGPL (but not GPL) c

Re: AppFramework licensing discussion

2007-10-31 Thread Michael Gentry
, but the license would be bad for ASF: https://swing-layout.dev.java.net/ It uses LGPL. /dev/mrg On 10/30/07, Michael Gentry <[EMAIL PROTECTED]> wrote: > "The LGPL v2.1 is ineligible from being a Category B license (a > category that includes the MPL, CPL, EPL, and CDDL)

Re: AppFramework licensing discussion

2007-10-31 Thread Michael Gentry
ion would be to pull > CM out altogether and host it as a non-ASF project. I'm personally not > a fan of it, but if doing so would significantly improve the quality of > the modeler, I'd warm up to it. I've just not been adequately convinced > that that'll be th

Re: [VOTE] Re: 3.0 M2 Release Vote

2007-11-02 Thread Michael Gentry
;s easier for me to take the necessary time to build the assemblies over > the weekends. > > If weekends do work better in general though, we can make it a rule of thumb > to raise votes on Thurs. or Fri. > > -- > Kevin > > > On 11/2/07 9:57 AM, "Michael Gentr

Re: [VOTE] Re: 3.0 M2 Release Vote

2007-11-02 Thread Michael Gentry
You should start these vote things on Thursdays or Fridays so some of us have a chance over a weekend to do testing. :-) /dev/mrg On 11/2/07, Kevin Menard <[EMAIL PROTECTED]> wrote: > The vote has been open for over 72 hours and we have the following results: > > -1: 0 > 0: 0 > +1: 4 (all bind

Re: [VOTE] Re: 3.0 M2 Release Vote

2007-11-05 Thread Michael Gentry
My test cases, which admittedly are oriented towards Classic Cayenne (no JPA) worked fine. +1 to M2. Let me know if I can help with anything. Thanks, /dev/mrg On Nov 2, 2007 10:26 AM, Kevin Menard <[EMAIL PROTECTED]> wrote: > Fair enough. Michael et al., if you'd like to test it and be able

Re: [VOTE] Re: 3.0 M2 Release Vote

2007-11-05 Thread Michael Gentry
hanks, /dev/mrg On Nov 5, 2007 8:59 AM, Michael Gentry <[EMAIL PROTECTED]> wrote: > My test cases, which admittedly are oriented towards Classic Cayenne > (no JPA) worked fine. > > +1 to M2. Let me know if I can help with anything. > > Thanks, > > /dev/mrg > >

Re: [OT] Java & Leopard

2007-11-07 Thread Michael Gentry
I just recently got a replacement system, but it came with Tiger. I've gotten the upgrade DVD now, but was going to wait until 10.5.1 was out. What kind or problems are you running into? Is it with Java 1.4 or 1.5? Thanks, /dev/mrg On Nov 7, 2007 1:36 PM, Kevin Menard <[EMAIL PROTECTED]> wrot

Re: [VOTE] Re: 3.0 M2 Release Vote

2007-11-08 Thread Michael Gentry
I am free (relatively) the next few evenings if I can be of help. /dev/mrg On Nov 8, 2007 11:16 AM, Andrus Adamchik <[EMAIL PROTECTED]> wrote: > BTW, if you are to busy with other things, I can help publishing the > release. I am traveling on business between tonight and Saturday, but > I hope t

Re: [VOTE] Re: 3.0 M2 Release Vote

2007-11-08 Thread Michael Gentry
o divy up tasks tomorrow evening (I'm EDT by the way). > > -- > Kevin > > > On 11/8/07 1:59 PM, "Michael Gentry" <[EMAIL PROTECTED]> wrote: > > > I am free (relatively) the next few evenings if I can be of help. > > > > /dev/mrg > > &

Re: deadlock in CayenneContext.commitChanges

2007-11-09 Thread Michael Gentry
I don't know this for a fact, and I'm sure Andrus will correct me, but I would never have expected the DataContext to be thread-safe. Perhaps that is my EOF background. I believe that doing commits (or queries) from two different DataContexts is thread-safe, though. /dev/mrg On Nov 9, 2007 5:00

Re: deadlock in CayenneContext.commitChanges

2007-11-09 Thread Michael Gentry
le threads belonging to the same user to access the context (and its DataObjects) simultaneously, you'll have to synchronize manually. Andrus" On Nov 9, 2007 9:50 AM, Michael Gentry <[EMAIL PROTECTED]> wrote: > I don't know this for a fact, and I'm sure Andrus wi

Re: deadlock in CayenneContext.commitChanges

2007-11-09 Thread Michael Gentry
sped things up for everyone as there was a shared database view and DB access was pretty expensive. On 11/9/07, Aristedes Maniatis <[EMAIL PROTECTED]> wrote: > > On 10/11/2007, at 2:14 AM, Michael Gentry wrote: > > > "DataContext is not thread-safe, as it is intended for a

Re: [ANN] Restored commit rights for Andriy Shapochka

2007-11-12 Thread Michael Gentry
Welcome back Andriy! On 11/12/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: > I am glad to announce that Cayenne PMC voted to give Apache commit > rights to Andriy Shapochka - one of the initial Cayenne founders and > emeritus contributors. Looking forward to working with Andriy again. > > I will

Re: [JIRA] Created: (CAY-890) CM Cosmetics: Use the Cayenne Icon.

2007-11-12 Thread Michael Gentry
At one point, Andrus had e-mailed it to me and I used it to make the OS X application icon (I had to rotate it a bit from the original). I'll try to look for it later, but Andrus may have it handier. Thanks, /dev/mrg On 11/12/07, Thomas Bernhard <[EMAIL PROTECTED]> wrote: > > > All Frames and D

Re: [JIRA] Created: (CAY-890) CM Cosmetics: Use the Cayenne Icon.

2007-11-12 Thread Michael Gentry
). Let me know if you would like the PSD. The ICNS file is in Subversion at: modeler/cayenne-modeler-mac/src/japplication/resources/CayenneModeler.icns /dev/mrg On 11/12/07, Aristedes Maniatis <[EMAIL PROTECTED]> wrote: > > On 13/11/2007, at 10:01 AM, Michael Gentry wrote: > &

Re: [JIRA] Created: (CAY-890) CM Cosmetics: Use the Cayenne Icon.

2007-11-12 Thread Michael Gentry
11/2007, at 10:01 AM, Michael Gentry wrote: > > > At one point, Andrus had e-mailed it to me and I used it to make the > > OS X application icon (I had to rotate it a bit from the original). > > I'll try to look for it later, but Andrus may have it handier. > > caye

Re: H2 file locking

2007-11-13 Thread Michael Gentry
I was actually looking at H2 a little bit earlier and was wondering if it would help the modeler issues. I'm certainly not opposed to changing out the backend and that would also add H2 support, as you mentioned. What do others think? On 10/19/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: > H2

Re: [JIRA] Closed: (CAY-904) Switch cayenne to Java 5: merge cayenne-jdk1.4-unpublished to cayenne-jdk1.5-unpublished

2007-11-19 Thread Michael Gentry
I apologize if this has been talked about before (I don't recall seeing it), but are we going to worry about Java 5/Eclipse warnings such as "ArrayList is a raw type. References to generic type ArrayList should be parameterized" initially? I just did a fresh update (yes, I need to do it at home, t

Re: [JIRA] Updated: (CAY-924) Update CayenneModeler for OS X Leopard

2007-11-26 Thread Michael Gentry
Do you think this might be a JGoodies issue? /dev/mrg On Nov 26, 2007 7:27 AM, Andrus Adamchik (JIRA) wrote: > > [ > https://issues.apache.org/cayenne/browse/CAY-924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Andrus Adamchik updated CAY-924: > -

CM Search Field

2007-11-27 Thread Michael Gentry
To whomever (I suspect Andrus) added the search field to Cayenne Modeler -- SWEETNESS. /dev/mrg

Re: CM Search Field

2007-11-27 Thread Michael Gentry
s Adamchik <[EMAIL PROTECTED]> wrote: > Cool :-) > > (btw it was developed on my request as a trial project by one of the > ObjectStyle prospective employees). > > Andrus > > > > On Nov 27, 2007, at 4:21 PM, Michael Gentry wrote: > > > To whomever (I suspec

  1   2   3   4   5   6   7   8   9   10   >