element not present in table2 .don't
> want error to throw in page
>
> How solve javax.persistence.EntityNotFoundException with JPA (not by using
> @NotFound in HIBERNATE)
>
> Could you please help.
>
> --
> Thanks & Regards
> Prabu.N
Craig L Russel
uirements, but in general just use the
List behavior until you find you need something more. And then
ask here to see if there's a better way.
Craig
Thanks,
Chris
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@oracle.com
P.S. A good JDO? O, Gasp!
e, you should see no differences in functionality.
Like I said, Marc's posting prompted me to revisit this topic. I'm
just
exploring the option with no immediate plans of actually doing the
work...
Thanks,
Kevin
[1]
http://openjpa.208410.n2.nabble.com/weird-JDO-Exception-whe
r.
After I added the correct fetch plan : A.class, id, everything works
fine.
What do you think ?
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@oracle.com
P.S. A good JDO? O, Gasp!
ist()
call.
What am i missing here?
thanks for infos.
---
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@oracle.com
P.S. A good JDO? O, Gasp!
st t =
em.find(Test.class, 1);
t.setName("new
name");
em.merge(t);
em.getTransaction().commit();
em.close();
}
}
Any clues?
Joel
________
8:00? 8:25? 8:40? Find a flick in no time
with the Yahoo! Search movie showtime
shortcut.
http://tools.search.yahoo.com/shortcuts/#news
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@oracle.com
P.S. A good JDO? O, Gasp!
like this when I have to, but I have people on staff writing
JavaScript extensions to the product who know nothing about how JPA
works
and ideally shouldn't have to.
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@oracle.com
P.S. A good JDO? O, Gasp!
t to do after
deleting
an object, so if find() fails, that's OK. But the above scenario is
a little
harder to understand. Why can't I change a property on an object,
delete it,
then save some *other* object. I'm glazing over the problem of using
JDBC to
do the delete, of course, but you see my point.
--
Daryl Stultz
_
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
http://www.opentempo.com
mailto:daryl.stu...@opentempo.com
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@oracle.com
P.S. A good JDO? O, Gasp!
Congratulations Heath!
Craig
On Jan 5, 2011, at 12:14 PM, Michael Dick wrote:
The OpenJPA PMC recently extended committership to Heath Thomann and
he
accepted.
Welcome aboard Heath!
-mike
Craig L Russell
Secretary, Apache Software Foundation
Chair, OpenJPA PMC
c...@apache.org http
-2.1.0-SNAPSHOT.jar no longer need to include a
dependency exclusion for commons-logging.
Enjoy!
Donald
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@oracle.com
P.S. A good JDO? O, Gasp!
And I meant to add that you could also consider the two tables to be
in an inheritance relationship in which the table with the "logical
foreign key" maps to an Entity that is a subclass of the other Entity.
Craig
On Jul 16, 2010, at 10:39 PM, Craig L Russell wrote:
There
Entity's own primary table.
Craig
On Jul 16, 2010, at 6:57 PM, KARR, DAVID (ATTSI) wrote:
Would you say that the following statement is accurate or not?
"The JPA specification doesn't have a way to deal with a shared
primary
key."
Isn't this what "secondary-tabl
enjpa.208410.n2.nabble.com/Disabling-enhancement-on-my-netbeans-pro
ject-tp3861704p5280701.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@oracle.com
P.S. A good JDO? O, Gasp!
connection,
but I'm guessing the EM would close it before my JDBC operation is
done.
Thanks.
--
Daryl Stultz
_
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
http://www.opentempo.com
mailto:daryl.stu...@opentempo.com
Craig L Russell
Ar
toString method like yours in my
project
could crash.
--
Daryl Stultz
_
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
http://www.opentempo.com
mailto:daryl.stu...@opentempo.com
Craig L Russell
Architect, Oracle
http://db.apache.
y what all the
enhancement is for, right? But, I don't think I care, do I?
Can I disable the analysis for certain methods?
Thanks.
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@oracle.com
P.S. A good JDO? O, Gasp!
Pinaki
--
View this message in context:
http://openjpa.208410.n2.nabble.com/OpenJPA-confusing-classes-tp5094249p5099457.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@oracle.com
P.S. A good JDO? O, Gasp!
ood luck to all those that will apply.
You are welcome to tweet, blog as appropriate.
Regards,
The Travel Assistance Committee.
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@oracle.com
P.S. A good JDO? O, Gasp!
ClusterJPA has only been tested with OpenJPA 1.2.0. Can you try this
and let me know?
Craig
On May 6, 2010, at 10:05 AM, Craig L Russell wrote:
Hi Marton,
The component you're using is indeed the new ClusterJPA that was
shipped as part of MySQL Cluster 7.1.3 last month.
This is an
t from the OpenJPA Users mailing list archive at Nabble.com.
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@oracle.com
P.S. A good JDO? O, Gasp!
09 PM, C N Davies wrote:
I guess it is "Not a Number",
A long shot: do you have any JavaScript involved?
--
Daryl Stultz
_
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:da...@6degrees.com
Craig L Russell
Ar
s
much as I can see.
For right now, we moved the capitalizing logic out of the entity, but
was wondering if there is a way to move it back to the entity...
-Wes
--
Wes Wannemacher
Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!
Craig L Russe
dbc.SynchronizeMappings=buildSchema
-Dopenjpa.Log=DefaultLevel=WARN,SQL=TRACEargument>
-classpath
hellojpa.Main
Do you have any idea of what could be the problem?
--
Hez
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@oracle.com
P.S. A good JDO? O, Gasp!
(probably renamed to 2.1)
will
still be open for any changes.
Also, please use this email thread to discuss any critical patches
that
you would like to see considered for 2.0.0.
Thanks,
Donald
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
40
ass Country implements Serializable {
@Column(name = "COUNTRY_CODE")
@Id
private String countryCode;
--
View this message in context:
http://n2.nabble.com/How-to-Setup-a-Named-Query-to-Use-Eager-Fetch-tp4523309p4523309.html
Sent from the OpenJPA Users mailing list archive at
stinct", with the same result.
I have a feeling I'm heading towards having to construct a specific
query for the bars that are child of this foo and are in the date
range.
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun
feeling I'm heading towards having to construct a specific
query for the bars that are child of this foo and are in the date
range.
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
able here:
http://www.clusterdb.com/mysql-cluster/upcoming-webinars-for-java-and-jpa-access-to-mysql-cluster/
>>
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
57 AM, wang yu wrote:
Craig:
Thank you for your quick response.
If I close it, the connection will be returned into pool or just
destroyed?
Regards,
Yu Wang
On Thu, Jan 21, 2010 at 8:56 PM, Craig L Russell > wrote:
Hi Yu Wang,
You need to tell OpenJPA that you're not using the Connecti
y hashCode and equals.
Ordered collections (e.g. TreeSet) require the elements to implement
Comparable or to have a Comparator specified at creation.
Maybe we're reading different parts of the spec...
Craig
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/j
l, Class
resultClass) to query with native sql?
Regards,
Yu Wang
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
other tables
...
*/
}
--
View this message in context:
http://n2.nabble.com/openjpa-ignoring-column-annotation-tp4286639p4287474.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
On Jan 11, 2010, at 10:57 AM, Michael Dick wrote:
On Mon, Jan 11, 2010 at 12:38 PM, Craig L Russell >wrote:
Hi Mike,
On Jan 11, 2010, at 7:24 AM, Michael Dick wrote:
Hi Craig,
That sounds reasonable for this specific use case. I'm a little
leery of
doing too much validatio
nnotation-tp4286639p4286639.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
in their own way.
The columnDefinition is not further standardized in the
specification so we
can do anything we want to with it.
We could analyze the columnDefinition and look for the ANSI standard
strings NCHAR(n) and NVARCHAR(n) and translate these into the
database-specific type.
Craig
Cr
er standardized in the specification
so we can do anything we want to with it.
We could analyze the columnDefinition and look for the ANSI standard
strings NCHAR(n) and NVARCHAR(n) and translate these into the database-
specific type.
Craig
Craig L Russell wrote:
Hi,
On Jan 8, 2010, a
't support the
standard columnDefinition annotation in the way you want it to?
Craig
Marc Boudreau
Software Developer
IBM Cognos Content Manager
marc.boudr...@ca.ibm.com
Phone: 613-356-6412
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailt
is a column in
the CATEGORY table that is the target of a foreign key in the
CATEGORY_ES table.
The semantics of a one to one relationship are very similar to a
secondary table so most of your application logic should work. Just
check the reference for null (don't assume that
it overdue. The 1.2.x tree is in pretty good shape, is anyone
opposed to locking it down this week and starting a release on Monday?
-mike
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
which entity was having the problem?
It seems to me that this "catch" clause in that method (shown below)
is
missing the opportunity to provide a little more useful information.
The resulting SQLException doesn't tell me anything. Is it reasonable
to enhance this to provide more
mmit anyway), I can't see that referencing the
id of a
newly persisted entity before commit is a bad coding practice.
Anyone have a
different opinion?
--
Daryl Stultz
_
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:da...@6degrees.c
ns in their own name
spaces, and they must have a completely different "orm.xml" in their
own name spaces in order to complement (not extend) the orm.
Craig
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S
n.
mailto:jsr-317-feedb...@sun.com
Craig
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
alues?
On Thu, Dec 17, 2009 at 6:31 PM, Craig L Russell
wrote:
You would need your own value type as an extra attribute of your
Enum
class, and then use a special OpenJPA mapping to get the values to
and from
the database.
Maybe it's the "special OpenJPA mapping" info the OP
ues. I can't just assume the first value maps to "0",
and so
on. I don't see an obvious way to define an enumerated type where I
can
set the ordinal values. Am I missing something simple here?
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
I guess I can at
least
make that statement.
The main thing is to open an issue and propose where in the
documentation *you* would expect the missing information to be. We can
then discuss in the context of a "change request" what material should
go there.
Thanks,
Crai
pringframework.transaction.interceptor.TransactionInterceptor.invok
e(TransactionInterceptor.java:101)
at
org
.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:171)
at
org.springframework.aop.framework.Cglib2AopProxy
$DynamicAdvis
ercept(Cglib2AopProxy.java:635)
at
com.att.ecom.dynamiccontent.service.CatalogService$$EnhancerByCGLIB$
$5a7
c3444.retrieveCatalogTree()
at
com.att.ecom.dynamiccontent.content.Content.getCatalog(Content.java:
35)
----
Craig L Russell
Architect, Sun Java Enterpri
n should be ordered by a column value in the join table.
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
class did.
When
JPA
enhanced the classes, it didn't copy the annotations.
My app currently doesn't use build-time enhancement or the
javaagent. I
can't remember exactly what OpenJPA does in that situation. I
think
it's still enhancing the class, but on demand.
Is this issue wit
t remember exactly what OpenJPA does in that situation. I
think
it's still enhancing the class, but on demand.
Is this issue with non-copied annotations really an issue, or
should
I
look elsewhere for why CXF isn't serializing my data (I'm
asking a
similar question on the
think I'd prefer to have the service layer be transactional, even if
it's only read-only, but I'm wondering what the impact will be either
way. Will this give me overhead I don't need? Will NOT using
transactional semantics possibly create some race condition that mig
I'm asking a
similar question on the CXF list)?
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
degrees.com
mailto:da...@6degrees.com
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
AllFields(Class)
This sounds like a non-optimization to me. It just isn't that
expensive to construct fetch plans.
Craig
Thanks !
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7
d by this. Under what circumstances will a
hint be
ignored, and when will it get an ArgumentException?
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
erImpl.flush(BrokerImpl.java:2010)
---
Please clarify.
Thanks
Amit
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
// update the element.
em.persist(element);
The update worked but I don't see any version number in my database
field.
Please help :)
--
View this message in context:
http://n2.nabble.com/Version-annotation-tp4013067p4013067.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
ge in context:
http://n2.nabble.com/Fetchgroups-recursion-problem-tp3874382p3877617.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
I am using OpenJPA 1.2.1 and HsqlDB hsqldb-1.9.0-rc4
Thanks for help.
--
Cordialement
Fabien CHARLET
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
-
View this message in context:
http://n2.nabble.com/Custom-proxy-%3A-idea-review-needed-tp3376839p3391748.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ
fective from, say, mid-June. I am not keen on
exact duration of the prior notice but 2 months looked to be
reasonable.
Fair enough. My concern lies mainly with the dynamic class
construction
and
the impact on performance. Introducing additional code path in
order to
support a backleveled
."
I'm using InnoDB tables on MySQL 5.1.32
Thanks
Chris
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
w orphaned.
I know I can programmatically delete the asset entity but I want to
know if
this the expected behaviour?
Thanks for any advice
Chris
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JD
this message in context:
http://n2.nabble.com/Persist-issue-in-multithreaded-environment-tp3377510p3377741.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P
can't see it on the list...
so I decided to write this one.
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
lect and
wrap works 1.5 sec. I’ve tried different query hints and a few openjpa
versions, but with no result.
--
View this message in context:
http://n2.nabble.com/openJPA-generates-select-per-row---impossible-to-use-for-simple-select-statements-tp3261512p3261512.html
Sent from the OpenJPA U
ld not be
construed as a solicitation or offer to buy or sell any securities
or related financial instruments.
UBS reserves the right to retain all messages. Messages are protected
and accessed only in legally justified cases.
Craig L Russell
Architect, Sun Java Enterprise System http://db.apa
CHAR(4). But the foreign key column is defined
as being
VARCHAR(255).
EclipseLink handles this the way I would expect; I haven't tried
Hibernate.
Should I file a JIRA on this?
Sure. Thanks,
Craig
Thanks,
Laird
Craig L Russell
Architect, Sun Java Enterprise System http://db.
identifier.
Can someone confirm that this is a bug, and, if so, I will enter it
into
JIRA.
Thanks,
Laird
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic
ails.
Voting: Will occur from July 1 through July 14.
Winner: Will be announced on or after July 15.
[1] http://cwiki.apache.org/openjpa/logo-contest.html
-Donald
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
just lock the range
that you query for... Ask your database vendor.
Craig
David
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
ccess for non-abstract classes, you can't put business logic into the
accessors because this interferes with the persistence
implementation's use of the accessors.
HTH,
Craig
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ
this message in context:
http://n2.nabble.com/Can-we-have-an-entity-with-no-%40Id--tp2945752p2946693.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A g
instatiated.
Any suggestion, even if it is "this is correct behaviour, because ..."
would be appreciated.
Thanx,
Best regards,
Heiko
If you are not the intended addressee, please inform us immediately
that you have received this e-mail in error, and delete it. We thank
you for your c
has say just one class to enhance and see if that works
through
you build system. I am thinking that it may be a classpath or
library
problem.
David
--
View this message in context:
http://n2.nabble.com/strange-JPA-Enhance-stack-
tp2912505p2933425.html
Sent from the OpenJPA Users mailing
17:33 -0700
Von: Craig L Russell
An: users@openjpa.apache.org
Betreff: Re: Runtime Enhancement: Problems with Ant Task in Eclipse
Hi Naomi,
On May 18, 2009, at 8:34 AM, naomi-...@gmx.de wrote:
Hey David,
thank you for the tip!
I checked one of my entities with javap:
1. After a clean and man
r 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
pert Group Member
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
know why?
I use openjpa-1.2.0.
--
View this message in context:
http://n2.nabble.com/TABLE_PER_CLASS-does-not-work-as-described-in-JSR-200-%28JPA-1.0%29-tp2828426p2828426.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Craig L Russell
Architect, Sun Java Enterprise System http://
long version;
@ManyToOne
(optional=false,fetch=FetchType.LAZY,cascade=CascadeType.ALL)
private ListHolder holder;
protected ListMember() {}
public ListMember(ListHolder holder)
{
this.holder = holder;
holder.getMembers().add(this);
}
}
Craig L Russell
Architec
reason, I think it's
worth a JIRA to make sure it isn't a bug.
Would it be useful to create a small example and post it here?
Yes.
Craig
- Paul
On 4/13/2009 7:41 PM, Craig L Russell wrote:
Hi Paul,
On Apr 13, 2009, at 5:15 PM, Paul Copeland wrote:
Craig - Thanks for the resp
ify the code and the behavior that
the code exposes.
Craig
- Paul
(other comments below)
On 4/13/2009 4:18 PM, Craig L Russell wrote:
Hi Paul,
On Apr 13, 2009, at 9:04 AM, Paul Copeland wrote:
Are there any responses from the OpenJPA experts on my two
assertions below? If the assertio
if you're looking to update only the other side of a relationship
you're in trouble unless you use some OpenJPA special techniques.
Craig
If the experts believe either of these assertions are incorrect
then I definitely want to investigate further.
- Paul
(further comments below)
r more.
I don't think you have given a reason to require initializing the
Collection at construction time or at first access -- there are
reasonable aesthetic and performance arguments either way.
- Paul
On 4/9/2009 7:01 AM, Craig L Russell wrote:
Hi Paul,
I like to think of entities
cascade=CascadeType.PERSIST)
private List myPcList = new ArrayList();
List getMyPcList()
{
return myPcList;
}
Craig
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O,
but as soon as i leave my DAO, its lost.
---
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de
--
Ted Leung
ted...@sfu.ca
I can speak Canadian, American,
On Apr 8, 2009, at 2:18 AM, Craig L Russell wrote:
On Apr 7, 2009, at 11:10 PM, Paul Copeland wrote:
Can OpenJPA replace a Collection when it is loaded?
With the code below when the list is initially empty you need to
create a List (ArrayList) so you can add elements to it. When I
t;, fetch=FetchType.LAZY,
cascade=CascadeType.PERSIST)
private List myPcList = new ArrayList();
List getMyPcList()
{
return myPcList;
}
Craig
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gas
and also not guaranteed to fetch all instances in one database round
trip. But it might work for you.
Craig
Thanks.
--
Daryl Stultz
_
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:da...@6degrees.com
Craig L Russell
Archite
x27;re still persisting a null
value then
it's definitely a bug.
-mike
On Fri, Apr 3, 2009 at 1:51 PM, Craig L Russell
wrote:
Hi Adam,
Sounds like a bug. Can you please file a JIRA?
Thanks,
Craig
On Apr 3, 2009, at 9:26 AM, Adam Hardy wrote:
Just tested this with static enhancemen
write first of all?
Admittedly I have yet to test it with pre-enhanced beans but I
figured it would be the same (or is that a completely different
code base?)
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good J
vate Set myEnums=new HashSet();
--
Ted Leung
ted...@sfu.ca
It's time for a new bike when the bulb in your shift light burns out.
Craig L Russell
Architect, Sun Ja
have OpenJPA map it into a STRING.
It looks like there is no chance of getting this into JPA 2
since they
are in final draft. I just can't imagine such a useful tool *not*
existing in a powerful API like JPA, so what gives? Have I missed
something fundamental?
Thank you,
Nabble.com.
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
rom the OpenJPA Users mailing list archive at Nabble.com.
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
or properties of these types."
Is the OpenJPA interpretations deliberately including Timestamp
or is that considered an OpenJPA feature?
Is there any change in JPA 2?
Also, can anyone give a URL for the JPA 2 spec pdf? Google turned
up nothing.
Craig L Russell
Architect, Sun Java Enterpr
eRemoteObject.java:
427)
--
View this message in context:
http://n2.nabble.com/How-to-get-beter-stacktraces-tp2375022p2375201.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:c
, it might be very hard to
get anyone to look at the problem.
Craig
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
--
-
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!
1 - 100 of 215 matches
Mail list logo