Melissa Warnkin | 11 Feb 19:23 2016

ApacheCon NA 2016 - Important Dates!!!

 Hello everyone!
I hope this email finds you well.  I hope everyone is as excited about ApacheCon as I am!
I'd like to remind you all of a couple of important dates, as well as ask for your assistance in spreading the
word! Please use your social media platform(s) to get the word out! The more visibility, the better
ApacheCon will be for all!! :)
CFP Close: February 12, 2016CFP Notifications: February 29, 2016Schedule Announced: March 3, 2016
To submit a talk, please visit:  http://events.linuxfoundation.org/events/apache-big-data-north-america/program/cfp

Link to the main site can be found here:  http://events.linuxfoundation.org/events/apache-big-data-north-america

Apache: Big Data North America 2016 Registration Fees:
Attendee Registration Fee: US$599 through March 6, US$799 through April 10, US$999
thereafterCommitter Registration Fee: US$275 through April 10, US$375 thereafterStudent
Registration Fee: US$275 through April 10, $375 thereafter
Planning to attend ApacheCon North America 2016 May 11 - 13, 2016? There is an add-on option on the
registration form to join the conference for a discounted fee of US$399, available only to Apache: Big
Data North America attendees.
So, please tweet away!!
I look forward to seeing you in Vancouver! Have a groovy day!!
~Melissaon behalf of the ApacheCon Team

Markus Geiß | 3 Feb 10:31 2016
Picon
Gravatar

Advice needed switching to OpenJPA

Hey all,

hope this finds you well. ; o)
As part of our incubation (Apache Fineract) we need to replace our current
JPA implementation (Hibernate).

Given that we are now part of the Apache family we'd like to use Apache
project whenever possible.

Right now we are facing issues with the enhancement mechanism and
looking for some advice on how to proceed. None of our entites could be
enhanced, but we are not sure why.

Here are some, maybe, useful information, we use:
- Java 8
- Spring Data JPA
- Hibernate 4.3

Best,

Markus

.::YAGNI likes a DRY KISS::. 		 	   		  
zhourui | 26 Jan 09:43 2016
Picon

Boolean not incompatible with informix?

openjpa version: openjpa-all-2.4.1-SNAPSHOT.jar
(apache-openjpa-2.4.1-20160117.074355-22)
database: informix 12 FC5

the Boolean filed create in database as bit type;

but openjpa got incompatible warning:
Existing column "xmodified" on table "x.pp_c_task" is incompatible with the
same column in the given schema definition. 

it seems a bug?

29438  com.x.processplatform.core.entity.content.Task.s001  WARN  
[http-nio-20080-exec-5] openjpa.jdbc.Schema - Existing column "xmodified" on
table "x.pp_c_task" is incompatible with the same column in the given schema
definition. Existing column:
Full Name: pp_c_task.xmodified
Type: unknown(16)
Size: 5
Default: null
Not Null: false
Given column:
Full Name: pp_c_task.xmodified
Type: bit
Size: 0
Default: null
Not Null: false

filed definition:
 <at> Column(name = "xmodified")
(Continue reading)

Mihael Schmidt | 20 Jan 09:05 2016
Picon
Gravatar

OneToOne with JoinTable and optional not working

Hi,

I have two entities where I have to use a JoinTable to make a reference.
But the one entity is not always present (optional). But the resulting SQL
is an INNER JOIN.

Doesn't OpenJPA support this combination? OneToOne with optional=true and
with JoinTable?

I am on OpenJPA 2.2.2.

Thanx in advance.

Mihael

--

-- 

Schulz Gebäudeservice GmbH & Co. KG
Dr.-Max-Ilgner-Straße 17
32339 Espelkamp
Persönlich haftende Gesellschafterin:
Gebäudereinigung Joachim Schulz
Verwaltungsgesellschaft mbH
Telefon: +49 5772 9100 0
Telefax: +49 5772 9100 11
Email: zentrale@...
Internet: www.sgbs.de
Geschäftsführer: Joachim und Dirk Schulz, Norbert Kosica
Handelsregister Bad Oeynhausen: HRA 5902, HRB 8591
UST-Id-Nr.: DE 125752702
(Continue reading)

