Re: Cascade delete when no relationship: how?

2014-03-21 Thread Kieran Kelleher
er.extensions.eof.ERXUnmodeledToManyRelationshipS, D might meet your needs here. In your B.mightDelete() (not willDelete()) you can call ERXUnmodeledToManyRelationship.deleteAllObjectsRelationships(). On Mar 19, 2014, at 3:30 PM, Jean Pierre Malrieu jp.malr...@free.fr wrote: Hi, Suppose I

Re: structure opinions

2013-11-15 Thread Kieran Kelleher
Congratulations David on achieving the Getting Smarter award from the Chuck Hill WebObjects Awards Institute ;) This is indeed a great achievement! :p Kieran On Nov 15, 2013, at 9:55 AM, David Avendasora webobje...@avendasora.com wrote: On Nov 14, 2013, at 11:42 PM, Chuck Hill

Re: processing pdfs to images

2013-10-24 Thread Kieran Kelleher
Hi ted, Here is a script that shows how using two terminal commands that should be available via macports. This should give you enough hints to achieve what you need hopefully :) Regards, kieran #!/bin/bash

Re: Changing from horizontal to single table inheritance

2013-10-06 Thread Kieran Kelleher
Might be worth checking a Graph Database such as Neo4j as a possible solution for your domain model requirements. The book: http://amzn.com/1449356265 Free PDF Version of the book: http://graphdatabases.com On Oct 6, 2013, at 2:08 PM, Ramsey Gurley rgur...@smartpractice.com wrote: You need

Re: ERRest embedded relationships

2013-09-20 Thread Kieran Kelleher
types of objects in the same root node. I can only pass to (response method ) a single object or an array of objects of the same type . Sent from my iPhone On Sep 19, 2013, at 14:51, Kieran Kelleher kelleh...@gmail.com wrote: One solution might be to create a custom

Re: ERRest embedded relationships

2013-09-19 Thread Kieran Kelleher
One solution might be to create a custom er.rest.format.IERXRestWriter implementation and register a new format for ember js in er.rest.format.ERXRestFormat static block where it calls ERXRestFormat.registerFormatNamed repeatedly to provide customized API for different types of clients. On

Re: Wonder EOF extended prototypes - HELP!

2013-09-05 Thread Kieran Kelleher
Hi Ken, You checked the javadoc in ERXModel class, right? IIRC, EntityModeler may not support extendedPrototypes in the way ERXModel does for runtime I may be wrong, but I have a vague recollection of EntityModeler not recognizing protos the way ERXModel javadoc says, but nevertheless

Re: Custom prototypes in Wonder

2013-08-08 Thread Kieran Kelleher
Check the javadoc on the ERXModelGroup class. It should explain extending and overriding Protoypes in Wonder. Regards, Kieran. (Sent from my iPhone) On Aug 8, 2013, at 5:41 AM, Ken Anderson kenli...@anderhome.com wrote: Gang, I need to add a new attribute prototype, but I'm confused as

Re: mysql access exception after a long time

2013-07-24 Thread Kieran Kelleher
I don't know. I use autoReconnect with MySQL 5.1 and it works fine on worker bee apps that get the occasional admin login every few months. Regards, Kieran. (Sent from my iPhone) On Jul 23, 2013, at 2:29 AM, Pierre Gilquin pgilq...@citycable.ch wrote: Thanks Kieran, I had this setting in

Re: mysql access exception after a long time

2013-07-22 Thread Kieran Kelleher
Hugi ... that's overkill! Just add autoReconnect=true to the connection URL. :P ... for example: mydatabase.URL=jdbc:mysql://myhost/mydatabase?capitalizeTypenames=trueuseBundledJdbcInfo=trueautoReconnect=true On Jul 20, 2013, at 4:26 AM, Hugi Thordarson h...@karlmenn.is wrote:

Re: WOWODC 2014

2013-07-10 Thread Kieran Kelleher
April 5/6/7 works for me. On Jul 10, 2013, at 9:14 AM, prob...@macti.ca wrote: Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, etc. But we were only 60 guys, 15 less than in 2012 and 2011... I known that some regulars couldn't make it because of the chosen dates so

Re: trimming text before save???

2013-07-07 Thread Kieran Kelleher
I would put it in validation method for that attribute. I use validation to validate and throw, or if it makes sense, coerce a value to an acceptable value in a way that would not surprise the user. On Jul 7, 2013, at 3:13 AM, Theodore Petrosky tedp...@yahoo.com wrote: Where do you put this

Re: Your request produced an error.

