Re: Ant and eclipse related things in the pom.xml

2022-08-01 Thread Mike Kienenberger
ght something was, but I had forgotten about this little web service. On Mon, Aug 1, 2022 at 12:12 PM Andrus Adamchik wrote: > > > > > On Aug 1, 2022, at 5:19 PM, Mike Kienenberger wrote: > > > > Unfortunately, my most "up-to-date" cayenne project uses

Re: Ant and eclipse related things in the pom.xml

2022-08-01 Thread Mike Kienenberger
wrote: > > > > > On Aug 1, 2022, at 5:19 PM, Mike Kienenberger wrote: > > > > Unfortunately, my most "up-to-date" cayenne project uses 3.x and it is > > likely being replaced at the end of the year, which is why I haven't > > commented much on Cayenne 5.

Re: Ant and eclipse related things in the pom.xml

2022-08-01 Thread Mike Kienenberger
reflection > > to get rid of compile-time dependency. Is there anything I need to > > worry about? > > IIRC, Mike Kienenberger used (and contributed to) VPP integration. Mike, > maybe you have any comments? Is this something you'd still use in the future > Cayenne 5.0? > > Andrus > >

Re: cgen into the future

2021-10-10 Thread Mike Kienenberger
On Sun, Oct 10, 2021 at 5:09 AM Andrus Adamchik wrote: > I expected tools removal to be a controversial proposal. Still decided to > throw it out there. I am always looking for opportunities to minimize our > support footprint (hi, ROP :)). Properly maintaining the tools across 3 > build systems

Re: Cayenne geospacial features

2019-02-23 Thread Mike Kienenberger
On Sat, Feb 23, 2019 at 4:40 AM Tore Halset wrote: > A long time ago, I wrote about this over at > http://objectstyle.org/confluence/display/CAY/Mapping+JTS+Geometries , > but that website does not exist anymore. > A google search turned out a mangled version here:

Re: Cayenne release policy thoughts

2018-05-02 Thread Mike Kienenberger
en using trunk/master versions because I started using Cayenne > during the 3.2 time frame, so the official releases don't matter much to > me. But it would be better to release more often. > > Thanks, > John > > On Sun, Apr 29, 2018 at 11:44 AM Mike Kienenberger <mkien..

Re: Cayenne release policy thoughts

2018-04-29 Thread Mike Kienenberger
All releases (no matter how they are named) must be reviewed by the PMC, but people often forget that the required elements of the review are licenses, signing and checksums, and source code. The review process could be shorted to just these three easily-evaluated items. The voting period could

Re: Cayenne 4.0.RC1 release

2018-04-21 Thread Mike Kienenberger
y unused for cayenne # manually verify that there are no unknown or unapproved licensed files ./rat.sh ../../../../java/apache-rat-0.11/apache-rat-0.11.jar ##mvn apache-rat:check # To check for all errors, if more than one project is affected # mvn apache-rat:check -Drat.numUnapprovedLicenses

Re: Cayenne 4.0.RC1 release

2018-04-21 Thread Mike Kienenberger
Checking the release. Why does slf4j-api-1.7.25.jar exist in cayenne-4.0.RC1-tar-gz but not in cayenne-4.0.RC1-win.zip? # diff -rq cayenne-4.0.RC1-tar-gz/ cayenne-4.0.RC1-win/ [...] Only in cayenne-4.0.RC1-tar-gz/lib/third-party: slf4j-api-1.7.25.jar [...]

Re: H2 rev engineer

2017-10-24 Thread Mike Kienenberger
the log file, it shows: >> >> Caused by: java.lang.NumberFormatException: For input string: " >> 127.0.0.1:9092" >>at >> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) >>at java.lang.Integer.parseInt(Integer.java:580) >

Re: H2 rev engineer

2017-10-20 Thread Mike Kienenberger
I see a couple of possible reasons: First I would guess that "jdbc:h2:mem" is creating a separate in-memory database rather than using your tcp-served db. Second, you might need to specify your non-standard schemas like as follows. Below is a url I use modified for what values you provided:

Re: Cayenne own template renderer to replace Velocity

2017-08-14 Thread Mike Kienenberger
Just a note that Velocity 2.0 is finally released. If I remember right, lots of dependency fixes there too. On Mon, Aug 14, 2017 at 8:21 AM, Andrus Adamchik wrote: >> If we choose a 'provided' scope, won't that work and be better? > > I think it will be worse. Velocity is

Re: June 2017 Board Report

2017-06-10 Thread Mike Kienenberger
Remember that the board cares about community development far more than technical development. They'd be more interested in how the CM prototype is affecting community. On Sat, Jun 10, 2017 at 9:06 AM, Michael Gentry wrote: > On Sat, Jun 10, 2017 at 8:55 AM, Andrus Adamchik

