On Jan 13, 2010, at 7:36 PM, Ken Anderson wrote:
One minor point... weight, which is a BigDecimal, is immutable.
The 'setScale' method actually returns a new BigDecimal, so this
code will not do what is intended.
This has to be one of my biggest pet peeves... it is probably the
worst
One minor point... weight, which is a BigDecimal, is immutable. The
'setScale' method actually returns a new BigDecimal, so this code will
not do what is intended.
This has to be one of my biggest pet peeves... it is probably the
worst named method in all of Java land.
Ken
On Jan 13,
Hi Timo,
If you mix MyISAM and InnoDB, then when a transaction fails, IIRC, just he
InnoDB tables will rollback, the MyISAM tables will not. If important,to you,
then you could potentially write some logic that if an ec save fails, then do
some logic to delete the rows (EOs) inserted into the M
On Jan 13, 2010, at 5:08 PM, Mark Ritchie wrote:
On 13/Jan/2010, at 4:07 PM, Lon Varscsak wrote:
Sighing is not allowed on the list. ;)
Apparently you're having a different day then I am! ;-)
I sent an example a few minutes ago. Yes, that does sound like
what I'm describing.
Your message
On Jan 12, 2010, at 4:37 PM, Amiel Montecillo wrote:
@Ramsey, yeah I had the feeling I might end up with gray hairs
trying to find that EO too so I am going with the index name.
@Chuck - I didn't have to get the table name to get an entity. I
notice I can get the EOAdaptorOperation that ex
On 13/Jan/2010, at 4:07 PM, Lon Varscsak wrote:
> Sighing is not allowed on the list. ;)
Apparently you're having a different day then I am! ;-)
> I sent an example a few minutes ago. Yes, that does sound like what I'm
> describing.
Your message and mine crossed paths... ;-)
Thanks for posting t
On Jan 13, 2010, at 4:28 PM, Travis Britt wrote:
On Jan 13, 2010, at 6:51 PM, Chuck Hill wrote:
Row size limit? Oooh, tell me more! ;-)
When I physicalize Oracle or MySQL I often imagine this hulking,
idiosyncratic Soviet-era metal contraption that in the hands of its
builders will re
On Jan 13, 2010, at 6:51 PM, Chuck Hill wrote:
> Row size limit? Oooh, tell me more! ;-)
When I physicalize Oracle or MySQL I often imagine this hulking, idiosyncratic
Soviet-era metal contraption that in the hands of its builders will relocate
mountains but which I am forced to drive to pick
You could model it as a right-outer join and optional, but I think
that EOF is still going to have a hissy fit when it does not find the
row. Worth a try and a good bug to log with Apple if it does not work.
Chuck
On Jan 13, 2010, at 4:01 PM, Lon Varscsak wrote:
Okay, let me try to give a
I should add that that sounds what I'm talking about, but consider that you
don't always have a photo for a Talent.
-Lon
On Wed, Jan 13, 2010 at 5:07 PM, Lon Varscsak wrote:
> Sighing is not allowed on the list. ;) I sent an example a few minutes
> ago. Yes, that does sound like what I'm descr
Sighing is not allowed on the list. ;) I sent an example a few minutes ago.
Yes, that does sound like what I'm describing.
On Wed, Jan 13, 2010 at 4:56 PM, Mark Ritchie wrote:
> On 13/Jan/2010, at 2:53 PM, Lon Varscsak wrote:
> > Is there a way to model an optional to-one relationship from the
On 13/Jan/2010, at 2:53 PM, Lon Varscsak wrote:
> Is there a way to model an optional to-one relationship from the primary key
> to a primary key of another object?
*sigh* As with so many conversations theses days... What are you trying to do?
My initial response is look at how the Movies.eomo
Okay, let me try to give an example (although a contrived example).
Entity: Part (PK: partNumber)
Entity: PartAttributes (PK: partNumber)
It's a to-one relationship from Part to PartAttributes, but the
part_attributes table doesn't have to have a row for a given part. If this
were a to-many re
On Jan 13, 2010, at 2:05 PM, Gennady Kushnir wrote:
2010/1/13 Chuck Hill :
On Jan 13, 2010, at 4:04 AM, Gennady Kushnir wrote:
may this be the reason?
public void setWeight(BigDecimal aValue) {
if(weight().compareTo(aValue) != 0) {
if(weight().compareTo(BigDecimal.ZERO) ==
On Jan 13, 2010, at 3:11 PM, Travis Britt wrote:
Yeah I'm doing this, everything is InnoDB except for a read-mostly
(as in, write once in a blue moon) table that's MyISAM due to
InnoDB's row size limit
Row size limit? Oooh, tell me more! ;-)
and the fact that it's currently got a ton
On Jan 13, 2010, at 3:45 PM, Neil MacLennan wrote:
On 12 Jan 2010, at 01:07, Chuck Hill wrote:
Scotch?!!? That is not very Irish of you! I thought that Scotch
was what the Scottish drank because they knew not how to make Irish
whiskey.
*cough*
Uh oh. I was afraid of that.
:-P
Modelling it as FK to PK seems like the way to go, unless I am
misunderstanding what you need.
On Jan 13, 2010, at 3:24 PM, Lon Varscsak wrote:
Yes it is the same PK in both tables but there are no rows in the
relationship. This is a pretty common practice and I just hate
modeling a to-m
On 12 Jan 2010, at 01:07, Chuck Hill wrote:
> Scotch?!!? That is not very Irish of you! I thought that Scotch was what
> the Scottish drank because they knew not how to make Irish whiskey.
>
*cough*
String geoLocate() {
String location =
http://maps.google.co.uk/maps?f=q&geocode=&sll=55.9
Yes it is the same PK in both tables but there are no rows in the
relationship. This is a pretty common practice and I just hate modeling a
to-many and then provide interfaces as a to-one.
On Wed, Jan 13, 2010 at 4:14 PM, Travis Britt wrote:
> Short answer: no. Is the PK not really a PK? If it
Short answer: no. Is the PK not really a PK? If it is a real PK, how are there
rows without it?
On Jan 13, 2010, at 5:53 PM, Lon Varscsak wrote:
> Is there a way to model an optional to-one relationship from the primary key
> to a primary key of another object?
_
Yeah I'm doing this, everything is InnoDB except for a read-mostly (as in,
write once in a blue moon) table that's MyISAM due to InnoDB's row size limit
and the fact that it's currently got a ton of varchar(255) columns.
On Jan 13, 2010, at 4:01 PM, David LeBer wrote:
> I know it's ugly, but you
Is there a way to model an optional to-one relationship from the primary key
to a primary key of another object?
-Lon
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Hel
It looks to me like the nested element of
might be persuaded to add the right thing to the
various *ClassPath.txt files, but I haven't stumbled across the right
incantation, yet.
causes the following to
be added to the top of (e.g.) MacOSClassPath.txt:
HOMEROOT/workspace/MyProject/Res
2010/1/13 Chuck Hill :
>
> On Jan 13, 2010, at 4:04 AM, Gennady Kushnir wrote:
>
>> may this be the reason?
>>
>> public void setWeight(BigDecimal aValue) {
>> if(weight().compareTo(aValue) != 0) {
>> if(weight().compareTo(BigDecimal.ZERO) == 0
>> || aValu
On 2010-01-13, at 3:52 PM, Timo Hoepfner wrote:
> Hi list, especially Kieran. :)
>
> I have a project that evolved over the years. Basically it's a product and
> image database, which also provides the content for the customer's home page.
> The product and image database and CMS administratio
Hi list, especially Kieran. :)
I have a project that evolved over the years. Basically it's a product and
image database, which also provides the content for the customer's home page.
The product and image database and CMS administration is done in WO, the
customer's home page was coded in PHP
all that does is update the classes include patternset, though .. so if you did
it manually, it should end up the same thing
On Jan 13, 2010, at 2:21 PM, Jeffrey Simpson wrote:
> When you put it in your source directory did you right click on it and choose
> WOLIPS -> Include as Class?
>
>
>
When you put it in your source directory did you right click on it and choose
WOLIPS -> Include as Class?
Jeffrey Simpson
Senior Software Engineer
Telephone: 240.235.2144
Fax: 240.235.2174
simp...@yfu.org
Youth For Understanding (YFU) prepares young people for their responsibilities
and oppor
But even that isn't going to handle what this lib of mine needs,
which is that the *directory* where the keystore file lives be in the
classpath.
On Jan 13, 2010, at 11:47 AM, Mike Schrag wrote:
hmmm .. i thought class includes were used by build.xml also .
actually, i took a look at
looking for a WO deployment consultant guru to help stabilize and
optimize our WO deployment and probably analyze our application code.
servers: apple xserve 10.5.8
java: java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-
b03-333-9M3125)
Java HotSpot(TM
On Jan 13, 2010, at 4:04 AM, Gennady Kushnir wrote:
may this be the reason?
public void setWeight(BigDecimal aValue) {
if(weight().compareTo(aValue) != 0) {
if(weight().compareTo(BigDecimal.ZERO) == 0
|| aValue.compareTo(BigDecimal.ZERO) == 0)
FYI, Info on the *FREE* MySQL Cluster performance optimization best practices
for Chuck's favorite enterprise database ;-)
Begin forwarded message:
> From: MySQL
> Date: January 13, 2010 12:31:01 PM EST
> To: kieran_li...@mac.com
> Subject: Download the MySQL Guide: Best Practices in Optimizing
This actually isn't a directory dep .. it's really "Adding a non-Java jar
resource" or something like that, but yeah, probably someone should put this
info somewhere.
On Jan 13, 2010, at 11:55 AM, Ray Kiddy wrote:
>
> On Jan 13, 2010, at 8:41 AM, Patrick Robinson wrote:
>
>> Ah! That works i
On Jan 13, 2010, at 8:41 AM, Patrick Robinson wrote:
Ah! That works in Eclipse (it causes the .keystore file to be
copied to build/app.woa/Contents/Resources/Java/), but it doesn't
work for deployment. Do I need to add something to build.xml to
make it do the same thing there?
Looki
hmmm .. i thought class includes were used by build.xml also .
actually, i took a look at the project i have that uses Kerberos (and has a
krb5.conf in source):
looks like i added it to the wocompile script. kind of lame.
On Jan 13, 2010, at 11:41 AM, Patrick Robinson wro
Ah! That works in Eclipse (it causes the .keystore file to be copied to
build/app.woa/Contents/Resources/Java/), but it doesn't work for deployment.
Do I need to add something to build.xml to make it do the same thing there?
On Jan 13, 2010, at 11:11 AM, Mike Schrag wrote:
> you need to put
you need to put it in your source folder and add the file extension to the
classes.include.patternset ...
On Jan 13, 2010, at 11:01 AM, Elizabeth Lynch wrote:
> Hi Patrick
>
> How about right-clicking it and trying WOLips Tools->Include as Resource?
>
> Liz
>
> On 13 Jan 2010, at 14:30, Patri
Hi Patrick
How about right-clicking it and trying WOLips Tools->Include as Resource?
Liz
On 13 Jan 2010, at 14:30, Patrick Robinson wrote:
> No, that didn't work... it just gets ignored. Thanks for the suggestion,
> though; it sounded promising! I thought it might result in the file's being
set ServerName on your apache to what you want it to use
ms
On Jan 13, 2010, at 10:19 AM, Amedeo Mantica wrote:
> hi, in a secure wo/erx form the tag generates:
>
> "https://HOST/cgi-bin/bla bla bla..."
>
> the HOST value "seem" to be taken resolving machine reverse ip address, this
> is real
hi, in a secure wo/erx form the tag generates:
"https://HOST/cgi-bin/bla bla bla..."
the HOST value "seem" to be taken resolving machine reverse ip address, this is
really bad, if I have server inside NAT i get a wrong hostname !!!
Regards
Amedeo ___
Some time ago I also needed a properties file on the classpath and after trying
and failing to convince the build system to help me, I gave up and added
-DWOEnvClassPath= to the app configuration on JavaMonitor. If you find a better
way let me know :-)
Henrique Gomes
On Jan 13, 2010, at 2:30
Another untested "stab" is:
For development, add a project dir to the classpath. I expect that is
straightforward and Eclipse will take care of it.
For deployment, have a look at the APP.woa/Contents/MacOS/MacOSClassPath.txt
file (or appropriate one if using other platform). When a WOA is start
No, that didn't work... it just gets ignored. Thanks for the suggestion,
though; it sounded promising! I thought it might result in the file's being
put into Contents/Resources/Java/, which *is* in the classpath.
- Patrick
On Jan 13, 2010, at 6:17 AM, David Avendasora wrote:
> Hi Patrick,
>
may this be the reason?
public void setWeight(BigDecimal aValue) {
if(weight().compareTo(aValue) != 0) {
if(weight().compareTo(BigDecimal.ZERO) == 0
|| aValue.compareTo(BigDecimal.ZERO) == 0)
_integralPresenter = null;
Hi Patrick,
This is just a stab-in-the-dark, but can't you just drop it into the Sources
directory?
Dave
On Jan 12, 2010, at 11:20 PM, Patrick Robinson wrote:
> I need to use a java library that expects to find my java keystore file
> (which would normally be specified by the javax.net.ssl.ke
I Sasha,
seem to work on IE 7.0.5730.13
I get the umich login page
regards
Amedeo
On 12/gen/2010, at 19.17, Sacha Michel Mallais wrote:
> Hi all,
>
> Has anyone had any issues with using AjaxUtils.redirectTo() with IE7? I'm
> getting this error on each page that uses redirectTo() on IE7 (ty
46 matches
Mail list logo