2013-07-01 Thread Kieran Kelleher
Might be classpath: The classpath in development is not the same as the classpath in deployment. On Jul 1, 2013, at 11:04 AM, Jesse Tayler jtay...@oeinc.com wrote: I have an odd situation, perhaps it rings bells with someone ? I have a method which in deployment causes an exception, but

Re: Your request produced an error.

2013-07-01 Thread Kieran Kelleher
if it were automatic builds or unsaved files, but it seems like I’m able to update things and retest as I’d expect. the method in question performs a fetch through a relationship, but I don’t see why that’s unusual or why I’d not get any backtrace? On Jul 1, 2013, at 12:17 PM, Kieran Kelleher

Re: Enum method overrides and WO bindings

2013-06-07 Thread Kieran Kelleher
Declare the enum as its own java class file and see if that works: MyClass.java public class MyClass { } Status.java public enum Status { one{ @Override public String description() { return eins; } }, two{ @Override public String description() {

Re: Size of fetched array

2013-05-27 Thread Kieran Kelleher
IIRC, not all of the database plugins support limiting the number of rows to be fetched in SQL. Both MySQL and PostgreSQL support fetchLimit, and additionally the fetchRange (SQL paging ... LIMIT, OFFSET) of ERXFetchSpecification. If using some other database, just check the plugin's

Pointing to new Wonder Repository URL

2013-05-20 Thread Kieran Kelleher
In an effort to consolidate all WO Community Projects, Project Wonder repository has been transferred to the WOCommunity GitHub account. It now resides at https://github.com/wocommunity/wonder The new git remote URL for read-only is: git://github.com/wocommunity/wonder.git The new git

Re: Duplicate entry '4183884' for key 'PRIMARY'

2013-05-19 Thread Kieran Kelleher
and noticed all my migrations created myisam files. Is there a way to indicate what kind of table in the migrations? thanks On May 18, 2013, at 12:23 PM, Kieran Kelleher kelleh...@gmail.com wrote: Actually that second statement I made about dump and restore to change table-space

Re: Duplicate entry '4183884' for key 'PRIMARY'

2013-05-18 Thread Kieran Kelleher
: ALTER TABLE `EO_PK_TABLE` ENGINE = InnoDB; Is there any likely downside to this, compared with recreating the schema from scratch? Mark On 17 May 2013, at 23:26, Kieran Kelleher wrote: InnoDB is all or nothing . don't waste your time mixing InnoDB and MyISAM in transactions

Re: Duplicate entry '4183884' for key 'PRIMARY'

2013-05-18 Thread Kieran Kelleher
the integrity of your database(s) after the conversion. On May 18, 2013, at 11:53 AM, Kieran Kelleher kelleh...@gmail.com wrote: No need to dump and restore. That is only useful to change all InnoDB tables from a single table-space file to a file per table for example. Regards, Kieran. (Sent

Re: Duplicate entry '4183884' for key 'PRIMARY'

2013-05-17 Thread Kieran Kelleher
always get rows from disk. There is no benefit to staying on MyISAM format. On May 17, 2013, at 4:36 PM, Mark Gowdy go...@mac.com wrote: Thanks Paul, it looks like you are correct. Two 'Kieran Kelleher' email stated: There is also no row locking on EO_PK_TABLE with myisam, so you will get

Re: Ember ERRest integration

2013-04-29 Thread Kieran Kelleher
Just have a look at the static initialization block at the top of ERXRestFormat class. Look at the SproutCore as an example and the classes involved in the registration of the SproutCore format and how they are implemented. On Apr 27, 2013, at 5:37 PM, Michael Kondratov

Re: Creating a WO Maven project

2013-04-22 Thread Kieran Kelleher
On Apr 22, 2013, at 1:35 PM, Dan Beatty daniel.bea...@navy.mil wrote: Hi Jesse, To be fair, there was such a project right before I graduated from Texas Tech University with my Ph.D.. I think it can be resurrected. It is my hope that I can do it with my current employer, with the

Re: html5 input in a form required

2013-04-18 Thread Kieran Kelleher
Try this: HTML: --- wo name = TextField/wo WOD: --- TextField : WOTextField { value = aValue; otherTagString = required; } otherTagString binding is just a string value that is appended to the opening tag attributes as is. On Apr 18, 2013, at 1:42 PM, John

Re: html5 input in a form required

2013-04-18 Thread Kieran Kelleher
, at 1:55 PM, Kieran Kelleher kelleh...@gmail.com wrote: Try this: HTML: --- wo name = TextField/wo WOD: --- TextField : WOTextField { value = aValue; otherTagString = required; } otherTagString binding is just a string value that is appended to the opening

Re: Jasper Report question

2013-04-11 Thread Kieran Kelleher
Hi Theodore I have not needed to use Jasper in a long time. Maybe there is some boolean expression you can create in the report to show some No Records Found content or something like that. Sorry I don't have an answer OTOH for you. Kieran On Apr 11, 2013, at 2:18 PM, Theodore Petrosky

Re: override qualifier from EOModel

2013-04-10 Thread Kieran Kelleher
Possible idea for a solution if you don't want to modify your existing working code and if having a separate app instance for auto cleanup is feasible: - Add a isAutoCleanupInstance property that if true, results in the EOModel being dynamically modified on startup to remove the EOModel

Re: override qualifier from EOModel

2013-04-10 Thread Kieran Kelleher
yeah - better idea. On Apr 10, 2013, at 9:58 AM, Ramsey Gurley ramseygur...@gmail.com wrote: Create a new entity with new qualifier. InvisibleProduct. Fetch and delete. Markus Ruggiero mailingli...@kataputt.com wrote: Folks, I have an entity Product with an attribute isVisible.

Re: SOLVED: Immortal… ehm, frozen instances.

2013-04-03 Thread Kieran Kelleher
Another longer term option is to have a MySQL replication slave server that performs backup snapshots as needed (hourly, daily, weekly). On Apr 3, 2013, at 1:32 PM, Altera WO Team webobje...@altera.it wrote: Hi all, I finally solved the problem… well, not really but I found out the reason.

Re: ImageIO Native Java 1.6

2013-04-02 Thread Kieran Kelleher
Hi Johnny, If you need a fix in a hurry and you don't get this one solved, then ImageMagick can be a reliable alternative for ERAttachment that is also cross platform too. MacPorts is the simplest way to install IMHO: http://www.imagemagick.org/script/binary-releases.php#macosx $

Re: ImageIO Native Java 1.6

2013-04-02 Thread Kieran Kelleher
There .. fixed it for you ;) On Apr 2, 2013, at 9:32 AM, Þór Sigurðsson th...@us.is wrote: If you don't want to enhance your system with macports/fink, then you can use the cactuslabs build: http://cactuslab.com/imagemagick/ /Þór ___ Do not

Re: WOCommunity Association is now a non-profit corporation

2013-02-05 Thread Kieran Kelleher
On Feb 5, 2013, at 12:12 AM, David Avendasora webobje...@avendasora.com wrote: Pascal, This is fantastic!! We've been needing to get organized for a long time. Thanks to you and everyone else involved in setting it up - even if none were Daves. Its nice to see the rest of you all

Re: Members directory

2013-01-30 Thread Kieran Kelleher
and Google+... Maik Am 30.01.2013 um 04:16 schrieb Kieran Kelleher kelleh...@gmail.com: The least effort approach might be to just link to the WOCommunity group on LinkedIn: http://www.linkedin.com/groups?viewMembers=gid=40584sik=1359515669378 On Jan 29, 2013, at 7:45 PM

Re: WOCommunity Association is now a non-profit corporation

2013-01-30 Thread Kieran Kelleher
Lon, You just reminded me of a joke I heard in an old western movie: Why did God create alcohol so that the Irish would not take over the world! :D -KK On Jan 30, 2013, at 3:17 PM, Lon Varscsak lon.varsc...@gmail.com wrote: Now, how do we take over the world with this? :) -Lon On

Re: Members directory

2013-01-29 Thread Kieran Kelleher
The least effort approach might be to just link to the WOCommunity group on LinkedIn: http://www.linkedin.com/groups?viewMembers=gid=40584sik=1359515669378 On Jan 29, 2013, at 7:45 PM, Pascal Robert prob...@macti.ca wrote: In preparations for WOWODC 2013, I have to work on the

Re: Objective Cloud Interview

2013-01-24 Thread Kieran Kelleher
I would think picking someone who is not under mothership NDA would be better since they can mention the mothership company without worrying if they are violating an NDA. Paul Yu is a good choice if not under NDA. My 2 cents... KK On Jan 24, 2013, at 3:20 PM, Johnny Miller

Re: jasperreport help please

2013-01-23 Thread Kieran Kelleher
and then in the Data Source Expression wrapped it in a 'new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{parmName}) lots of cleaning up to do, but it is working. Thanks for ERJasperReports. they really work well. Ted --- On Mon, 1/21/13, Kieran Kelleher kelleh

Re: jasperreport help please

2013-01-21 Thread Kieran Kelleher
I would say you need a sub-report ... and I can't help you there since I did not need sub-reports for the project I did with Jasper Reports a few years ago, plus I have not worked with jasper in quite a while. So you need to look at the Jasper API/docs on sub-reports. I am guessing it will

Re: Migrations problem with FrontBase

2012-12-20 Thread Kieran Kelleher
FWIW, Not sure if this helps with Migrations or not because I still use SQL for that, but anyway. Have a look at the usage of this property: er.extensions.ERXModel.useExtendedPrototypes=true and the javadoc on ERXModel to learn how prototypes are chosen. You can turn on debug logging on

test - ignore

2012-12-20 Thread Kieran Kelleher
test - ignore ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription:

Re: Mysql time out?

2012-11-09 Thread Kieran Kelleher
Yes, just add autoReconnect to the URL, for example: MyModel.URL=jdbc:mysql://myhost/mydatabase?capitalizeTypenames=trueuseBundledJdbcInfo=trueautoReconnect=true On Nov 9, 2012, at 6:00 AM, Jean Pierre Malrieu jp.malr...@free.fr wrote: Hi, I am authenticating a user from another

Re: MyISAM and Webobjects

2012-10-30 Thread Kieran Kelleher
So, it might be stating the obvious, but the primary consequence of using a non-transactional database such as MyISAM with WebObjects is that a failed EOEditingContext.saveChanges() will not be rolled back in the database which causes the unsaved EC changes to be actually *partially* saved

Re: MyISAM and Webobjects

2012-10-29 Thread Kieran Kelleher
Anecdotally, it seems modern 5.5 InnoDB should be faster than MyISAM and especially so if enough memory is available . InnoDB uses available memory to cache/buffer entire records of data whereas last time I read about this, MyISAM only caches Primary Keys in memory and other MyISAM fields'

Re: MyISAM and Webobjects

2012-10-29 Thread Kieran Kelleher
Gino, Here is some stuff for getting MySQL configured for InnoDB if it is of help. KK On Oct 29, 2012, at 6:09 PM, Gino Pacitti ginok...@mac.com wrote: Hi list I read in the wiki a reference to WO not using MyISAM in tables but no explanation why - any pointers to an explanation. Gino

Re: MyISAM and Webobjects

2012-10-29 Thread Kieran Kelleher
Whoops forgot to paste the link: https://github.com/kierankelleher/gic-mysql-tools On Oct 29, 2012, at 9:41 PM, Kieran Kelleher kelleh...@gmail.com wrote: Gino, Here is some stuff for getting MySQL configured for InnoDB if it is of help. KK On Oct 29, 2012, at 6:09 PM

Re: Programmatically finding an entity's subclasses

2012-10-26 Thread Kieran Kelleher
Johnny, An Irishman would never live in a dry country! I think David A would rather be in Ireland than where he is at though Meanwhile, it is 4pm Friday here in non-dry Florida, and I have a head cold that is ruining my productivity, so I think it is time to savor the very unique and rare

Re: ERMailDeliveryHTML + Localization ?!?!

2012-10-24 Thread Kieran Kelleher
ERMailDeliveryHTML content is WOComponent-based, so assuming you are using localized string elements, why not try debugging what's going on with getting the current localizer in er.extensions.localization.ERXLocalizer.currentLocalizer() if you are generating emails in a background thread

Re: Creating a Git Server

2012-10-08 Thread Kieran Kelleher
Hi Roger, Here are the free solutions that I use: (1) github.com for open source projects. (2) https://bitbucket.org/plans is ideal for small teams of 5 or less and unlimited private repos (3) gitolite works great on a private linux environment - it just needs a single regular user account.

Re: Creating a Git Server

2012-10-08 Thread Kieran Kelleher
that it just works. It is a pure and simple git repo server. https://github.com/sitaramc/gitolite On Oct 8, 2012, at 5:56 PM, prob...@macti.ca wrote: Envoyé de mon iPhone Le 2012-10-08 à 17:51, Roger Perryman ro...@xeotech.com a écrit : On Oct 8, 2012, at 5:26 PM, Kieran Kelleher wrote

Re: Derived read-only attribute to expose PK [Was: Re: postgresql serial columns and wonder]

2012-10-03 Thread Kieran Kelleher
Hi Paul, FWIW, I made a small change to ERXGenericRecord (integration branch) recently that allows valueForKey( primaryKeyAttributeName ) to read the PK value using id or whatever you use for PK field names to be used. This was to allow a fetch qualifier qualified on the primary key

Re: Unknown column

2012-09-13 Thread Kieran Kelleher
On Sep 13, 2012, at 4:24 PM, Chuck Hill ch...@global-village.net wrote: 1. If you don't fetch it then and fetch it later, does it work? 2. Is it a case difference? I recall that MySQL can be case sensitive. It depends :) . here is a snippet from a linux mysql config file snip

Re: FYI - regex to list installed WO frameworks

2012-09-11 Thread Kieran Kelleher
: Hi Kieran, I thought awk could do it, but it can't handle grouping, so perl to the rescue (aka the fun) : find . -name *.jar | perl -n -e '/(.+).framework\/Resources\/Java\/(\1).jar/ print $1.framework\n' Cheers, Alex 2012/9/11 Kieran Kelleher kelleh...@gmail.com Here

Re: FYI - regex to list installed WO frameworks

2012-09-11 Thread Kieran Kelleher
, Kieran Kelleher kelleh...@gmail.com wrote: Here is the output of the original 3-stage command - I was curious if anyone could produce the same output with a shorter command (purely as a fun exercise :) ) kieran@kieranmacpro ~ find /Library/Frameworks -name *.jar | egrep

Re: FYI - regex to list installed WO frameworks

2012-09-11 Thread Kieran Kelleher
11.09.2012 um 14:56 schrieb Kieran Kelleher kelleh...@gmail.com: Nice. Seems like the winner to me. Fastest and shortest command that functionally works on my machine. :) find /Library/Frameworks -name *.jar | perl -n -e '/(.+).framework\/Resources\/Java\/(\1).jar/ print $1.framework\n