Re: Switching Cayenne to SLF4J

2017-03-27 Thread Mike Kienenberger
On Mon, Mar 27, 2017 at 6:20 PM, Aristedes Maniatis wrote: > * using log4j or other library Pick one logging library (ie, log4j). Add the "log to log4j from slf4j" jar. For all other logging libraries, add "log to slf4j from *" jars. It's pretty much that simple, although

Re: March 2017 Board Report

2017-03-09 Thread Mike Kienenberger
You'll be told to remove the mailing list statistics unless they are showing something important, in which case you want to specifically state it (such as saying that we've had a dramatic increase in mailing list participation recently). Also, I'd change "No activity" for 3.x to "In maintenance

Re: [VOTE] 4.0.M5 release v2

2017-02-24 Thread Mike Kienenberger
It seems like it may make more sense to change the version to M6 rather than create M5-v2 and have to deal with potential confusion. On Fri, Feb 24, 2017 at 3:54 AM, Nikita Timofeev wrote: > Hi all, > > I'm published new files for 4.0.M5 release and you can start

Re: Build failure

2016-12-22 Thread Mike Kienenberger
One of the classes (probably from the postgres driver) was compiled with a java version higher than what is running the build. On Thu, Dec 22, 2016 at 1:26 PM, buddha wrote: > Hi, > > > > I’m just trying to make a small commit which is a fix in two small xml > files

Re: [VOTE] 4.0.M4

2016-12-12 Thread Mike Kienenberger
- signatures and checksums match - source builds - apache rat passes +1 Below are the linux commands I used to verify the release of the cayenne-4.0.M4 files: = wget

Re: December 2016 Board Report

2016-12-12 Thread Mike Kienenberger
Looks good On Sat, Dec 10, 2016 at 7:20 AM, Michael Gentry wrote: > Per Andrus' suggestion, removed ICLA language and added Ruslan: > > ## Committer base changes: > > - Currently 20 committers. > - No new committers added in the last 3 months. > - Last committer addition was

Re: September 2016 Board Report

2016-09-13 Thread Mike Kienenberger
Oh, and you may as well drop the mailing list statistics as the board doesn't want them unless they are being used to illustrate a particular point. But maybe that's what you meant by summer lull, in which case you can disregard both of my comments :) On Tue, Sep 13, 2016 at 8:41 PM, Mike

Re: September 2016 Board Report

2016-09-13 Thread Mike Kienenberger
Looks pretty good to me. Although I'm not really sure there was a lull. At least I didn't notice any lull in cayenne activity. On Tue, Sep 13, 2016 at 8:17 PM, Michael Gentry wrote: > Any feedback on the following? Needs to be submitted tomorrow (9/14). > > Thanks! > >

Re: EOModel importer testing

2016-08-04 Thread Mike Kienenberger
Yes, please continue to improve it. I first used it back in 2003, and it's still being used 13 years later. On Thu, Aug 4, 2016 at 4:38 AM, Musall Maik wrote: > >> Am 04.08.2016 um 01:26 schrieb Aristedes Maniatis : >> >> On 4/08/2016 5:27am, Musall Maik

Re: Custom Templates

2016-04-08 Thread Mike Kienenberger
markup to identify > what it is supporting, of course. > > Everything would still be under version control and could still be edited > with an external tool, just not as conveniently. Basically, find the CDATA > section you want to edit and change it. > > mrg > > > On Fri, A

Re: merging process

2016-04-05 Thread Mike Kienenberger
There's been a lot of discussion on git policies and merging. Here's a summary but you'll need to be an asf member to read it though. https://svn.apache.org/repos/private/foundation/board/github-discussion/proposals/ On Tue, Apr 5, 2016 at 7:47 AM, Andrus Adamchik

[Was: [VOTE] 4.0.M3 second attempt]]

2016-02-11 Thread Mike Kienenberger
What files did you find? I ran rat manually and didn't see anything. On Thu, Feb 11, 2016 at 6:23 PM, Aristedes Maniatis <a...@maniatis.org> wrote: > On 12/02/2016 7:56am, Mike Kienenberger wrote: >> ## mvn apache-rat currently unused for cayenne >> # manually verify that

Re: Open Source license for Oxygen 17

2016-01-28 Thread Mike Kienenberger
On Thu, Jan 28, 2016 at 2:51 AM, Andrus Adamchik wrote: > Go a reply from Oxygen. They request us to add a link back to them from the > Cayenne web site: > > https://www.oxygenxml.com/non_profit_program.html#open_source > > Sounds fair to me. (perhaps we place it under