Leonardo K. Shikida | 18 Jan 20:19 2016
Picon
Gravatar

threads per <at> Asynchronous methods

Hi

About configuration for Asynchronous methods such as

AsynchronousPool.Size=80
AsynchronousPool.CorePoolSize=80
AsynchronousPool.MaximumPoolSize=80
AsynchronousPool.QueueSize=80
AsynchronousPool.KeepAliveTime=1 seconds
#AsynchronousPool.QueueType=SYNCHRONOUS
AsynchronousPool.QueueType=LINKED
AsynchronousPool.ShutdownWaitDuration=180 seconds
AsynchronousPool.AllowCoreThreadTimeOut=false

Does TomeEE use a single global queue for all  <at> Asynchronous methods, or it
instantiates one queue for each method, sharing the same configuration for
each one?

TIA

Leo
Christopher Cudennec | 4 Jan 08:50 2016
Picon

Project activity

Hi everyone!

 
I’m curious about the project’s activity and future plans. 

 
Reason one: I got no answer on my previous question on the list. (Maybe auditing is not so commonly used?)

Reson two: The last commit in the SVN repository is older than 6 months. (https://fisheye6.atlassian.com/graph/openjpa)


 
Do you have a roadmap or more information about future releases?

 
Thus far we’re still stuck with an old version of OpenJPA because we can’t upgrade to 2.4 (see former
posts) but want to use Java 8. We need to know if we can still rely on OpenJPA for the next years. I hope we can :-).

 
Mit freundlichem Gruß / Kind regards / 此 致 敬 礼

 
Christopher Cudennec

 

24technology GmbH
Falkenried Piazza

Straßenbahnring 15
20251 Hamburg | Deutschland
(Continue reading)

Christopher Cudennec | 4 Jan 08:44 2016
Picon

ClassCastException with "RestoreState=All"

Hi everyone and a happy new year!

 
This question is related to my previous one from 2015-12-15 („Auditing changes to lists“):

 
The original reason why we tried to upgrade our auditing mechanism was a ClassCastException. The
exception occurred because we used the property „RestoreState“ to get the old state of a modified
object for auditing:

 
Caused by: java.lang.ClassCastException: java.util.Date cannot be cast to …security.User

                at
….model.AbstractDynamicTermEntity.pcReplaceField(AbstractDynamicTermEntity.java) ~[classes/:na]

                at ….model.Term.pcReplaceField(Term.java) ~[classes/:na]

                at
org.apache.openjpa.kernel.StateManagerImpl.replaceField(StateManagerImpl.java:3253) ~[openjpa-2.4.0.jar:2.4.0]

                at
org.apache.openjpa.kernel.StateManagerImpl.restoreFields(StateManagerImpl.java:2961) ~[openjpa-2.4.0.jar:2.4.0]

                at
org.apache.openjpa.kernel.PDirtyState.rollbackRestore(PDirtyState.java:55) ~[openjpa-2.4.0.jar:2.4.0]

                at
org.apache.openjpa.kernel.StateManagerImpl.rollback(StateManagerImpl.java:1180) ~[openjpa-2.4.0.jar:2.4.0]

(Continue reading)

Christopher Cudennec | 15 Dec 07:14 2015
Picon

Auditing changes to lists (OneToMany)

Hi OpenJPA users!

 
We are finally trying to use the latest OpenJPA release 2.4.0 and I’m really glad OpenJPA supprts Java 8! :-)

 
The project is somewhat old – it started using OpenJPA 2.2.0 a couple of years ago and still uses a custom
auditing service that does not use the „new“ Auditor interface. But that’s about to change :-).
That’s what my question is about:

 
Some of our existing unit tests break because I’m no more able to track changes of lists (mapped as
OneToMany). When asking Audited#getOriginalFieldValue of that list property I get „null“. I only
get a result when explicitly fetch joining the collection but I hope that’s not the only solution.

 
Did I miss something?

 
Thanks for your help!

 
Christopher