Re: FYI - regex to list installed WO frameworks

2012-09-11 Thread Kieran Kelleher
The power of unix :) On Sep 11, 2012, at 11:01 AM, Bastian Triller bastian.tril...@gmail.com wrote: or use ls: $ ls -1 /Library/Frameworks/*.framework/Resources/Java/*.jar|cut -d/ -f4|sort -u Am Dienstag, den 11.09.2012, 09:30 -0400 schrieb Kieran Kelleher: Clever one

Re: ERAttachment error

2012-09-10 Thread Kieran Kelleher
My guess is that the order of save operations means that sometimes you are not violating the foreign constraint and other times you are. Bottom line, MySQL does not support DEFERRED Foreign Key Constraints, so the easy fix is to eliminate Foreign Key constraints in the database if you use MySQL

FYI - regex to list installed WO frameworks

2012-09-10 Thread Kieran Kelleher
[Just sharing a cryptic command so future me never forgets it :) ] There might be a shorter, more efficient command, but anyway, this works. It lists WebObjects frameworks currently installed in your OS X /Library/Frameworks by looking for paths matching the pattern

Re: FYI - regex to list installed WO frameworks

2012-09-10 Thread Kieran Kelleher
Am Montag, den 10.09.2012, 15:29 -0400 schrieb Kieran Kelleher: [Just sharing a cryptic command so future me never forgets it :) ] There might be a shorter, more efficient command, but anyway, this works. It lists WebObjects frameworks currently installed in your OS X /Library/Frameworks

Re: jasperreports framework

2012-08-13 Thread Kieran Kelleher
I made a few tweaks to your code in bold font below - hope those come through - otherwise just compare to your original code. In case you find a typo, this is OTOH without code-completion . HTH, Kieran PS. Look at the BackgroundTasks presentation from WOWODC and you will see the pattern

Re: jasperreports framework

2012-08-13 Thread Kieran Kelleher
().globalIDForObject( theObject ); I had to use: theObject.editingContext().globalIDForObject( theObject ); or it complained. Ted --- On Mon, 8/13/12, Kieran Kelleher kelleh...@gmail.com wrote: From: Kieran Kelleher kelleh...@gmail.com Subject: Re: jasperreports framework To: Theodore

Re: question about javaEnum prototype

2012-07-21 Thread Kieran Kelleher
On Jul 21, 2012, at 3:30 PM, Tim Worman li...@thetimmy.com wrote: Thanks Ramsey. Yeah. I would really need a many-to-many relationship - which I was hoping to avoid. :-) I was wanting to just store and query keywords for my EO. A flattened many-to-many seems heavy to just associate

Image attribute and REST

2012-07-20 Thread Kieran Kelleher
Just curious how others are handling image (blob/binary) attributes in REST responses. For example, I have a REST EO named Media that has a blob attribute key 'content', typically containing an image. The Media entity also has the mime type, image dimensions, etc as attributes. What I did was

Re: Image attribute and REST

2012-07-20 Thread Kieran Kelleher
...@oeinc.com wrote: of course, you are certain the data itself has to be sent via REST at all? not simply via http? On Jul 20, 2012, at 4:52 PM, Kieran Kelleher kelleh...@gmail.com wrote: Just curious how others are handling image (blob/binary) attributes in REST responses

Re: Git repo layout for own WO projects

2012-07-19 Thread Kieran Kelleher
On Jul 19, 2012, at 3:00 PM, Maik Musall wrote: Hi, I'm about to migrate a large project which is currently managed in subversion to git. Git experience is still limited. Besides wonder frameworks, the project consists of - one application - several frameworks that are more or less

Re: Git repo layout for own WO projects

2012-07-19 Thread Kieran Kelleher
On Jul 19, 2012, at 3:54 PM, Kieran Kelleher wrote: On Jul 19, 2012, at 3:00 PM, Maik Musall wrote: Hi, I'm about to migrate a large project which is currently managed in subversion to git. Git experience is still limited. Besides wonder frameworks, the project consists of - one

Re: Git repo layout for own WO projects

2012-07-19 Thread Kieran Kelleher
On Jul 19, 2012, at 5:02 PM, Maik Musall wrote: Am 19.07.2012 um 21:54 schrieb Kieran Kelleher: On Jul 19, 2012, at 3:00 PM, Maik Musall wrote: I'm about to migrate a large project which is currently managed in subversion to git. Git experience is still limited. Besides wonder

Re: Deployment on Linux (jdbc driver pb)

2012-07-17 Thread Kieran Kelleher
On Jul 17, 2012, at 1:21 PM, Ramsey Gurley wrote: Or just don't use MySQL ;-) I find it's full of fun little surprises like this one. LOL - only if you don't read the docs - and yeah, it should be plug and play with sensible default settings, but what ever is nowadays ;-) That's for the

Re: one last Eclipse mystery... can't connect to any database.

2012-07-16 Thread Kieran Kelleher
Just to be sure you are troubleshooting this right, try this on your terminal: mysql -h localhost -u root -pTHEPASSWORD pi NOTE: there is no space between 'p' and THEPASSWORD and obviously replace THEPASSWORD with your real password since I can't see that in you log output below. What

Re: Deployment on Linux (jdbc driver pb)

2012-07-16 Thread Kieran Kelleher
This is the setting I use in my.cnf (read the comments, especially last line before trying this) snip # If set to 0, table names are stored as specified and comparisons are case # sensitive. If set to 1, table names are stored in lowercase on disk and # comparisons are not case sensitive. If set

Re: Deployment on Linux (jdbc driver pb)

2012-07-16 Thread Kieran Kelleher
tables and it worked, but in the future, I would prefer not to do that. Regards James On Mon, Jul 16, 2012 at 11:27 AM, Kieran Kelleher kelleh...@gmail.com wrote: This is the setting I use in my.cnf (read the comments, especially last line before trying this) snip # If set to 0, table

WOWODC-2012 Git presentations

2012-07-13 Thread Kieran Kelleher
FYI, If you are new to git. The first 3 parts of the 5-part series derived from the Understanding Using Git WOWODC2012 presentation is available in this iTunes feed: http://itunes.apple.com/us/podcast/webobjects-podcasts/id270165303 or at the bottom of this web page:

Re: ERRest Testing

2012-07-12 Thread Kieran Kelleher
Came across this the other day when I was grabbing latest soapUI.app to explore a SOAP webservice. It seems soapUI *might* be a solution for REST service testing . I have not tried it, so YMMV. On Jul 3, 2012, at 11:14 PM, Paul Hoadley wrote: Hi Henrique, On 03/07/2012, at 1:20 PM,

Re: ERRest Testing

2012-07-12 Thread Kieran Kelleher
I guess the URL would be useful :-) http://soapui.org/REST-Testing/rest-functional-testing.html On Jul 12, 2012, at 12:28 PM, Kieran Kelleher wrote: Came across this the other day when I was grabbing latest soapUI.app to explore a SOAP webservice. It seems soapUI *might* be a solution

Re: [Wonder-disc] ERXEC and locking

2012-07-11 Thread Kieran Kelleher
IIRC ERXEC is locked when you touch any of its methods. Unlocking happens *only* when ERXEC.unlockAllContextsForCurrentThread() is called. You can see where that is called in the source code. On Jul 11, 2012, at 6:56 AM, Matteo Centro wrote: From some experimentation it looks like that even

Re: Can't get the integration build?

2012-07-11 Thread Kieran Kelleher
James, you have already cloned the repo, so just cd into it and checkout integration (spelled properly) cd wonder git checkout integration On Jul 11, 2012, at 11:26 AM, James Cicenia wrote: Hello - I am trying to get this ol' laptop working as I travel. When I went to git the

Re: Migrating from EOF to Cayenne

2012-07-11 Thread Kieran Kelleher
John, I think you should consider if you might be able to do a WOWODC-2013 presentation on ERCayenne. -Kieran On Jul 11, 2012, at 11:09 AM, John Huss wrote: At WOWODC there was a lot of interest in migrating from EOF to Cayenne, and even entirely rebasing Wonder to run on top of Cayenne

Fwd: WOWODC 2012 photos

2012-07-04 Thread Kieran Kelleher
Regards, Kieran. (Sent from my iPhone) Begin forwarded message: From: Aaron Rosenzweig aa...@chatnbike.com Date: July 4, 2012 10:31:12 AM EDT To: Kieran Kelleher kelleh...@gmail.com Subject: Help me post to the list Hi Kieran, I'm not able to post to the WOWODC 2012 list, it's

Re: fetchLimit don't affect SQL fetching limit?

2012-06-27 Thread Kieran Kelleher
LIMIT is supported by the Wonder MySQL PlugIn since Nov 22, 2011, commit 6c511bb. You would need the MySQLPlugIn in your build path. On Jun 27, 2012, at 3:13 AM, Gennady Kushnir wrote: I assumed that ( How can I force LIMIT to SQL statement in MySQL? 2012/6/26 Kieran Kelleher kelleh

Re: fetchLimit don't affect SQL fetching limit?

2012-06-27 Thread Kieran Kelleher
Kelleher wrote: LIMIT is supported by the Wonder MySQL PlugIn since Nov 22, 2011, commit 6c511bb. You would need the MySQLPlugIn in your build path. On Jun 27, 2012, at 3:13 AM, Gennady Kushnir wrote: I assumed that ( How can I force LIMIT to SQL statement in MySQL? 2012/6/26 Kieran

Re: fetchLimit don't affect SQL fetching limit?

2012-06-27 Thread Kieran Kelleher
NOT. Is that expected behavior? I assume so, the result of LIMITing the fetch might not bring the relation tuples corresponding to the initial LIMITed fetch. Right? HG On Jun 27, 2012, at 12:55 PM, Kieran Kelleher wrote: Also, you can verify by checking the SQL that is being sent

Re: fetchLimit don't affect SQL fetching limit?

2012-06-26 Thread Kieran Kelleher
It depends on the database plugin you are using. Some plugins take the fetchSpec fetchLimit and incorporate it into the SQL statement in the plugin's EOSQLExpression subclass. The default behaviour of EOF is to limit in memory after the fetch. On Jun 26, 2012, at 10:23 AM, Gennady Kushnir

Re: WO, Git and Jenkins: Impedance mismatch?

2012-06-21 Thread Kieran Kelleher
As you well know Paul, I don't have a Git-Jenkins setup (yet), but off the top of my head, if I was concerned about the network latency and space consumption of cloning a full git repo across the network for every Jenkins job execution, I would approach my setup as follows: (1) First, on the

Re: Can not launch WOnder app / was: WOnder install fails

2012-06-19 Thread Kieran Kelleher
What is your exact stack trace? What source version of Wonder (branch or git commit-id)? On Jun 19, 2012, at 1:50 PM, doug andrews wrote: I'm getting this exact same error. Did you ever figure it out? On Oct 9, 2010, at 11:11 AM, Alexander Spohr wrote: Hi list, if I try to run a

Re: ERXPageTracker question

2012-06-14 Thread Kieran Kelleher
You can just roll your own tracker and track any string you like (build a pseudo URL, for example frameworkname/WOComponentname), since component action URLs won't be of much use I think. Here is an example of a custom tracker component that resides in an application PageWrapper - it should be

ERXFetchSpecification fetchRange support

2012-06-08 Thread Kieran Kelleher
If anyone has time or interest in giving feedback on whether this commit is worthwhile, then please do comment: https://github.com/projectwonder/wonder/pull/213 Thanks, Kieran ___ Do not post admin requests to the list. They will be ignored.

Re: I am going to write a WO book

2012-06-08 Thread Kieran Kelleher
+1. On Jun 8, 2012, at 1:16 PM, Chuck Hill wrote: +1 There is no sense in writing a pure WO app these days, IMO. On 2012-06-08, at 9:55 AM, Pascal Robert wrote: +1 Aren't pure Apple WO apps dead aside from legacy? IMO wonder is the ONLY option to learn new.

Re: import wonder project to eclipse

2012-06-05 Thread Kieran Kelleher
and a rebuilt, all the errors are gone. Still got lots warnings On May 29, 2012, at 2:07 PM, Kieran Kelleher wrote: Those are probably just WOComponent analyzer errors. Just change your preferences and rebuild all projects: Preferences.jpg On May 29, 2012, at 12:46 PM, yizi wang

Re: Properties file for third-party tools

2012-05-30 Thread Kieran Kelleher
Did you try putting the properties file in the Sources folder alongside java classes? On May 30, 2012, at 2:02 PM, Pascal Robert wrote: I have two third-party tools that requires a specific properties file in the class path. I was able to get around that problem for the CloudFiles API, but

Re: Properties file for third-party tools

2012-05-30 Thread Kieran Kelleher
Is it being actually copied to bin dir by the incremental builder? (If not adjust appropriate patternset in woproject dir) On May 30, 2012, at 2:31 PM, Pascal Robert wrote: Le 2012-05-30 à 14:28, Kieran Kelleher a écrit : Did you try putting the properties file in the Sources folder

Re: Percona mysql

2012-05-10 Thread Kieran Kelleher
Driver 5.1.20 should be fine with mysql 5.5.x. Try it and see what happens. On May 10, 2012, at 2:52 AM, Ron X wrote: hi, on official site of MySQL - jdbc-driver has version 5.1.20. but Percona use MySQL version 5.5.x what driver can i use working with Percona? (there is no 5.5 driver

Re: Jasper Report subreport on deployment machine

2012-05-09 Thread Kieran Kelleher
Never used subreports, but by chance is the subreport pathname hardcoded into the master report? Is there a way to specify a relative path perhaps? That looks like a development box pathname to the subreport. On May 9, 2012, at 2:20 PM, Theodore Petrosky wrote: everything was cooking along

Re: ListPage MySQL OutOfMemory

2012-05-04 Thread Kieran Kelleher
What VM arguments are you using for: -XX:MaxPermSize=??? -Xmsm -Xmxm On May 4, 2012, at 9:58 AM, Ron X wrote: i have small database - about 50 Mb... code: ListPageInterface listPage = D2W.factory().listPageForEntityNamed( Song.ENTITY_NAME, session());

Re: MySQL: InnoDB vs MyISAM or InnoDB + MyISAM

2012-05-02 Thread Kieran Kelleher
Big problems. As has been said before, MyISAM will not rollback... Thus every failed editingContext.saveChanges() will result in loss of data integrity and end of the world as we know it. Save the World: Use InnoDB only when using MySQL Regards Kieran ___ Sent from my

Re: MySQL: InnoDB vs MyISAM or InnoDB + MyISAM

2012-05-02 Thread Kieran Kelleher
pay big money to see. D PS: I concur, use InnoDB everywhere. -- David LeBer Codeferous Software On 2012-05-02, at 11:45 AM, Kieran Kelleher wrote: Big problems. As has been said before, MyISAM will not rollback... Thus every failed editingContext.saveChanges() will result in loss

Re: Deploying to multiple servers

2012-04-25 Thread Kieran Kelleher
What does your apache config for the wo adaptor look like? On Apr 25, 2012, at 1:06 PM, John Huss wrote: I'm trying set up an app to run on multiple servers and I'm having some problems. I got it working in my dev environment, but production is not working. The setup is like this: 1)

Re: Model dependencies

2012-04-25 Thread Kieran Kelleher
Have a Principal class in the pluggable framework that looks for a (runtime) properties that define a relationship destination (1) entity name, (2) primary key attribute and (3) relationship name and then dynamically create the relationship at startup time. I have an example framework that

Re: Model dependencies

2012-04-25 Thread Kieran Kelleher
Sure, here you go. https://github.com/kierankelleher/WebObjectsIncubator On Apr 25, 2012, at 5:33 PM, Henrique Prange wrote: Hi Kieran, On 25/04/2012, at 16:12, Kieran Kelleher wrote: Have a Principal class in the pluggable framework that looks for a (runtime) properties that define

Re: Inserting a new obligatory entity in an relation, where? (SOLVED?)

2012-04-17 Thread Kieran Kelleher
Try refaulting the Show after you create the Contract to see if that helps. ec.refaultObject(...) On Apr 17, 2012, at 5:40 AM, Johan Henselmans wrote: On Apr 16, 2012, at 6:16 PM, Ramsey Gurley wrote: On Apr 16, 2012, at 9:13 AM, Johann Werner wrote: Am 16.04.2012 um 16:43 schrieb

Re: Inserting a new obligatory entity in an relation, where? (SOLVED?)

2012-04-17 Thread Kieran Kelleher
. Chuck On 2012-04-17, at 9:41 AM, Kieran Kelleher wrote: Try refaulting the Show after you create the Contract to see if that helps. ec.refaultObject(...) On Apr 17, 2012, at 5:40 AM, Johan Henselmans wrote: On Apr 16, 2012, at 6:16 PM, Ramsey Gurley wrote: On Apr 16, 2012, at 9:13

Re: MariaDB

2012-04-16 Thread Kieran Kelleher
IMHO, if MariaDB, Drizzle, etc do not implement deferred constraints they are a waste of time. On Apr 16, 2012, at 11:23 AM, Michael Gargano wrote: interesting... along the same lines... anyone try out drizzle yet? -Mike On Apr 13, 2012, at 8:08 PM, Kieran Kelleher wrote: I haven't

  1   2   3   4   5   6   7   8   9   10   >