Home » Search

About string

11-20 of 200 Refresh
Forum
21

ORDER BY problem, when String starts with language specific character

ObjectDB uses the ordinal Java String lexicographical order, which is based on the order of the characters ... , and just keeping strings in name using the decomposed form rather than the composed form will solve ... main( String[] args)     {         EntityManagerFactory emf =             Persistence
Forum
21

"Unsupported auto value type java.lang.String" when persisting new instance

. String for field hr.hzmo.network.model.Device.ID (error 323) at com.objectdb.jpa.EMImpl.persist ... (NetworkInformationDatabase.java:71) Caused by: com.objectdb.o.UserException: Unsupported auto value type java.lang. String ... . My annotations for primary key: @Id @GeneratedValue(strategy=GenerationType.IDENTITY) private String ID
Forum
21

Error reading UTF string

Good day, I have many errors like this, when try to use java.util.UUID as string in querys. 16:18 ... .objectdb.o.InternalException: Error reading UTF string at org.jboss.as.ejb3.tx.CMTTxInterceptor ... UTF string at granat.dp.ejb.PersonBean.find(PersonBean.java:287) [DP-ejb.jar:] at sun.reflect
Forum
21

String Contains Query Result - Possible?

Hi, I have a managed database for an Entity, "Program", containing a String field, "description", that is effectively a unique sub- string of a system generated description. Example ... wildcards as the input string will be larger than the string being searched for. Presently
Issue
21

Enable intern() for Retrieved Strings

Implement a setting, where the developer can specify which Strings should be loaded via the String ... of instantiating every first name with a new String, the user should be able to specify that this field should be loaded via String.intern() (with all its advantages and disadvantages).
Forum
21

substring works with string but not with char

with a string parameter select f from Foo f where substring(f.name, 1, 1) = ?1 but when i use a char ... is String and the type on the right side expression (the parameter) is Character. In ObjectDB as in Java char is comparable to int but not to String. Maybe an exception has to be thrown on attempt
Forum
21

String representation of a query

Hi, Is it possible to get a JPQL string having a Query object instance? JpaQuery class doesn't ... that information with JPQL string and parameters map to find and optimize the most ineffective cases. Following your request a toString implementation that returns the query string was added to queries. Thank you, works perfectly. kborkowski
Issue
21

@Enumerated(EnumType.STRING) annotation inhibits proper execution of IN expressions.

When the following annotation is present on an enum type entity field: @Enumerated(EnumType. STRING) Queries using JPQL IN expressions on this field won't work correctly anymore. This issue ... can be easily repeated by changing the example in forum post #1254 to @Enumerated(EnumType. STRING), as
Issue
21

Collation and String Order

ObjectDB should support selecting collation when a new database is created. The collation will affect the way strings are sorted in queries (with ORDER BY). Currently strings are always ordered by Unicode order, and a workaround that enables controlling the order is to use normalizing, as discussed
Forum
21

Schema migration - long to String

Hi, I need to change field type in our model from long to String. After changing filed type in our model and repairing database with doctor, most of our entities is gone. Doctor puts some errors ... ? Changing a field from long to String should not require any specific action. Actually such schema