Re: CM Thoughts

2016-01-11 Thread Mike Kienenberger
On Mon, Jan 11, 2016 at 10:49 AM, Mike Kienenberger <mkien...@gmail.com> wrote: > ... I'm fairly certain that you can write code that would be > mostly interchangeable between a standalone app and a plugin. > However, I haven't done any specific plug-in work to the traditiona

Re: CM Thoughts

2016-01-11 Thread Mike Kienenberger
And yeah, a quick google search shows that's about all there is to it http://stackoverflow.com/questions/1809401/packaging-one-or-two-plugins-as-a-standalone-rcp-application On Mon, Jan 11, 2016 at 10:58 AM, Mike Kienenberger <mkien...@gmail.com> wrote: > On Mon, Jan 11, 2016 at

Re: CM Thoughts

2016-01-05 Thread Mike Kienenberger
On Tue, Jan 5, 2016 at 5:34 PM, Aristedes Maniatis wrote: > To my mind, there is only a small gain in moving away from Swing and quite a > bit of work. But if you had the time to put into it, JavaFX is most likely to > survive another 15 years from the options you give

Re: [jira] [Commented] (CAY-2038) Hessian serialization error when using JSR-310 Date types with ROP

2015-12-08 Thread Mike Kienenberger
I remember reading that, while kryonet uses kryo for serialization by default, serialization is pluggable and jsonbeans was listed as the alternative serialization framework which serializes to JSON (including javascript variants). https://github.com/EsotericSoftware/jsonbeans Serialization

Re: [jira] [Commented] (CAY-2038) Hessian serialization error when using JSR-310 Date types with ROP

2015-12-05 Thread Mike Kienenberger
Keep in mind that standard java serialization recently was revealed to have serious security issues. https://blogs.apache.org/foundation/entry/apache_commons_statement_to_widespread I wanted a quick way to send java data over the network last weekend and I came across this BSD licensed project:

Re: CayenneModeler not generating classes

2015-10-12 Thread Mike Kienenberger
;and...@objectstyle.org> wrote: > [taking to dev] > > @Savva : these were checked in on April 29th per CAY-1999. Could you please > check whether we need to make this change in the Cayenne code? (and perhaps > we can reproduce the issue with a unit test). > > Thanks, &

Re: Cayenne video from WOWODC

2015-09-14 Thread Mike Kienenberger
I can't think of any reason why we wouldn't want this on our home page, and many reasons why we do :) Seems like a no-brainer. On Sun, Sep 13, 2015 at 3:12 PM, Andrus Adamchik wrote: > https://www.youtube.com/watch?v=gSauEmPnkCU > > I just uploaded to YouTube a video

Re: September 2015 Board Report

2015-09-10 Thread Mike Kienenberger
You sure this link doesn't work for you? I'm pretty sure it works for any PMC member. (The ?cayenne is probably optional in your case.) https://reporter.apache.org/?cayenne In any case, here's the text-version of the output. Report from the Apache Cayenne committee [Andrus Adamchik] ##

Re: Change audit framework

2015-08-27 Thread Mike Kienenberger
I think the only thing missing from this approach is a guarantee that the audit data is committed in the same transaction as the data being logged. This is a requirement for my various projects. If the audit data cannot be committed, then the changes cannot be committed. On Thu, Aug 27, 2015

Re: Version API

2015-07-29 Thread Mike Kienenberger
On Wed, Jul 29, 2015 at 7:04 AM, Andrus Adamchik and...@objectstyle.org wrote: (taking to dev) Seems kind of pointless API to me. It would at least be a redundant API if there's a standardized way of fetching the Implementation-Version field, which there is.

Re: Trouble with Web app deployment

2015-06-13 Thread Mike Kienenberger
Thanks. I'll look into that for the next velocity release. On Sat, Jun 13, 2015 at 11:43 AM, Dirk Olmes d...@xanthippe.ping.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/12/2015 04:41 PM, Mike Kienenberger wrote: On Fri, Jun 12, 2015 at 10:37 AM, Mike Kienenberger mkien

Velocity 1.8 release pending

2015-06-12 Thread Mike Kienenberger
We're slowly preparing a release of velocity 1.8. Are there any issues the cayenne project would like to see fixed in 1.8? This is bug-fix/dependency/modernization release. All new feature requests continue to be velocity 2.x only. I think the current plan is to officially support and

Re: Trouble with Web app deployment

