woproject sources

2014-04-24 Thread Markus Stoll, junidas GmbH
Hi, where can I find the current woproject sources? http://objectstyle.com/woproject is no longer existing. On sourceforge there is something, but seems quite old. I wonder why this not part of the wocommunity repository? Markus smime.p7s Description: S/MIME cryptographic signature __

Re: woproject sources

2014-04-24 Thread Markus Stoll, junidas GmbH
found it, its part of wolips sorry, Markus Am 24.04.2014 um 10:58 schrieb Markus Stoll, junidas GmbH : > Hi, > > where can I find the current woproject sources? > http://objectstyle.com/woproject is no longer existing. > On sourceforge there is something, but seems quite old. > > I wonder wh

Re: Using WOAnyField or ERXAnyField

2014-04-24 Thread David Avendasora
On Apr 24, 2014, at 12:20 AM, Paul Hoadley wrote: >>> >>> What am I missing here? >> >> A form? > > Great guess, as I regularly forget the form and it's the first thing I check. > But no, it's in a form. Nuts. I make that mistake at least once every couple months and spend hours trying t

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Matthias Jakob
Thank you David, John, Tested and found out that the first deployment on a fresh server works fine with migrations. Uninstall WAR Application, delete Tables, Install again - start - no migrations are executed ;-( Glassfish, Websphere same behavior ... Why? Confused ;-( Thank you, Matthias

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Theodore Petrosky
what is the deployment environment? what database? is the database on the same machine? what do the logs of the database say? (can you increase the logging to verbose?) at least then you would know if your app is trying to talk to the backend. migrations can not create the database. it must exist

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Matthias Jakob
Hi Theodore, thank you for your help! - WebSphere or Glassfish its the same. - Microsoft SQL Server - Remote Server - second start with deleted Tables - no connection on Startup!!?!? - Only _dbupdater and my single demo Table was deleted … No Database Drop … its already there ... ;-( Its reall

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread David Avendasora
Hi Matthaias, Override the migrationsWillRun method and stick a breakpoint on it. Let’s make sure that it is getting that far. Something like: @Override protected void migrationsWillRun(ERXMigrator migrator) { super.migrationsWillRun(migrator); <— breakpoint here

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread David Avendasora
On Apr 24, 2014, at 9:16 AM, David Avendasora wrote: > Override the migrationsWillRun method and stick a breakpoint on it. Let’s > make sure that it is getting that far. Umm… in your subclass of ERXApplication, in case that wasn’t clear… It probably was to you, but hey, Future Dave is going t

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Matthias Jakob
Clear ;-) Sir! ;-) Am 24.04.2014 um 15:18 schrieb David Avendasora : > > On Apr 24, 2014, at 9:16 AM, David Avendasora > wrote: > >> Override the migrationsWillRun method and stick a breakpoint on it. Let’s >> make sure that it is getting that far. > > Umm… in your subclass of ERXApplicatio

Re: Using WOAnyField or ERXAnyField

2014-04-24 Thread Aaron Rosenzweig
Hi Paul, my guess is that you only need “updateDisplayedObjects()” At any rate, if you want it more automatic, make your own “filter” widget. use the AnyField like you have inside of it but then wrap it with an “AjaxObserveField” so that when you make a change it will automatically submit and

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread John Huss
Are you restarting the app server or just uninstalling the war? You have to restart the server I think. On Thu, Apr 24, 2014 at 7:59 AM, Matthias Jakob wrote: > Hi Theodore, > thank you for your help! > > - WebSphere or Glassfish its the same. > - Microsoft SQL Server > - Remote Server > - sec

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Theodore Petrosky
don’t think so. I do this all the time. are you sure you are including all frameworks when you build your app? maybe the sqlserver .jar isn’t where you think it is. On Apr 24, 2014, at 10:22 AM, John Huss wrote: > Are you restarting the app server or just uninstalling the war? You have to

Re: SQL Generation Issue

2014-04-24 Thread David Avendasora
This is now biting me. I have the following: public static ERXEnterpriseObjectCache cacheByPrimaryKey = new ERXEnterpriseObjectCache(Airport.ENTITY_NAME, "primaryKey", // Cache Key

Re: SQL Generation Issue

2014-04-24 Thread David Avendasora
On Apr 24, 2014, at 11:05 AM, David Avendasora wrote: > If ERXEnterpriseObjectCache breaks it, what else can? That was *supposed* to be rhetorical. But, well, guess what? I can tell you at least one other thing that breaks it: ERXFrameworkPrincipal.setUpFrameworkPrincipalClass(Class) Seri

Re: [Wonder-disc] SQL Generation Issue

2014-04-24 Thread Chuck Hill
Still working on my first cup of coffee… is the issue here that you are suing a static initializer on an EO? If so, I think you need to show it to us, or tell us why. That is a bad thing to do if it touches any of EOF. It just is. Chuck On 2014-04-24, 8:42 AM, "David Avendasora" wrote: O

Re: [Wonder-disc] SQL Generation Issue

2014-04-24 Thread David Avendasora
It’s in the previous email. Here again: public static ERXEnterpriseObjectCache cacheByPrimaryKey = new ERXEnterpriseObjectCache(Airport.ENTITY_NAME, "primaryKey", // Cache Key

Re: SQL Generation Issue

2014-04-24 Thread Chuck Hill
On 2014-04-24, 8:05 AM, "David Avendasora" wrote: Lack of good code hygiene beyond pretty formatting has now bit me. I should have had the following like a real developer: protected static ERXEnterpriseObjectCache cacheByPrimaryKey = null; protected static ERXEnterpriseObjectCache cacheByPrimar

Re: SQL Generation Issue

2014-04-24 Thread David Avendasora
> Either that or I’m doing something fundamentally wrong. Place your bets! Okay all you people that bet on “SQL generation is busted” are out of luck! Shockingly *I* was doing something wrong. What? Nobody bet against it being my fault? Sigh. Anyway, here’s what I was doing “wrong”: We are us

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Matthias Jakob
Hi David, protected void migrationsWillRun(ERXMigrator migrator) { // TODO Auto-generated method stub super.migrationsWillRun(migrator); System.out.println("-->migrationsWillRun<--"); } Is never called, local or in the Appserver ??

Re: [Wonder-disc] SQL Generation Issue

2014-04-24 Thread David Avendasora
Just to whine/whinge a little more, If you simply remove the source-code directories from the class path, then EOF can’t find the classes as defined in the EOModel, so what does EOF do? Throw an exception? Nope. Just uses EOGenericRecord instead. Silently. That would have gotten me around the i

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Matthias Jakob
Hi David, hi Andrew, hi there, after a remote debugging session I’ve found the problem (Remember I will use a JNDI JDBC Datasource!): In ERXMigrator protected boolean canMigrateModel(EOModel model) { String adaptorName = model.adaptorName(); if ("Memory".

Entity Modeler standalone

2014-04-24 Thread Aaron Rosenzweig
Hi WOrriors, I’ve put a freshly built pure java stand-alone EntityModeler here for the moment: https://www.dropbox.com/s/npu2gx3b060j2sa/Entity%20Modeler_April_24_2014.zip But before you get excited, read on… Dave Avendasora cued me in to pure java app version of Entity Modeler that was crea