jkryszyn | 30 Nov 16:46 2015
Picon

Relation does not exist after certain starts of the server

Hello,

I have a strange error which occurs from time to time. I am running a web
app on a configuration listed below:

GlassFish 4.1.1,
PostgreSQL 9.4.5,
OpenJPA 2.4.0,
Spring 4.2.2.RELEASE,
Spring Data 1.9.0.RELEASE

I have a connection pool defined in the GlassFish (which pings the database
with no problem) and a jndi JDBC resource which is used by my app.

Sometimes the server starts and everything is ok with the app: when I invoke
MVC methods which query the database, everything works, I see that the app
queries the database with no error. From this I know, that the problem is
not with the case of my tables names (common error which I found browsing
StackOverflow).

Sometimes though every query results with the exception. If this happens,
sometimes I have to delete my app from the server, recompile, redeploy;
sometimes I need only to restart my server; sometimes the error happens many
times in a row (after consecutive restarts of the server), sometimes just
once. Here is a stacktrace. Do you know what to do?

> StandardWrapperValve[spring-dispatcher]: Servlet.service() for servlet
> spring-dispatcher threw exception
org.apache.openjpa.lib.jdbc.ReportingSQLException: ERROR: relation
"public.name_of_relation" does not exist
(Continue reading)

Mihael Schmidt | 26 Nov 09:29 2015
Picon
Gravatar

Performance gain when turning bean validation off

Hi,

I just stumbled upon the extra properties (persistence.xml) for validation.
I am not using bean validation in my project. Do I get anything out of it
for setting validation to none?

I am running openjpa on karaf with no bundle installed providing
javax.validation.

Thanks in advance.

Mihael

--

-- 

Schulz Gebäudeservice GmbH & Co. KG
Dr.-Max-Ilgner-Straße 17
32339 Espelkamp
Persönlich haftende Gesellschafterin:
Gebäudereinigung Joachim Schulz
Verwaltungsgesellschaft mbH
Telefon: +49 5772 9100 0
Telefax: +49 5772 9100 11
Email: zentrale@...
Internet: www.sgbs.de
Geschäftsführer: Joachim und Dirk Schulz, Norbert Kosica
Handelsregister Bad Oeynhausen: HRA 5902, HRB 8591
UST-Id-Nr.: DE 125752702
Rich Bowen | 25 Nov 18:32 2015
Gravatar

[ANNOUNCE] CFP open for ApacheCon North America 2016

Community growth starts by talking with those interested in your
project. ApacheCon North America is coming, are you?

We are delighted to announce that the Call For Presentations (CFP) is
now open for ApacheCon North America. You can submit your proposed
sessions at
http://events.linuxfoundation.org/events/apache-big-data-north-america/program/cfp
for big data talks and
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp
for all other topics.

ApacheCon North America will be held in Vancouver, Canada, May 9-13th
2016. ApacheCon has been running every year since 2000, and is the place
to build your project communities.

While we will consider individual talks we prefer to see related
sessions that are likely to draw users and community members. When
submitting your talk work with your project community and with related
communities to come up with a full program that will walk attendees
through the basics and on into mastery of your project in example use
cases. Content that introduces what's new in your latest release is also
of particular interest, especially when it builds upon existing well
know application models. The goal should be to showcase your project in
ways that will attract participants and encourage engagement in your
community, Please remember to involve your whole project community (user
and dev lists) when building content. This is your chance to create a
project specific event within the broader ApacheCon conference.

Content at ApacheCon North America will be cross-promoted as
mini-conferences, such as ApacheCon Big Data, and ApacheCon Mobile, so
(Continue reading)


Gmane