2015-06-12 Thread Mike Kienenberger
to avoid the dependency tail. Andrus On Jun 12, 2015, at 5:27 PM, Mike Kienenberger mkien...@gmail.com wrote: On Fri, Jun 12, 2015 at 10:20 AM, Andrew Willerding awillerd...@itsurcom.com wrote: Which commons lang version? I'm including the one bundled with Cayenne - commons-collections-3.2.1

Re: Trouble with Web app deployment

2015-06-12 Thread Mike Kienenberger
On Fri, Jun 12, 2015 at 10:37 AM, Mike Kienenberger mkien...@gmail.com wrote: And we do always have the option of using the velocity release that internalizes all dependencies so that it has no external dependencies. I'll have to look at these again, but I think it packages them. No, I'm wrong

Re: New features in Select API

2015-04-07 Thread Mike Kienenberger
Even though it may not be as concise, using alternate form of might be less confusing. On Tue, Apr 7, 2015 at 9:54 AM, Andrus Adamchik and...@objectstyle.org wrote: Hey Mike, On Apr 7, 2015, at 4:43 PM, Michael Gentry mgen...@masslight.net wrote: Select.select(ObjectContext context, int

Re: New features in Select API

2015-04-07 Thread Mike Kienenberger
On Tue, Apr 7, 2015 at 10:37 AM, Andrus Adamchik and...@objectstyle.org wrote: Even though it may not be as concise, using alternate form of might be less confusing. I assume you are talking about limit comment, not select? No, I was referring to select. Essentially the alternate form of

Re: [VOTE] 4.0.M2 third attempt

2015-03-16 Thread Mike Kienenberger
On Mon, Mar 16, 2015 at 10:49 AM, Andrus Adamchik and...@objectstyle.org wrote: Looks like he doesn't have permissions to alter release repo (is this cause he's not a PMC?). Otherwise the release is published. Yes, it's because he's not on the project management committee. Only a PMC member

Re: Board report

2015-03-12 Thread Mike Kienenberger
Looks good to me. On Tue, Mar 10, 2015 at 12:01 PM, Andrus Adamchik and...@objectstyle.org wrote: On Mar 10, 2015, at 6:54 PM, Michael Gentry mgen...@masslight.net wrote: That's been on my to-do list, but I haven't gotten to it yet. Was going to try tonight along with building the release.

Re: [VOTE] 4.0.M2 third attempt

2015-03-12 Thread Mike Kienenberger
-4.1-x86_64) OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode) On Tue, Mar 10, 2015 at 12:13 PM, Mike Kienenberger mkien...@gmail.com wrote: The errors you posted seem to be network errors. I just rebuilt again without problems. uname -a Linux linux-4eqv.site 3.16.7-7-desktop #1 SMP

Re: [VOTE] 4.0.M2 third attempt

2015-03-10 Thread Mike Kienenberger
Hey guys, We're still missing one more binding vote and it's been 12 days. On Sun, Mar 8, 2015 at 4:26 PM, Andrus Adamchik and...@objectstyle.org wrote: Googling shows that putting '-Djava.net.preferIPv4Stack=true' might help. We mention that in the dev guide actually, and just recently I was

Alex Kolonitsky and Savva Kolbachev. missing from contributors.html

2015-03-10 Thread Mike Kienenberger
Alex Kolonitsky and Savva Kolbachev.are still missing from the contributors section on the web site at contributors.html. I'm not sure if this is because they have not added themselves to the page or if our web site is out of date.

Re: [VOTE] 4.0.M2 third attempt

2015-03-10 Thread Mike Kienenberger
figure it out. mrg On Tue, Mar 10, 2015 at 11:37 AM, Mike Kienenberger mkien...@gmail.com wrote: Hey guys, We're still missing one more binding vote and it's been 12 days. On Sun, Mar 8, 2015 at 4:26 PM, Andrus Adamchik and...@objectstyle.org wrote: Googling shows

Re: [VOTE] 4.0.M2 third attempt

2015-02-26 Thread Mike Kienenberger
https://cayenne.apache.org/download.html says that http://www.apache.org/dist/cayenne/KEYS is the correct location, so we're missing Alex's key. On Thu, Feb 26, 2015 at 9:49 AM, Mike Kienenberger mkien...@gmail.com wrote: We can't check the release until Alex's keys are in http

Re: [VOTE] 4.0.M2 third attempt

2015-02-26 Thread Mike Kienenberger
We can't check the release until Alex's keys are in http://www.apache.org/dist/cayenne/KEYS. Or am I looking in the wrong spot for Alex's keys? On Thu, Feb 26, 2015 at 4:41 AM, Alex Kolonitsky akolonit...@objectstyle.com wrote: Hi All, I've prepared 4.0.M2 artifacts for voting again, I hope

