Re: [hibernate-dev] Documentation In Brazilian Portuguese
by Steve Ebersole
Hibernate uses a GNU gettext approach for translations. You edit the PO
files:
http://anonsvn.jboss.org/repos/hibernate/core/trunk/documentation/manual/...
So basically:
1) check out the source
2) edit the PO files
3) perform an `svn diff` and send us the result.
PO files are a text file (essentially similar to a properties file
actually). You can just edit them in a text editor ('msgid' indicates
the source fragment, 'msgstr' represents the translation). Or you can
use one of the many PO file editors out there (search for `PO file editor`).
On 04/12/2010 09:17 AM, Josivan de Souza wrote:
> I can edit PDF or HTML? and sendo to you on-demand?
>
> tks
>
> josivan
>
> 2010/4/12 Steve Ebersole <steve(a)hibernate.org <mailto:steve@hibernate.org>>
>
> If you correct the translations are send them to me (on list), I
> will make sure they get applied.
>
>
> On 04/12/2010 07:54 AM, Josivan de Souza wrote:
>
> Hi, I'm brazilian, and I have revised many books in my native
> language.
> Books about GWT, C#, SCJP, EJB, JavaFX, Web Semantic, etc...
> When I'm downloaded hibernate 3.5 with documentation translated from
> brazilian portuguese, I'm scared.
>
> Table -> database table, is different from mobile (the book is
> on the
> table)...
> In my native languagem...
> database table is -> Tabela de Banco de Dados
> not -> Mesa de banco de dados.
>
> How can I help, to revise this document in brazilian portuguese?
>
> tks
>
> Josivan
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev(a)lists.jboss.org <mailto:hibernate-dev@lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
>
> --
> steve(a)hibernate.org <mailto:steve@hibernate.org>
> http://hibernate.org
>
>
--
steve(a)hibernate.org
http://hibernate.org
14 years, 7 months
Documentation In Brazilian Portuguese
by Josivan de Souza
Hi, I'm brazilian, and I have revised many books in my native language.
Books about GWT, C#, SCJP, EJB, JavaFX, Web Semantic, etc...
When I'm downloaded hibernate 3.5 with documentation translated from
brazilian portuguese, I'm scared.
Table -> database table, is different from mobile (the book is on the
table)...
In my native languagem...
database table is -> Tabela de Banco de Dados
not -> Mesa de banco de dados.
How can I help, to revise this document in brazilian portuguese?
tks
Josivan
14 years, 7 months
3.6
by Steve Ebersole
One item scheduled for 3.6 is dropping JDK 1.4 support. Which leaves
the question of whether to go 1.5 or 1.6. I know 1.5 is within its EOL,
but I dont think that should be the deciding factor.
Really I was more thinking of JDBC differences and (1) not having to
maintain different JDBC 3 and JDBC 4 code and (2) leveraging some JDBC 4
features. TO me the big question comes down to what environments do we
know that do not support JDK 1.6
Another option is to make the intermediate jump to 1.5 since I will not
be making the changes that would require compile time dep on 1.6 in our 3.6.
But at any rate, I'd like to understand the environments which currently
do not support 1.6.
--
steve(a)hibernate.org
http://hibernate.org
14 years, 7 months
R: Tests failing in HSEARCH trunk
by Sanne Grinovero
Yes I saw it too, I have found the test which isn't closing the
sessionfactory but I'm not committing yet as it seems that I would hide a
problem. This was caused by a commit of mine adding a property to an entity
which is not related to those tests, it seems that it's reusing the schema
as a different entity is having an additional column there while having the
same table name. Might have found a leak?
Looking more into it, I'll send an update.
Sanne
Il giorno 10/apr/2010 13:31, "Gustavo Fernandes" <gustavonalle(a)gmail.com> ha
scritto:
Hello, seems like there's a problem of test isolation in the trunk:
$ mvn clean test
Results :
Tests in error:
testProjection(org.hibernate.search.test.query.ProjectionQueryTest)
testList(org.hibernate.search.test.query.LuceneQueryTest)
testResultSize(org.hibernate.search.test.query.LuceneQueryTest)
testFirstMax(org.hibernate.search.test.query.LuceneQueryTest)
testIterator(org.hibernate.search.test.query.LuceneQueryTest)
testScrollableResultSet(org.hibernate.search.test.query.LuceneQueryTest)
testMultipleEntityPerIndex(org.hibernate.search.test.query.LuceneQueryTest)
testCriteria(org.hibernate.search.test.query.LuceneQueryTest)
Tests run: 206, Failures: 0, Errors: 8, Skipped: 0
They fail with the same error:
testList(org.hibernate.search.test.query.LuceneQueryTest) Time elapsed:
0.059 sec <<< ERROR!
org.hibernate.exception.DataException: could not insert:
[org.hibernate.search.test.query.Book]
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:102)
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2438)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2858)
at
org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:268)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:260)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:179)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:375)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
at
org.hibernate.search.test.query.LuceneQueryTest.testList(LuceneQueryTest.java:60)
Caused by: java.sql.SQLException: Column count does not match in statement
[insert into Book (body, mainAuthor_id, publicationDate, summary, id) values
(?, ?, ?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
at
org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:534)
at
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:116)
at
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
at
org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2395)
... 37 more
Running the failing tests individually, it passes:
$ mvn -Dtest=ProjectionQueryTest,LuceneQueryTest test
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.hibernate.search.test.query.ProjectionQueryTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.363 sec
Running org.hibernate.search.test.query.LuceneQueryTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.373 sec
Results :
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0
Is anyone else experimenting those problems?
Tks,
Gustavo
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
14 years, 7 months
Tests failing in HSEARCH trunk
by Gustavo Fernandes
Hello, seems like there's a problem of test isolation in the trunk:
$ mvn clean test
Results :
Tests in error:
testProjection(org.hibernate.search.test.query.ProjectionQueryTest)
testList(org.hibernate.search.test.query.LuceneQueryTest)
testResultSize(org.hibernate.search.test.query.LuceneQueryTest)
testFirstMax(org.hibernate.search.test.query.LuceneQueryTest)
testIterator(org.hibernate.search.test.query.LuceneQueryTest)
testScrollableResultSet(org.hibernate.search.test.query.LuceneQueryTest)
testMultipleEntityPerIndex(org.hibernate.search.test.query.LuceneQueryTest)
testCriteria(org.hibernate.search.test.query.LuceneQueryTest)
Tests run: 206, Failures: 0, Errors: 8, Skipped: 0
They fail with the same error:
testList(org.hibernate.search.test.query.LuceneQueryTest) Time elapsed: 0.059 sec <<< ERROR!
org.hibernate.exception.DataException: could not insert: [org.hibernate.search.test.query.Book]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:102)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2438)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2858)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:268)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:260)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:179)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:375)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
at org.hibernate.search.test.query.LuceneQueryTest.testList(LuceneQueryTest.java:60)
Caused by: java.sql.SQLException: Column count does not match in statement [insert into Book (body, mainAuthor_id, publicationDate, summary, id) values (?, ?, ?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:534)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:116)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2395)
... 37 more
Running the failing tests individually, it passes:
$ mvn -Dtest=ProjectionQueryTest,LuceneQueryTest test
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.hibernate.search.test.query.ProjectionQueryTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.363 sec
Running org.hibernate.search.test.query.LuceneQueryTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.373 sec
Results :
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0
Is anyone else experimenting those problems?
Tks,
Gustavo
14 years, 7 months
h-search build error
by Strong Liu
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/stliu/dev/hibernate/search-trunk/hibernate-search/src/main/java/org/hibernate/search/backend/impl/EventSourceTransactionContext.java:[45,39] package com.sun.xml.internal.ws.handler does not exist
[INFO] 1error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/Users/stliu/dev/hibernate/search-trunk/hibernate-search/src/main/java/org/hibernate/search/backend/impl/EventSourceTransactionContext.java:[45,39] package com.sun.xml.internal.ws.handler does not exist
-------------------------
Best Regards,
Strong Liu <stliu at redhat.com>
14 years, 7 months
hibernate-annotations missing copyright information
by Murray Gibb
There is no copyright notice anywhere in hibernate-annotations for versions 3.4.0 and earlier. What is the correct copyright statement for these versions. I am specifically looking for the copyright for 3.3.0.
I see that when hibernate-annotations was merged into Hibernate Core the copyright notices where added but this is only in the most recent merged release.
Murray
_________________________________________________________________
Videos that have everyone talking! Now also in HD!
http://go.microsoft.com/?linkid=9724465
14 years, 7 months