Home » Search

About step by step

121-130 of 200Refresh
Forum
3

persistence.xml classes not respected by ObjectDB

have the old DB on my development machine. By adding class by class into ... DB, the DB that got added class by class, as development went by. Providing an example is a little ... unspecified classes. If there is a bug and it could be demonstrated by a sample application, we will look
Forum
3

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

",          query="select g from guest.Guest g order by g.name" ) } ) @Stateless @TransactionManagement ... );   TypedQuery query = this.em.createQuery( "select g from guest.Guest g order by g.name ... ="select g from guest.Guest g order by g.name" ) } ) ... // NamedQuery does not work // TypedQuery
Forum
3

Connection is closed Caused by: java.io.EOFException

. Caused by: com.objectdb.o.UserException: Connection is closed at com.objectdb.o.MSG.d(MSG.java ... :160) ... 39 more Caused by: java.io.EOFException at com.objectdb.o.NTS.z(NTS.java ... if your application might create EntityManager instances without closing them. By the way, following your report
Forum
3

How to disable use of graphic windows by objectDB

.objectdb.Server.run(Server.java:107) at com.objectdb.Server.main(Server.java:66) Caused by: java.net ... .main(Server.java:66) Caused by: java.net.UnknownHostException: GhostRider: Name or service not known ... .run(Server.java:107) at com.objectdb.Server.main(Server.java:66) Caused by: java.net
Forum
3

how to query by properties of onetomany relations? (Error 990)

)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_23 (on Windows 7 6.1). Please report this error ... about the error message - it should be replaced by a more descriptive error message in future versions ... but it is JPA portable. ObjectDB can enforce using standard JPQL by setting the following query hint
Forum
3

Master database switching to read-only mode, possibly caused by slave failure

, slave became unresponsive and the master switched to read-only mode. By the look of it the slave ... .java:240) .............................................................. Caused by: com.objectdb.o ... : [2012-04-04 19:25:59 #4 store] Database '/opt/objectdb/db/$replication/contextspace.odb' is closed by
Forum
3

order by string with numbers

  The sql that works is ORDER BY CAST(SUBSTR(username FROM 4) AS UNSIGNED) ASC Using JPQL SELECT u FROM Users u ORDER BY SUBSTRING(u.username,4)*1 ASC If you have other alternative for JPA CriteriaBuilder to do it as sql did please let me know. Thanks   It seems that this is not supported by JPA
Forum
3

Update is ignored by ObjectDB

! Automatic update following direct modification of fields is supported by ObjectDB if any ... must also be enhanced. It is a good practice (and actually required by JPA but not enforced by ObjectDB) to avoid ... of the desired class should be used (e.g. by using the get and set methods). If you follow this practice
Issue
3

Alias not used in ORDER BY

(builder.asc(upperPath)) I would have expected the alias to be used in the ORDER BY clause, something like SELECT $1, UPPER($1.someStringProperty) AS TEST FROM T ORDER BY TEST However what I actually get as query string is SELECT $1, UPPER($1.someStringProperty) AS TEST FROM T ORDER BY UPPER($1
Forum
3

Extending model by "common entity"

] Caused by: java.lang.ClassNotFoundException: pl.hplxtool.model.BaseEntity at com.objectdb.o.TYM ... . This schema change should be handled by ObjectDB - so the exception is unexpected. Maybe you have to restart the server (I see that the stack trace is generated by the server). If it doesn't help