SVN access for Alex

2015-02-26 Thread Mike Kienenberger
On Thu, Feb 26, 2015 at 12:46 PM, Andrus Adamchik and...@objectstyle.org wrote: Somehow Alex did not have the permissions to commit to SVN (perhaps it requires some action on my part to get him into proper SVN groups?) You should know more about this than I, but the documented steps are here:

Re: [VOTE] 4.0.M2 third attempt

2015-02-26 Thread Mike Kienenberger
- signatures and checksums match - source builds - apache rat passes +1 Below are the linux commands I used to verify the release of the cayenne-4.0.M2 files: = wget

Re: setter for toMany in generated classes

2015-01-25 Thread Mike Kienenberger
I am also of the opinion that this should be a per-user customization that someone can make rather than something that should be provided out of the box. I don't think this should be part of Cayenne. But since I'm not an active committer any more, I wasn't going to be the first to say so. On

Re: setter for toMany in generated classes

2014-12-18 Thread Mike Kienenberger
As I said before, I think you need to call removeToManyTarget(${rel.Name}, obj, true); instead of iterator.remove() and removeAll(), and then you need to call addToManyTarget() instead of addAll(). Otherwise, you are losing the reverse relationship changes. But the rest seems ok. I'm not saying

Re: Finally

2014-11-25 Thread Mike Kienenberger
For me, my integration tests are all against hsqldb and my deployments are all against Oracle. I use h2 instead for my non-Cayenne project for a dev deployment, but for testing, hsqldb seems to do a better job. I'd like to use H2 as a dev deployment in my cayenne project as well, but I've

Re: Variations of 'like'

2014-11-21 Thread Mike Kienenberger
Yeah, I was about to comment along those lines as well. For chained operations, readability of the code needs to be a primary focus. On Fri, Nov 21, 2014 at 9:56 AM, Michael Gentry mgen...@masslight.net wrote: I'd avoid true/false for that purpose. We had the same thing in orderings before

Re: Variations of 'like'

2014-11-21 Thread Mike Kienenberger
Not only readability, but also picking the right options. For me, code completion on a method name is the quickest way to work through chained query options. An enum argument is also workable, but extra typing. But a generic type like int or boolean makes it difficult to figure out what to

Re: Chainable SelectQuery

2014-11-17 Thread Mike Kienenberger
Chainable fest testing assertions use isEqualTo to avoid confusion with equals On Mon, Nov 17, 2014 at 9:01 AM, Michael Gentry mgen...@masslight.net wrote: On Sun, Nov 16, 2014 at 9:13 AM, Andrus Adamchik and...@objectstyle.org wrote: eq with is, I actually prefer eq[uals]. Considering all

Re: Java 1.7 for 4.0 .. again

2014-10-26 Thread Mike Kienenberger
J2EE 6 is still mainstream, and J2EE 7 is still relatively unsupported (J2EE 7 is also only a 1.5 years old). http://en.wikipedia.org/wiki/Java_Platform,_Enterprise_Edition#Certified_application_servers On Sun, Oct 26, 2014 at 9:05 AM, Andrus Adamchik and...@objectstyle.org wrote: So quite a

Re: Pull requests on Jenkins

2014-10-23 Thread Mike Kienenberger
I still think testng is a better choice. And it will run junit3 tests as well. On Thu, Oct 23, 2014 at 6:14 PM, Aristedes Maniatis a...@maniatis.org wrote: On 24/10/2014 3:58am, Andrus Adamchik wrote: No. Resetting the DB is currently hardcoded per test, so due to subtle bugs in copy/paste

Re: Chainable SelectQuery

2014-10-09 Thread Mike Kienenberger
I wonder if QueryBuilder is a better approach which would preserve backwards compatibility. On Thu, Oct 9, 2014 at 3:08 PM, Michael Gentry mgen...@masslight.net wrote: Yeah, I don't know if changing setXyz to *not* return 'void' would break things (like Tapestry). That would be a huge downer.

Eclipse Static imports

2014-10-07 Thread Mike Kienenberger
John, I had issues with static imports as well, but there is a solution. Take a look at this url: http://stackoverflow.com/questions/288861/eclipse-optimize-imports-to-include-static-imports On Tue, Oct 7, 2014 at 10:31 AM, John Huss johnth...@gmail.com wrote: Hmm... I have a lot to say, so I

Re: 3.2 - 4

2014-10-01 Thread Mike Kienenberger
After this amount of time, I think renaming it will cause confusion when projects which are currently running 3.2 pre-final find no further 3.2 upgrades in the future. And we've set a new precedent with 3.0 and 3.1, so I think we're ok continuing down this this path. But I don't feel strongly

