Dialect documentation
by Norman Bauer
Could anyone provide me with links to any guidance docouments/articles on
creating a dialect? I have a fairly non standard database that I need to
hook into any guidance would be greatly appreciated.
Thanks,
Norm
14 years, 3 months
Introduction
by Scheper, Erik-Berndt
Hi,
Since Adam Warski invited me to become a regular Envers contributor, I
thought it'd be appropriate to introduce myself here on the mailing
list. My name is Erik-Berndt Scheper and I live in the Netherlands.
In my daily job I work for a company called Sogeti, which is a part of
the Cap Gemini group. I'm married and we have a lovely daughter.
But as a human I tend to make mistakes and sometimes I do stupid things.
Of course I try to minimize both, but you can be sure that I really
appreciate feedback. What I want to say is that if you see anything in
Envers that may be improved -regardless if it's my fault or not-, then
please let me know.
Adam knows my IM address and private gmail address so contacting me
should not be a problem.
Thanks & kind regards,
Erik-Berndt
PS Adam, I feel really honoured, thanks again.
Disclaimer:
This message contains information that may be privileged or confidential and is the property of Sogeti Nederland B.V. or its Group members. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
14 years, 3 months
Envers set up
by Steve Ebersole
What do you think of an option that says "enable envers", rather than
explicitly needing to set up each listener?
--
Steve Ebersole <steve(a)hibernate.org>
http://hibernate.org
14 years, 3 months
Re: [hibernate-dev] where can I learn about contributing a patch to hibernate?
by Steve Ebersole
No we are working on 4 elsewhere currently.
The real issue is that Hibernate still does not require JDBC 4 (JDK 1.6)
to operate. Prior to JDBC 4 there is no standardized way to build a
java.sql.Blob (nor Clob) instance to be able to pass in to the
PreparedStatement.
If you can rely on running in JDK 1.6+ you can actually handle this even
better still by taking the incoming byte[] along with a call to
Connection.createBlob() to make this work in what should be an even more
portable means (meaning it will work on PostgreSQL in addition to all
the other drivers it already works on). Be aware though that creation
of a Blob will have varying degrees of performance impact in various
drivers. In semi-pseudo code that would look like:
Blob blob = ps.getConnection().createBlob();
blob.setBytes( 1, bytes );
ps.setBlob( .. );
On Tue, 2010-09-21 at 09:08 -0700, Justin Sands wrote:
> Thank you, is the configuration-refactor branch the proto-branch for 4x?
> Alas I must wait for 4.
>
>
>
> ----- Original Message ----
> From: Steve Ebersole <steve(a)hibernate.org>
> To: Chris Bredesen <cbredesen(a)redhat.com>
> Cc: hibernate-dev(a)lists.jboss.org
> Sent: Tue, September 21, 2010 11:49:42 AM
> Subject: Re: [hibernate-dev] where can I learn about contributing a patch to
> hibernate?
>
> http://docs.jboss.org/hibernate/core/3.6/quickstart/en-US/html_single/#d0e94
>
> As Chris said though essentially you will create a patch issue in JIRA
> and attach your patch there.
>
> However if this is in regards to your request to change Dialect I have
> to tell you that (a) I already plan something similar in 4.x and (b)
> will not accept this for 3.x
>
> On Tue, 2010-09-21 at 11:37 -0400, Chris Bredesen wrote:
> > Welcome!
> >
> > First step would be to file a JIRA and include the patch there:
> >
> > http://opensource.atlassian.com/projects/hibernate/browse/HHH
> >
> > Also it helps immensely if there is a test case for the bug included in
> > the patch. If not, definitely run the test suite and ensure the patch
> > does not cause a regression.
> >
> > -Chris
> >
> > On 09/21/2010 11:24 AM, Justin Sands wrote:
> > > Hi, I have a patch I would like to contribute; however, I am unfamiliar with
> >the
> > > hibernate development community.
> > > How can I find out how I should proceed? I've been on the hibernate.org and
> > > JBoss sites, but didn't find a "how to contribute" FAQ.
> > > Can someone point me in the right direction?
> > >
> > > Thanks
> > >
> > > -- Justin
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > hibernate-dev mailing list
> > > hibernate-dev(a)lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/hibernate-dev
> > _______________________________________________
> > hibernate-dev mailing list
> > hibernate-dev(a)lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
--
Steve Ebersole <steve(a)hibernate.org>
http://hibernate.org
14 years, 3 months
where can I learn about contributing a patch to hibernate?
by Justin Sands
Hi, I have a patch I would like to contribute; however, I am unfamiliar with the
hibernate development community.
How can I find out how I should proceed? I've been on the hibernate.org and
JBoss sites, but didn't find a "how to contribute" FAQ.
Can someone point me in the right direction?
Thanks
-- Justin
14 years, 3 months
Problem using maven 2.2.1
by Karel Maesen
Hi,
When using mvn install on Hibernate Core, the jar was copied to my local repository with the extension *.docbook.style.
When I uncomment the jdocbook-style-plugin in the parent pom.xml, the install works correctly. Also when I use maven 2.2.0. So I guess the jdocbook-style plugin doesn't currently work correctly with maven 2.2.1?
Regards,
Karel
14 years, 3 months
Issue with rownumber in db2
by charly prabakar
Hi,
I’m trying to connect to DB2 using Hibernate through Grails framework.
I have specified the table and column names in hibernate mapping file.
Hibernate internally generate the queries to connect to the db and return results.
Below is the query generated by Hibernate to return results from MYSCHEMA.INQ_TYP table.
select * from
( select rownumber() over() as rownumber_,
this_.INQ_TYP_CDE as INQ1_20_0_,
this_.CRAT_USER_ID as CRAT2_20_0_,
this_.INQ_TYP_NME as INQ3_20_0_
from
MYSCHEMA.INQ_TYP this_ ) as temp_
where
rownumber_ <= 2
This returns error as there is no rownumber in db2 zOs.
When I searched the forums, I found similar questions but there was no answers.
One of the links I saw
http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg114824.html
Is it possible to avoid rownumber in the sql query?
Appreciate all the help.
Thanks.
14 years, 3 months