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

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: Michael, BTW, you can

Re: Re-engineering DB Schema + DataNode

2007-02-06 Thread Michael Gentry
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: I just used Cayenne

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
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 support encryption out-of-the-box. It only provides hooks which an end

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 12

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 again, did someone

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

Re: Decreasing DataSourceInfo verbosity

2007-04-08 Thread Michael Gentry
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 password encoder feature

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: 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
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 On 6/5/07, Andrus Adamchik [EMAIL PROTECTED] wrote: So

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's

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?

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 reason, I thought

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've been busy trying to get some stuff done

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

Re: [VOTE] Cayenne Release 3.0M1

2007-07-27 Thread Michael Gentry
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
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

Re: Confluence Site Generation

2007-08-08 Thread Michael Gentry
. 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 Cayenne at their offices could be interesting. :-) /dev/mrg On 8/7/07, Aristedes

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

Re: Enums

2007-08-09 Thread Michael Gentry
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've done it -- although with Java 1.4 and my own

Re: Enums

2007-08-09 Thread Michael Gentry
] 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] wrote: On Aug 9, 2007, at 4:33 PM, Michael Gentry wrote: Cayenne handles Java 5 enums automatically? You don't have to have, in your custom type

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

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 {

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

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

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

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 =

Re: Bug in nested DataContext?

2007-10-04 Thread Michael Gentry
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 a committed state), and pull the Master into the nested DC using localObject

Re: Bug in nested DataContext?

2007-10-05 Thread Michael Gentry
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, Michael Gentry wrote: I'm not sure if it matters

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: 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
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) 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

Re: AppFramework licensing discussion