cayenne github project access

2014-09-23 Thread Mike Kienenberger
Can someone add me to the cayenne github project so I can comment on pull requests? github username is the same: mkienenb Also, should we be insisting that github patches are clean and not containing extraneous commits? ie, ed8b7b0509ddfe216f035a2b7327a1b162a9167e and

Re: cayenne github project access

2014-09-23 Thread Mike Kienenberger
a policy if we're all in agreement and it's standard practice. On Tue, Sep 23, 2014 at 9:47 AM, Aristedes Maniatis a...@maniatis.org wrote: None of us have admin rights there. But you should be able to still comment. Ari On 23/09/2014 11:16pm, Mike Kienenberger wrote: Can someone add me

Re: [VOTE] 3.1 final

2014-09-21 Thread Mike Kienenberger
- signatures and checksums match - source builds - apache rat passes +1 Below are the linux commands I used to verify the release of the cayenne-3.1 files: = # check checksums ## made with gpg --print-md MD5 cayenne-X.X.tar.gz cat *.md5 | tr -d

Checking md5 sums from a script for releases

2014-09-20 Thread Mike Kienenberger
I asked about this for the last release and the only comment was: Yeah, lately we've been using gpg for that instead of md5 command: Is there a compelling reason to do this? I have been unable to find a simple scripted approach to validate an md5 signature produced by gpg. With a regular

Re: Checking md5 sums from a script for releases

2014-09-20 Thread Mike Kienenberger
at 5:09 PM, Mike Kienenberger mkien...@gmail.com wrote: I asked about this for the last release and the only comment was: Yeah, lately we've been using gpg for that instead of md5 command: Is there a compelling reason to do this? I have been unable to find a simple scripted approach

No apache-rat support for 3.1 candidate?

2014-09-20 Thread Mike Kienenberger
I've checked the signatures and checksums and successfully built the source, but I can't get apache-rat to run. I know I had it running for the 3.1RC1 candidate. [ERROR] No plugin found for prefix 'apache-rat' in the current project and in the plugin groups [org.apache.maven.plugins,

Re: 3.1-final test scoresheet

2014-09-09 Thread Mike Kienenberger
+1 to making the constructor protected. On Tue, Sep 9, 2014 at 2:10 AM, Andrus Adamchik and...@objectstyle.org wrote: Usually we have private constructors for statics only classes (as is the case here). It sort of indicates it to the end users that the class is not supposed to be

Re: Copy/Clone Mutable Objects?

2014-09-08 Thread Mike Kienenberger
I think it would be difficult to enforce, even if we wanted to disallow it, since any non-primitive could be mutable. What I might do is to change my templates so that certain types, like Date and byte[], are automatically cloned in the setter methods, though. On Mon, Sep 8, 2014 at 8:54 AM,

Re: Copy/Clone Mutable Objects?

2014-09-08 Thread Mike Kienenberger
with mutable types, since modifying them will not use the setter method. - hugi On 8.9.2014, at 12:58, Mike Kienenberger mkien...@gmail.com wrote: I think it would be difficult to enforce, even if we wanted to disallow it, since any non-primitive could be mutable. What I might do

Re: GitHub

2014-09-04 Thread Mike Kienenberger
This is all I remember on the topic: -- Forwarded message -- From: Noah Slater nsla...@apache.org Date: Mon, Jan 20, 2014 at 6:23 AM Subject: Show off your Apache affiliation on GitHub To: committ...@apache.org Hi folks, We're now adding committers with GitHub accounts to

Re: LGPL unit test dependencies - can we use them?

2014-08-30 Thread Mike Kienenberger
http://www.apache.org/legal/resolved.html#prohibited Can Apache projects rely on components under prohibited licenses? Apache projects cannot distribute any such components. As with the previous question on platforms, the component can be relied on if

Re: Warning from u...@cayenne.apache.org

2014-05-29 Thread Mike Kienenberger
Andrus's user mailing list test message bounced for me, which is pretty strange. Never had that happen before so far as I know. On Thu, May 29, 2014 at 5:45 AM, user-h...@cayenne.apache.org wrote: Hi! This is the ezmlm program. I'm managing the u...@cayenne.apache.org mailing list. I'm

Re: Git leftovers

2014-05-14 Thread Mike Kienenberger
One of the projects I work with has jenkins polling Git on github (several dozen different git repos, in fact). I can ask how that's done if it's not something specific to github. On Wed, May 14, 2014 at 12:36 PM, Andrus Adamchik and...@objectstyle.org wrote: There are a few unresolved smaller

Re: Git leftovers

2014-05-14 Thread Mike Kienenberger
Maybe this helps? -- Forwarded message -- From: Rasmus Praestholm Date: Wed, May 14, 2014 at 2:46 PM Subject: Fwd: Mike Kienenberger started a conversation with you: Jenkins polling git [...] Maybe I'm missing some info, but using Git instead of SVN should be a piece of cake

Re: Upgraded to JUnit 4

2014-03-29 Thread Mike Kienenberger
For what it's worth, I upgraded my cayenne project from junit 3.8.1 to junit4 a couple of weeks ago. After a couple of days, I decided that upgrading to TestNG made more sense, as it supports everything that junit4 did plus a lot more. The latest versions of TestNG will also run junit tests --

Re: Upgraded to JUnit 4

2014-03-29 Thread Mike Kienenberger
are :) Andrus On Mar 29, 2014, at 4:00 PM, Mike Kienenberger mkien...@gmail.com wrote: For what it's worth, I upgraded my cayenne project from junit 3.8.1 to junit4 a couple of weeks ago. After a couple of days, I decided that upgrading to TestNG made more sense, as it supports everything

