The mistake I made was to create a new nested context for each CSV...not
a new parent context.
On 24 May 2010 20:32, Steve Wells wrote:
> Typical Cayenne users exceedingly fast helpful answers! I've tried a few
> more things based on your replies but nothing positive so far.
>
d try to make a commit
> after let's say 200 inserts and then create a new ObjectContext ...
>
> 2010/5/24 Steve Wells
>
> > Hi All,
> >
> > I am importing from a lot of csv files (2200+) and each csv has between 0
> > and 3000 rows, each row will create a new Dat
Hi All,
I am importing from a lot of csv files (2200+) and each csv has between 0
and 3000 rows, each row will create a new DataObject in a DataContext etc :
The code is simple enough and distilled here is:
for each csv file
RelatedObj rel = getRelatedObj()
for each line in csv file
ently wrong driver class specified for URL:" which was fixed by
copying the correct JDBC driver to "server\default\lib". All
fixed...thanks.
Cheers,
Steve
On 9 April 2010 14:45, wrote:
> Hi Steve,
> try adding
> false
> to the *-ds.xml file.
> Regards,
> Patrick
Hi,
I am wondering if anyone has successfully setup JNDI Datasource under JBoss
5.1.0 with Cayenne 3.0RC2. Under tomcat it is very simple but JBoss is
continuing to give me trouble.
Error:
org.apache.cayenne.ConfigurationException: [v.3.0RC2 Feb 03 2010 13:38:54]
Error during Configuration initi
ry: " + summary);
}
2010/1/12 Andrey Razumovsky
> Nope, unfortunately (correct me if i'm wrong) Cayenne doesn't support
> constructors in EJBQL (yet)
>
> 2010/1/12 Steve Wells
>
> > Sorry forgot to add using Cay3-RC1 (congrats on the release!)
> >
&
Sorry forgot to add using Cay3-RC1 (congrats on the release!)
2010/1/12 Steve Wells
> Hi All,
>
> I have an EJBQL query selecting a grouped value from a master table
> (Category.name) and the count of detail rows for each grouping (ie count of
> the Category.questions), so I get
Hi All,
I have an EJBQL query selecting a grouped value from a master table
(Category.name) and the count of detail rows for each grouping (ie count of
the Category.questions), so I get results:
cat1, 5
cat2, 3
cat3, 10
etc...
Ideally what I need to do is get the results into a java List, so I wa
Hi group,
Is it still true that only a single cayenne.xml file is allowed?
If multi is now allowed are there any pointers on how to get this going?
Our use case is that of deploying a couple of common domains from one
cayenne.xml and then domain per other cayenne.xml that is specific to
getting
ocs still don't have it.
>
> Andrus
>
>
> On Nov 28, 2008, at 6:44 AM, Steve Wells wrote:
>
> Hi,
>>
>> I just started trying to use the maven plugin inparticular for the cdbgen
>> goal and am having no luck, specific error:
>> 'cdbgen' w
Hi,
I just started trying to use the maven plugin inparticular for the cdbgen
goal and am having no luck, specific error:
'cdbgen' was specified in an execution, but not found in the plugin
Pretty much taken the use of it right from the doco. Has anyone had luck
with this?
Thanks,
Steve
for details
2008/8/26 Mike Kienenberger <[EMAIL PROTECTED]>
> Mambo, you might also take a look at Steve's other thread on ZK and
> thread-safety issues.
>
> http://osdir.com/ml/java.cayenne.user/2007-05/msg00067.html
>
> On 8/24/08, Steve Wells <[EMAIL PROTECTED]> wr
Just started trying the EJBQLQuery and ran into trouble with date type
parameters using C3M4, hsql
EJBQLQuery query = new EJBQLQuery("select count(e),
e.toDocType.marketplaceDocType from EmcTransaction e where " +
"e.toReceivedPayload.dateReceived > :fromDate GROUP BY
e.toDocType.marketplaceDocT
The way I seem (seem as I am yet to *fully* test this) to have solved that
is to use Spring to create the ObjectContext and then you inject that in to
whatever else you want. This will not be Thread bound but Singleton, I
guess in Spring you could write (or copy) a Thread bound scope if required.
[ ] Java 1.4 support
[X] Java 5 support
I'm on Java 6
>
>
>
ach.
>
> I am sure someone else can come up with other variants.
>
> Regards,
> - Tore.
>
> On May 23, 2007, at 03:30, Steve Wells wrote:
>
>> I guess the result could be hard to predict and test? Are you
>> suggesting
>> that I should wrap the block of
wrote:
On May 22, 2007, at 05:22, Steve Wells wrote:
> My approach would be to have a simple per session DC and a global
> web app
> one...at this stage, hardly seems dangerous, what could possibly go
> wrong?
> ;)
What if a user (session) issues two simultanous requests?
- Tore.
216:36 PM , Steve Wells wrote:
> Ok, I've raised *CAY-791* <https://issues.apache.org/cayenne/browse/
> CAY-791>
>
> That was my concern with InheritableTL, while I had some instant
> gratification that it worked I had worries about it that you have both
> expres
of the click filter that allows for a single
DC per thread and checks that there are no uncomitted objects in the
context at the end of each request-response loop.
Perhaps ZK has some place where you can initiate the ZK-threads
DataContext?
Regards,
- Tore.
On May 21, 2007, at 06:23, Steve W
Hi,
I've been playing with the ZK (www.zkoss.org) framework for building AJAX
apps, and so far have found it rather impressive and easy to use.
Having hit my first roadblock now is getting DataContext, as each ZK request
runs in a separate thread (see:
http://www.zkoss.org/smalltalks/zkacegi/zka
on menu header)
http://cayenne.apache.org/documentation.html
(wait for about an hour for it to refresh on the live site)
We may find a more visible way to display it in the future.
Andrus
On Apr 11, 2007, at 4:43 AM, Steve Wells wrote:
> I put that tutorial on SF with a couple of minor updates:
&
I put that tutorial on SF with a couple of minor updates:
https://sourceforge.net/projects/tapcaycrud
On 10/04/07, Peter Schröder <[EMAIL PROTECTED]> wrote:
there is also a small tutorial using tapestry:
http://web.aanet.com.au/websystems/start.html
-Ursprüngliche Nachricht-
Von: Ma
22 matches
Mail list logo