[Hibernate-JIRA] Created: (HSEARCH-300) Fix documentation on use_compound_file
by Emmanuel Bernard (JIRA)
Fix documentation on use_compound_file
--------------------------------------
Key: HSEARCH-300
URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-300
Project: Hibernate Search
Issue Type: Bug
Components: documentation
Reporter: Emmanuel Bernard
Fix For: 3.1.0.CR1
hibernate.search.[indexname].indexwriter.use_compound_file (no tx/batch)
Actually I sat down and read more about compound file format.
Basically, instead of creating several files representing a single segment, the compound format creates a single file for the whole segment.
And you can have a mix of compound and non compound segments for a given index. So you can set different settings for transactional and batch in theory. Not sure why though.
Compounds Pro:
- less file handlers
Compounds Con:
- slower at indexing
- takes temporarily more space on disk as the uncompound segment is converted to a compound segment when done
I don't think this affects the incremental copy so much are segments are essentially read-only.
I believe this is not the story we tell to people in the doc, so we need to fix that.
Plus it seems the default value is compound = true, just like in Lucene. This is not what we are saying in the doc.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[Hibernate-JIRA] Updated: (HHH-1483) MySQL5: No Dialect mapping for JDBC type: -1
by toby cabot (JIRA)
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1483?page=c... ]
toby cabot updated HHH-1483:
----------------------------
Attachment: hhh-1483-patch.txt
Here's Andy's code in patch form. It applies to Branch_3_2_4_SP1_CP revision 15563.
> MySQL5: No Dialect mapping for JDBC type: -1
> --------------------------------------------
>
> Key: HHH-1483
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1483
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Affects Versions: 3.1.2
> Environment: MySQL 5.0.18-nt
> Reporter: Sergey Vladimirov
> Priority: Minor
> Attachments: hhh-1483-patch.txt
>
>
> MySQL5: No Dialect mapping for JDBC type: -1
> SELECT answpos,answer FROM votes_answers WHERE question=? ORDER BY answpos
> mysql> describe votes_answers;
> +----------+---------+------+-----+---------+-------+
> | Field | Type | Null | Key | Default | Extra |
> +----------+---------+------+-----+---------+-------+
> | question | int(11) | NO | MUL | | |
> | answpos | int(11) | NO | | | |
> | answer | text | YES | | NULL | |
> +----------+---------+------+-----+---------+-------+
> mysql> describe temp;
> +---------+---------+------+-----+---------+-------+
> | Field | Type | Null | Key | Default | Extra |
> +---------+---------+------+-----+---------+-------+
> | answpos | int(11) | NO | | 0 | |
> | answer | text | YES | | NULL | |
> +---------+---------+------+-----+---------+-------+
> Please, let me know what to add to MySQL5Dialect :)
> Will it be ok to add? :
> registerColumnType( Types.LONGVARCHAR, "text" );
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[Hibernate-JIRA] Created: (HHH-3605) Informix7.2, jdk1.5, Informix Dialect Version 2.21JC5, Hibernate3.3
by jean jj (JIRA)
Informix7.2, jdk1.5, Informix Dialect Version 2.21JC5, Hibernate3.3
--------------------------------------------------------------------
Key: HHH-3605
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3605
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.3.0.GA
Reporter: jean jj
Informix7.2, jdk1.5, Informix Dialect Version 2.21JC5, Hibernate3.3
Hi I am using Hibernate 3 with JDK1.5 and Informix 7.2 and driver version 2.21JC5
But it shows the error seems not support informix7.2
The Error is
org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
.
.
.
.
org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
.
.
.
.
Caused by: java.sql.SQLException: Transactions not supported
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:349)
at com.informix.jdbc.IfxSqliConnect.setAutoCommit(IfxSqliConnect.java:1627)
at com.mchange.v2.c3p0.impl.NewProxyConnection.setAutoCommit(NewProxyConnection.java:881)
at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:61)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
... 116 more
hibernate.cfg.xml
<hibernate-configuration>
<session-factory>
<property name="dialect">org.hibernate.dialect.InformixDialect</property>
<property name="connection.driver_class">com.informix.jdbc.IfxDriver</property>
<property name="connection.url">jdbc:informix-sqli://xxx.xxx.xxx.xxx:8347/dbname:INFORMIXSERVER=dbSERVER</property>
<property name="connection.username">xxx</property>
<property name="connection.password">xxxxx</property>
<property name="show_sql">true</property>
<property name="hibernate.c3p0.min_size">2</property>
<property name="hibernate.c3p0.max_size">20</property>
<property name="hibernate.c3p0.timeout">1800</property>
<property name="hibernate.c3p0.max_statements">50</property>
<!--jdbcTest -->
<mapping resource="hibernateDB/informix/JdbcTest.hbm.xml"/>
</session-factory>
</hibernate-configuration>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month