Re: Java 8

2014-03-21 Thread Mike Kienenberger
Unless there is a compelling reason, I would not stop supporting Java 6 on 3.2. Most of the app servers out there still require Java 6 when I looked last month -- http://en.wikipedia.org/wiki/Comparison_of_application_servers My primary client is once again considering switching from JPA to

Re: Interceptable ExtendedType

2014-03-13 Thread Mike Kienenberger
For what it's worth, I'm doing the same thing for our JPA app. I store the encryption version number (unencrypted), then an encrypted set of data fields. We found that trying to encrypt individual fields wasn't as helpful since the length and variety of individual columns tended not to be all

Re: Interceptable ExtendedType

2014-03-13 Thread Mike Kienenberger
:13 AM, Mike Kienenberger mkien...@gmail.com wrote: For what it's worth, I'm doing the same thing for our JPA app. I store the encryption version number (unencrypted), then an encrypted set of data fields. We found that trying to encrypt individual fields wasn't as helpful since the length

Re: [VOTE] 3.1RC1

2014-02-18 Thread Mike Kienenberger
1.5. So if there was no backwards compatibility, we would've been forced to use JDK 1.5. If we actually see a problem, we should definitely pull the binary and redo it, but I don't think we will. Andrus On Feb 16, 2014, at 9:02 PM, Mike Kienenberger mkien...@gmail.com wrote: I didn't

Release differences?

2014-02-16 Thread Mike Kienenberger
I compared the cayenne-3.1RC1.tar.gz release with the cayenne-3.1RC1.zip and was surprised by the number of differences. The html, css, package-list is all different. That's 1786 lines. These seem to be line ending issues. The jar files are different. Maybe this is just due to our build

Re: [VOTE] 3.1RC1

2014-02-16 Thread Mike Kienenberger
I didn't realized the vote was closed, and finally finished my review today: Source provided: check checksums match: check (Did we change our md5 formats? The current format doesn't feed back into md5sum) signatures match: check Source builds: check appropriately licensed: checked by rat My src

Re: SonarQube Analysis

2014-01-30 Thread Mike Kienenberger
On Thu, Jan 30, 2014 at 12:32 PM, Andrus Adamchik and...@objectstyle.org wrote: According to this we are completely awesome :) Everything is an A. Not quite. I clicked on a few things, not sure what they would do, and came here:

No access to datamap for a datamap template in 3.x?

2014-01-07 Thread Mike Kienenberger
Is it just me, or has the cgen templating been rewritten so that in datamap mode, you can't actually access the datamap? Instead, you can only access some datamap query information. That defeats the entire point of that mode. I called it datamap mode for a reason, not datamap-queries :-) I

Changes (probably between 1.1 and 1.2) in how Cayenne handles fetching relationships (overzealous now)

2014-01-01 Thread Mike Kienenberger
In the old days (1.1), a relationship to a table that didn't exist in the current database and wasn't referenced explicitly by the java code wasn't an issue. But after my upgrade to 1.2/2.0/3.0 ending at 3.1, I noticed that cayenne would generate relationship queries for these items even when

Re: Build failed in Jenkins: Cayenne-trunk » derby,JDK 1.6 (latest),Ubuntu #980

2013-12-20 Thread Mike Kienenberger
I recommend we add a supports sequences method. I've seen this in other frameworks like JPA. On Fri, Dec 20, 2013 at 12:23 PM, Andrus Adamchik and...@objectstyle.org wrote: “DbAdapter.supportsGeneratedKeys” is an unrelated dimension of PK generation. This is what is called AUTO_INCREMENT