2007-10-31 Thread Michael Gentry
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 the case. -- Kevin -Original Message- From: Michael Gentry [mailto:[EMAIL

Re: [VOTE] Re: 3.0 M2 Release Vote

2007-11-02 Thread Michael Gentry
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 Gentry [EMAIL PROTECTED] wrote: You should start these vote things on Thursdays or Fridays so some

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 binding)

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 to

Re: [VOTE] Re: 3.0 M2 Release Vote

2007-11-05 Thread Michael Gentry
, /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 On Nov 2, 2007 10:26 AM, Kevin Menard [EMAIL

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]

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 to

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

Re: deadlock in CayenneContext.commitChanges

2007-11-09 Thread Michael Gentry
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 will correct me, but I would never have expected

Re: deadlock in CayenneContext.commitChanges

2007-11-09 Thread Michael Gentry
, it 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 access by a single user. Ah

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

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: At one point, Andrus had

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
[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 suspect Andrus) added the search field to Cayenne Modeler -- SWEETNESS

Logging changes?

2007-11-29 Thread Michael Gentry
I was working on one thing and got distracted and changed the query logging code a little bit. I wanted to get thoughts before checking it in, especially since I had to change QueryLogger.logQuery() -- I added an extra parameter for the database column attributes. The log now includes the

Re: Logging changes?

2007-11-29 Thread Michael Gentry
I played with the formatting, too. It is pretty easy to adjust and I'm not very religious about it. In my little example, it isn't a big deal, but if you have 50 binds or so (like in a real database table), it could be useful information. That's kind of where I was heading (even though it is

Re: Logging changes?

2007-11-29 Thread Michael Gentry
Changes are checked in. Please let me know if you have problems, etc. Thanks, /dev/mrg

Re: [JIRA] Created: (CAY-932) Cancel doesn't cancel when quitting CM with a modified model

2007-12-06 Thread Michael Gentry
for me. Andrus On Dec 5, 2007, at 10:13 PM, Michael Gentry (JIRA) wrote: Cancel doesn't cancel when quitting CM with a modified model Key: CAY-932 URL: https://issues.apache.org/cayenne

Re: Board report

2007-12-12 Thread Michael Gentry
Looks good to me, but how about changing: Switched Cayenne development to Java 1.5 from a mixed Java 1.4/1.5 setup. to: Switched Cayenne 3.0 development to Java 1.5 from a mixed Java 1.4/1.5 setup after a poll on the user list revealed overwhelming community acceptance of requiring Java 1.5 for

Re: Cayenne XML Names

2007-12-19 Thread Michael Gentry
with the JAR. How would your proposal work for that sort of situation? -- Kevin On 12/19/07 9:31 AM, Michael Gentry [EMAIL PROTECTED] wrote: I know I've brought this up before, but I don't believe we really decided on anything (or did anything), so here goes again ... What do you think about

Re: Cayenne XML Names

2007-12-27 Thread Michael Gentry
my disagreement is that we should make folder-based setup a default (even if an optional default). Thanks, Andrus On Dec 26, 2007, at 5:15 PM, Michael Gentry wrote: I don't mind having the mapping (DataMap) in a single file, although perhaps it might make merging harder if two people

Re: Logging changes?

2007-12-28 Thread Michael Gentry
, Michael Gentry wrote: Changes are checked in. Please let me know if you have problems, etc. Thanks, /dev/mrg

Re: Building Cayenne on Java 6

2007-12-28 Thread Michael Gentry
Fortunately (?), Apple hasn't put Java 6 on my computer yet. :-) On Dec 28, 2007 1:59 PM, Kevin Menard [EMAIL PROTECTED] wrote: .. . . is likely going to be a pipedream. It appears Sun went out of their way to make the interface changes incompatible between Java 5 Java 6. Not only do the

Re: [JIRA] Assigned: (CAY-884) Add support for H2 Database

2007-12-28 Thread Michael Gentry
the list... so doing that by sending this message. Andrus On Dec 28, 2007, at 9:36 PM, Michael Gentry (JIRA) wrote: [ https://issues.apache.org/cayenne/browse/CAY-884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Gentry reassigned CAY-884

Re: Multiple CM Windows?

2007-12-28 Thread Michael Gentry
processes on Windows, considering this change... Or just let users do it if they want to? Andrus On Dec 28, 2007, at 9:12 PM, Michael Gentry wrote: It appears that Cayenne Modeler doesn't allow you to have two models open at the same time? Anyone have thoughts on the difficulty

Re: svn commit: r605850 - in /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne: ./ access/ access/jdbc/ access/types/ dba/ dba/openbase/ dba/oracle/ dba/sqlite/

2007-12-30 Thread Michael Gentry
If you use the FindBugs plugin (Eclipse -- can run manually, too), it'll flag all of those new Integer() calls, too. It is a worthwhile plugin/tool. /dev/mrg On Dec 29, 2007 5:30 PM, Craig L Russell [EMAIL PROTECTED] wrote: I didn't see a reply to this one. On Dec 20, 2007, at 1:47 AM,

Re: Logging changes?

2008-01-02 Thread Michael Gentry
are off by one position. Andrus On Dec 28, 2007, at 5:07 PM, Michael Gentry wrote: That's what I was hoping. Thanks for the update! /dev/mrg On Dec 28, 2007 9:53 AM, Andrus Adamchik [EMAIL PROTECTED] wrote: I deployed this in production some time back. I am really happy

Re: 3.0M3 Release Plan

2008-01-11 Thread Michael Gentry
I was going to try to get the logging glitch with auto-incrementing PKs fixed this weekend. Not a show-stopper, though. /dev/mrg On Jan 11, 2008 1:29 PM, Kevin Menard [EMAIL PROTECTED] wrote: Looking at the changelog, we've done a lot since M2, including the Java 5 transition. What is the

Re: Logging changes?

2008-01-13 Thread Michael Gentry
column name is C2: INSERT INTO mytable (C1, C3, C4) VALUES (?, ?, ?) [bind: 1-C1:V1, 2-C2:V3, 3-C3:V4] At position #2, the PK label that is not used in the statement SQL is shown, and from there, all the values are off by one position. Andrus On Dec 28, 2007, at 5:07 PM, Michael Gentry

Re: Logging changes?

2008-01-13 Thread Michael Gentry
not). Andrus On Jan 13, 2008, at 5:13 PM, Michael Gentry wrote: What database are you using? I'm guessing MySQL? I was trying to set up HSQLDB, but the modeler doesn't generate the SQL to use identity columns so I'm not certain if Cayenne supports identity columns with it? I suppose I can

Re: Logging changes?

2008-01-13 Thread Michael Gentry
, the generated values were not passed back via the java.sql.Statement.getGeneratedKeys() - the method we rely upon to init ObjectId's on commit. Maybe worth checkin again... Andrus On Jan 13, 2008, at 5:30 PM, Michael Gentry wrote: HSQLDB 1.8 has an identity column. To quote the documentation

Re: New volunteer introduction

2008-01-15 Thread Michael Gentry
Just curious if Siarhei is the one who added the search feature to CM? On Jan 15, 2008 7:47 AM, Andrus Adamchik [EMAIL PROTECTED] wrote: Folks, I wanted to introduce a new Cayenne volunteer - Siarhei Kaneuski. He got his first taste of Cayenne development when working on the H2 adapter. Now

Re: Logging changes?

2008-01-15 Thread Michael Gentry
Andrus, I had to modify the QueryLogger API just a tad to pass down if the query was an INSERT query (which are the ones you want to skip showing the PK value). My test cases worked. Please let me know if you encounter other issues. Thanks, /dev/mrg On Jan 13, 2008 10:47 AM, Michael Gentry

Re: [JIRA] Created: (CAY-964) Enum logging in SQL logs

2008-01-16 Thread Michael Gentry
We can change this, but see my previous message to Kevin. Perhaps I should work on more advances enumeration support? /dev/mrg On Jan 16, 2008 11:04 AM, Andrus Adamchik (JIRA) dev@cayenne.apache.org wrote: Enum logging in SQL logs Key: CAY-964

Re: [JIRA] Created: (CAY-964) Enum logging in SQL logs

2008-01-16 Thread Michael Gentry
to discuss any ideas that do not require replacing a core java enum concept with a custom enum implementation. Andrus On Jan 16, 2008, at 6:38 PM, Michael Gentry wrote: We can change this, but see my previous message to Kevin. Perhaps I should work on more advances enumeration support

Re: CI

2008-01-25 Thread Michael Gentry
I like how the documentation took the longest amount of time ... On Jan 25, 2008 1:02 AM, Aristedes Maniatis [EMAIL PROTECTED] wrote: The path to continuous integration testing has been a rocky one, but we have some progress. 1. Over the last weeks I've had Bamboo perform four hourly testing

Re: [JIRA] Created: (CAY-987) Specifying PK when creating a new object in DB generated PK mode

2008-02-19 Thread Michael Gentry
Are you asking if you can specify/assign your own PKs? If so, the answer is yes. You should expose the PK attribute in the ObjEntity in CayenneModeler (this isn't done by default). Then when you generate the code, it'll include a getter/setter for the PK. If you assign the PK manually for a

Extended Enumerations

2008-02-25 Thread Michael Gentry
I did some work on extended enumerations (where the DB value can be defined) this weekend, but wanted to do more testing and get a little feedback before checking it in. I apologize in advance for the length of the e-mail, but hopefully it won't be too bad. First off, there is a new interface to

Re: Extended Enumerations

2008-02-25 Thread Michael Gentry
I can play around with the first suggestion later this week. I'm not adamant either way. I just want what is best for the end-user, even if the underlying Cayenne code is a bit more complex. Changing the method name to getDatabaseValue() is fine. Thanks, /dev/mrg On Mon, Feb 25, 2008 at

Re: Extended Enumerations

2008-02-28 Thread Michael Gentry
. Ari On 28/02/2008, at 3:01 AM, Michael Gentry wrote: Ari, I took a glance at the code you sent me and on first look, it appears to be similar to what I did for my Cayenne 1.2/2.0 enum support (using Java 1.4 only, though) and the current stuff I'm adding. I'll get to work

Re: ExtendedEnumeration comments

2008-03-02 Thread Michael Gentry
Comments inline. Thanks, /dev/mrg On Sun, Mar 2, 2008 at 12:18 PM, Andrus Adamchik [EMAIL PROTECTED] wrote: Hi Michael, I have a few suggestions/comments/nitpicks. * Placing ExtendedEnumeration class in org.apache.cayenne.access.types will make it inaccessible on the ROP client

Board Report?

2008-03-04 Thread Michael Gentry
Is there a board report for March 2008 we need to put together? Thanks, /dev/mrg

Re: Summer of Code

2008-03-10 Thread Michael Gentry
I think adding support for JavaDoc comments in Cayenne Modeler would be a perfect-sized task for SoC. On Mon, Mar 10, 2008 at 6:28 AM, Ahmed Mohombe [EMAIL PROTECTED] wrote: If somebody has a project idea IMHO the JIRA is full with requests (project ideas): - support for CM plug-ins -

Re: ExtendedEnumeration comments

2008-03-14 Thread Michael Gentry
, at 4:32 PM, Michael Gentry wrote: I moved the enumeration documentation to here: http://cwiki.apache.org/confluence/display/CAYDOC/Modeling+Object +Layer And deleted it off the Extended Types page. Let me know if that's what you were thinking. I also checked in the other

Re: ExtendedEnumeration comments

2008-03-14 Thread Michael Gentry
I moved the enumeration documentation to here: http://cwiki.apache.org/confluence/display/CAYDOC/Modeling+Object+Layer And deleted it off the Extended Types page. Let me know if that's what you were thinking. I also checked in the other changes to the code, so I think this can close out

Re: ExtendedEnumeration comments

2008-03-14 Thread Michael Gentry
14, 2008, at 4:44 PM, Michael Gentry wrote: That just tells me you live in a more orderly world than I do. :-) On Fri, Mar 14, 2008 at 10:40 AM, Andrus Adamchik [EMAIL PROTECTED] wrote: I still think it is logical to start with Standard and then move to Extended, but otherwise

Re: Summer of Code

2008-03-16 Thread Michael Gentry
How about being able to drill through relationships in the view on the left, just like EOModeler? On Sun, Mar 16, 2008 at 5:53 AM, Andrus Adamchik [EMAIL PROTECTED] wrote: I created a page with the list of tasks for the SoC project called cayenne-modeler-improvements:

Re: Summer of Code

2008-03-16 Thread Michael Gentry
clickable elements on the right-hand side editor forms. Andrus On Mar 16, 2008, at 3:11 PM, Michael Gentry wrote: How about being able to drill through relationships in the view on the left, just like EOModeler? On Sun, Mar 16, 2008 at 5:53 AM, Andrus Adamchik [EMAIL PROTECTED

Re: [jira] Created: (CAY-1014) Enums as meaningful PK

2008-03-20 Thread Michael Gentry
I'm not convinced this is a bug, but I suppose I can see an argument being made where the table PKs are States, Countries, etc that you want to map to an enum. I'm just not a fan of meaningful PKs, I suppose, but that doesn't mean my opinion is necessarily the correct one for everyone. Would you

CM Class Loading

2008-04-22 Thread Michael Gentry
One of the guys here downloaded Cayenne (versions 3 and 2) and tried running Cayenne Modeler, but it kept crashing. I looked at it for him and there was an exception in Apache Commons (I don't have the exact exception, but that isn't the real issue). I eventually went to his

Enums as PK?

2008-04-24 Thread Michael Gentry
Andrus, I'm going to send you a test I just did via e-mail since the list doesn't support attachments. Enums as PKs worked for me. What issue were you seeing? Thanks, /dev/mrg

Re: Enums as PK?

2008-04-24 Thread Michael Gentry
Hmm, I used the ExtendedEnumerations which aren't in M3. When I changed my State class to look like: public enum State { AL, AK, AR, AZ, DC, MD, TN, VA; } It still worked with M3. On Thu, Apr 24, 2008 at 9:22 AM, Michael Gentry [EMAIL PROTECTED] wrote: Sorry, already sent the attachment

Re: Enums as PK?

2008-04-24 Thread Michael Gentry
. So it was probably an issue similar to this: https://issues.apache.org/cayenne/browse/CAY-1034 I guess we can close CAY-1014 and see if we can improve relationship validation... Andrus On Apr 24, 2008, at 4:35 PM, Michael Gentry wrote: Hmm, I used the ExtendedEnumerations which

Re: [jira] Commented: (CAY-1041) Add release notes to downloads page.

2008-04-24 Thread Michael Gentry
/A Reporter: Michael Gentry Priority: Minor Add the Cayenne release notes (RELEASE-NOTES.txt) to the downloads page at: http://cayenne.apache.org/download.html A user shouldn't have to download the entire distribution to see what has changed. -- This message

Re: Enums as PK?

2008-04-25 Thread Michael Gentry
. That would be a bug of course. Andrus On Apr 24, 2008, at 5:14 PM, Michael Gentry wrote: I didn't try doing a relationship using the enum in the join. Did you? I can try that, too, but I believe all of the translation code goes through the same routines, so it should work there, too

Re: Client PK access

2008-04-27 Thread Michael Gentry
and what not, feel free to join the group. It's pretty low volume: http://code.google.com/p/tapestry5-cayenne/ -- Kevin On 4/27/08 11:50 AM, Michael Gentry [EMAIL PROTECTED] wrote: Hi Kevin, I'm just curious since I haven't been following Tapestry much lately (I'm

Re: Client PK access

2008-04-28 Thread Michael Gentry
FWIW, I've seen Oracle automatically/silently convert numbers to varchars before, too (999 = '999'). This works great until your numbers start having letters in them. :-) On Mon, Apr 28, 2008 at 3:36 AM, Andrus Adamchik [EMAIL PROTECTED] wrote: On Apr 28, 2008, at 12:14 AM, Kevin Menard

Re: Hello list!

2008-05-06 Thread Michael Gentry
Welcome Andrey! I hope you enjoy working on Cayenne over the summer. On Tue, May 6, 2008 at 12:49 PM, Andrey Razumovsky [EMAIL PROTECTED] wrote: Hi all Cayenne Developers! My name is Andrey Razumovsky, i'm from St.-Petersburg, Russia. I am glad to announce that i will be participate

Re: [jira] Commented: (CAY-1041) Add release notes to downloads page.

2008-05-06 Thread Michael Gentry
Did anyone else have thoughts/comments on this issue? Thanks, /dev/mrg On Thu, Apr 24, 2008 at 11:09 AM, Michael Gentry [EMAIL PROTECTED] wrote: I'm OK with either way, I just figured having one would simplify maintenance. On Thu, Apr 24, 2008 at 10:37 AM, Andrus Adamchik [EMAIL

Re: I'm back

2008-05-15 Thread Michael Gentry
Welcome back, Kevin! Hope you had a wonderful time! I just updated and built the new CM and the right-click support is nice. Haven't tried out anything else, but it is indeed a nice surprise. We had a code-freeze last night, so maybe I'll poke around some of the other stuff, too. On Thu, May

Re: 3.0 M4 artifacts

2008-05-18 Thread Michael Gentry
I believe that creating CayenneModeler.app (for OS X) is fine on any platform, but creating the disk image (.dmg) for OS X needs to be done on OS X. Under the assembly directory is a build-mac.sh which does it (using the hdiutil command). Can the Windows CayenneModeler.exe be produced on

Re: 3.0 M4 Release Vote

2008-05-27 Thread Michael Gentry
I never got to test the actual artifacts, but others did without major issues. I've mainly been using the trunk successfully. Given those two items, I'm also +1 for the M4 release and agree it is time to close the vote. /dev/mrg On Mon, May 26, 2008 at 4:36 AM, Andrus Adamchik [EMAIL

Re: 3.0 M4 Release Vote

2008-05-29 Thread Michael Gentry
I still think we should have the release notes on the download page: http://cayenne.apache.org/download.html and probably even a link in the News section on the home page. This, at a minimum, could be a link to:

  1   2   3   4   5   6   7   8   >