Re: cayenne 3.1 B3 dependencies missing commons-lang-2.6

2013-12-19 Thread Mike Kienenberger
internally. Should probably change that. FWIW, Velocity dependency bothers me more than the recently discussed commons-logging. A. On Dec 19, 2013, at 4:37 AM, Mike Kienenberger mkien...@gmail.com wrote: The commons-lang dependency looks like it may have to do with primary key generation

Re: cayenne 3.1 B3 dependencies missing commons-lang-2.6

2013-12-18 Thread Mike Kienenberger
, Mike Kienenberger mkien...@gmail.com wrote: This was on the windows distribution. I haven't checked the other ones. On Tue, Dec 17, 2013 at 10:07 PM, Mike Kienenberger mkien...@gmail.com wrote: We state: = When using cayenne-server-x.x.jar you'll need a few third party jars

Re: cayenne 3.1 B3 dependencies missing commons-lang-2.6

2013-12-18 Thread Mike Kienenberger
project in Eclipse at this point with no build system. On Dec 18, 2013, at 7:21 PM, Mike Kienenberger mkien...@gmail.com wrote: Yes, commons-lang is from velocity. I'm not using SQLTemplate nor EJBQL so far as I can tell, but I still got hit with the dependency on a new 3.1 project. I haven't

Re: cayenne 3.1 B3 dependencies missing commons-lang-2.6

2013-12-18 Thread Mike Kienenberger
) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 24 more On Wed, Dec 18, 2013 at 11:59 AM, Mike Kienenberger mkien...@gmail.com wrote: On Wed, Dec 18, 2013 at 11:43 AM, Andrus Adamchik and...@objectstyle.org wrote: “Got hit” in what way? Got hit with a ClassNotFound exception if I remember right

Re: cayenne performance tuning issues

2013-12-17 Thread Mike Kienenberger
What you're showing here in the log doesn't seem to have anything to do with Cayenne peformance problems. 2013-12-16 23:17:52,338 [http-bio-8080-exec-10] INFO SELECT [...t0.*...] FROM EDU_SEC.dbo.APP_USER t0 WHERE ((t0.PWD = ?) OR (t0.PWD = ?)) AND (t0.UID = ?) [bind: 1-PWD:'REDACTED',

cayenne 3.1 B3 dependencies missing commons-lang-2.6

2013-12-17 Thread Mike Kienenberger
We state: = When using cayenne-server-x.x.jar you'll need a few third party jars (all included in lib/third-party directory of the distribution): Apache Velocity Template Engine, version 1.6.x (and all its dependencies bundled with velocity-dep) Apache Commons Collections, version

Re: cayenne 3.1 B3 dependencies missing commons-lang-2.6

2013-12-17 Thread Mike Kienenberger
This was on the windows distribution. I haven't checked the other ones. On Tue, Dec 17, 2013 at 10:07 PM, Mike Kienenberger mkien...@gmail.com wrote: We state: = When using cayenne-server-x.x.jar you'll need a few third party jars (all included in lib/third-party directory

Re: Cayenne[Modeler] on Linux

2013-12-02 Thread Mike Kienenberger
As a linux Cayenne user (and really, as a user on any platform), I don't see the point of installing Cayenne as an RPM or with any kind of installer. Different projects require different versions of Cayenne, and I wouldn't want an automatic upgrade changing the version on me. As for a desktop

Re: Cayenne[Modeler] on Linux

2013-12-02 Thread Mike Kienenberger
Apparently, ~/.local/share/applications is probably the better location to use for this. On Mon, Dec 2, 2013 at 9:09 AM, Mike Kienenberger mkien...@gmail.com wrote: As a linux Cayenne user (and really, as a user on any platform), I don't see the point of installing Cayenne as an RPM

Re: Cayenne[Modeler] on Linux

2013-12-02 Thread Mike Kienenberger
-relative-paths-for-gnome-launcher On Mon, Dec 2, 2013 at 9:11 AM, Mike Kienenberger mkien...@gmail.com wrote: Apparently, ~/.local/share/applications is probably the better location to use for this. On Mon, Dec 2, 2013 at 9:09 AM, Mike Kienenberger mkien...@gmail.com wrote: As a linux

Re: back to monolithic cayenne.jar?

2013-11-18 Thread Mike Kienenberger
This one looks good to me.. On Sun, Nov 17, 2013 at 5:05 AM, Andrus Adamchik and...@objectstyle.org wrote: Now that I gave it some thought, I actually like the idea of a system modular by default, but including cayenne-all.jar on top of that. It has none of the drawbacks of our old

  1   2   3   >