Internal Website Search

101-150 of 200 results

How to create a wildfly datasource with dsJndi name to an objectdb database?

Hello everybody, maybe someone can help me creating a wildfly datasource to an objectdb database? I want to setup the authentication in my JEE-Application working the following way: - users ... Therefore I need a dsJndiName for the objectdb database and I can't find anything how to create

What are the steps of creating small web app?

Hello guys, I have a question about creating small new web application, I am almost done with researching and studying and I have covered all the important concepts e.g. # Starting from web technologies: HTML, CSS, JS, JQuery. # Moving to Java Technologies:  Core Java, Servlet, Managed Beans

how to create in memery database in objectdb

plz can u give or help me how to create in memory database in objectdb   with example yadavanil anil yadav See answer in this forum thread  (also use that other thread for further discussion). support Support

recovery enabled="false", still creates tablename.odb$ files

Running in embedded mode, configuration specifies " ".  Still, tablename.odb$ files get created , and if still present after an abrupt stop, the application will not restart properly.   What do we need to do to not utilize recovery files (not have orphan tablename.odb$ files)? CAPdev CAP

Unable to create 128 column of a table.

Hi, Can we create 128 column of table? am getting following error. java.lang.ArrayIndexOutOfBoundsException: -128 at com.objectdb.o.ALS.g(ALS.java:135) at com.objectdb.o.ANT.G(ANT.java:594) at com.objectdb.o.ANT.x(ANT.java:526) at com.objectdb.o.SCM.o(SCM.java:175) at com.objectdb.o.TYS.d(TYS.java

Is there an administration tool with which I could create extra indexes?

Hello, I have composite index, and it was working fine, but now I need to add more features to the software and I need to throw more indexes in there. I wanted to know what's the best way to do this. 1. Have some admin tool CREATE INDEX..... ON a.b or 2. add more @Index to the object entities. in

Create simple index for a Id field

, so you don't have to create an index for the id. zmirc Mircea Chirac The thing is that I noticed it's really

Does JPA have any configuration to create DDL's that are database specific

There some JPA classes who's names more that 30 character. This worked well in MySQL , Derby , PostgreSQL but when it was tried on oracle , we hit the constraint that oracle has of 30 characters.   So basically my question is that is there any JPA have any configuration to create DDL's

How to create a Unique constraint?

Hi, I'm trying to create a unique constraint. Here is a simple example: @Entity public class Account { @Id @GeneratedValue private long id; @Index(unique="true") private String name; } The code runs and my Account objects are persisted. But no exception is thrown if name is the same. What do I

JPA - ExceptionInInitializerError when creating EntityManager

Computer. Create a separate project & copy my original sources into it. I did the all configuration

ODBC - How to create a DSN connection in Window

ODBC - How to create a DSN connection in Window

Are indexes implicitly created for relationships?

Are indexes implicitly created for relationships?

How to creat a Query with Sql which returns a List marks

How to creat a Query with Sql which returns a List marks

500 Internal Server Error on creating a new issue

Hi, we tried (several times) to create a new issue but we receive a message: hgzwicker Hans-Georg Zwicker Thank you for this report. The error seems to be related to uploading a file (according to the website log), but unfortunately we couldn't repeat the error. Please report again if it reoccurs

Query execution creates a wrong result

Query execution creates a wrong result

javax.persistence.criteria.From

Methods Fetch fetch ( PluralAttribute  attribute) Create a fetch join to the specified collection ... ; JoinType  jt) Create a fetch join to the specified collection-valued attribute using ... Inherited from: FetchParent Since: JPA 2.0 Fetch fetch ( SingularAttribute  attribute) Create

javax.persistence.criteria.Join

from: From Since: JPA 2.0 CollectionJoin join ( CollectionAttribute  collection) Create an inner ...  collection,  JoinType  jt) Create a join to the specified Collection-valued ... : the resulting join Inherited from: From Since: JPA 2.0 ListJoin join ( ListAttribute  list) Create

javax.persistence.EntityManager

to create and remove persistent entity instances, to find entities by their primary key ... (Class  rootType) Return a mutable EntityGraph that can be used to dynamically create ... of an entity graph Return: entity graph Since: JPA 2.1 Query createNamedQuery (String name) Create

javax.persistence.criteria.Subquery

CollectionJoin correlate ( CollectionJoin  parentCollection) Create a subquery collection join object ... ;parentJoin) Create a subquery join object correlated to a join object of the enclosing query. Parameters ... correlate ( ListJoin  parentList) Create a subquery list join object correlated to a list join

javax.persistence.criteria.CriteriaQuery

(Class  entityClass) Create and add a query root corresponding to the given entity, forming ... ( EntityType  entity) Create and add a query root corresponding to the given entity, forming ... to the createQuery or subquery method, that type will be returned. If the query was created using

javax.persistence.Persistence

) Create and return an EntityManagerFactory for the named persistence unit. Parameters: persistenceUnitName the - name of the persistence unit Return: the factory that creates EntityManagers ... createEntityManagerFactory (String persistenceUnitName, Map properties) Create and return

javax.persistence.EntityManagerFactory

can be created from it using the createNamedQuery or createNamedStoredProcedureQuery method. Any configuration ... with the entity manager factory, and thus does not affect subsequent query objects created from ... () Create a new application-managed EntityManager . This method returns a new EntityManager instance

javax.persistence.criteria.FetchParent

Fetch fetch ( PluralAttribute  attribute) Create a fetch join to the specified collection-valued ... Since: JPA 2.0 Fetch fetch ( PluralAttribute  attribute,  JoinType  jt) Create ... ( SingularAttribute  attribute) Create a fetch join to the specified single-valued attribute using

javax.persistence.criteria.Fetch

Public Methods Fetch fetch ( PluralAttribute  attribute) Create a fetch join to the specified ... ;attribute,  JoinType  jt) Create a fetch join to the specified collection-valued attribute ... ) Create a fetch join to the specified single-valued attribute using an inner join. Parameters

javax.persistence.criteria.Expression

Predicate in (Collection  values) Create a predicate to test whether the expression is a member ... testing for membership Since: JPA 2.0 Predicate in ( Expression ... values) Create a predicate ... ;values) Create a predicate to test whether the expression is a member of the collection. Parameters

javax.persistence.criteria.ParameterExpression

Inherited from: Parameter Since: JPA 2.0 Predicate in (Collection  values) Create a predicate ... 2.0 Predicate in ( Expression ... values) Create a predicate to test whether the expression ... ;values) Create a predicate to test whether the expression is a member of the collection. Parameters

javax.persistence.criteria.CriteriaBuilder$Coalesce

(Collection  values) Create a predicate to test whether the expression is a member ... ) Create a predicate to test whether the expression is a member of the argument list. Parameters: values ... : Expression Since: JPA 2.0 Predicate in ( Expression  values) Create a predicate to test

javax.persistence.criteria.Path

Expression get ( MapAttribute  map) Create a path corresponding to the referenced map-valued ... attribute Since: JPA 2.0 Expression get ( PluralAttribute  collection) Create a path corresponding ... get ( SingularAttribute  attribute) Create a path corresponding to the referenced single-valued attribute

CriteriaQuery.multiselect(selectionList) - JPA Method

depends on the specification of the type of the criteria query object created as well as the argument ... : If the type of the criteria query is CriteriaQuery (i.e., a criteria query object created by ... created by passing a X class argument to the createQuery method), the elements of the list passed

CriteriaQuery.multiselect(selections) - JPA Method

execution depends on the specification of the type of the criteria query object created as well as ... of the criteria query is CriteriaQuery (i.e., a criteria query object created by either the createTupleQuery ... is CriteriaQuery for some user-defined class X (i.e., a criteria query object created by passing a X class

javax.persistence.criteria.AbstractQuery

Since: JPA 2.0 Root from (Class  entityClass) Create and add a query root corresponding ... ( EntityType  entity) Create and add a query root corresponding to the given entity, forming a cartesian ... subquery method, that type will be returned. If the query was created using the createTupleQuery

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

: ConfigBean []: Set default locale: country(AU), language(en) INFO: RequestBean []: Created : com.greensoft ... [1](TEST: project 1) INFO: RequestBean []: Created : com.greensoft.entity.Source [null](TEST: source ... []: Created : com.greensoft.entity.Project [null](TEST: project 2) INFO: RequestBean []: Persisted: com

javax.persistence.criteria.CriteriaDelete

(Class  entityClass) Create and add a query root corresponding to the entity ... 2.1 Root from ( EntityType  entity) Create and add a query root corresponding to the entity ... ) Create a subquery of the query. Parameters: type - the subquery result type Return: subquery Inherited

Persistence.createEntityManagerFactory(persistenceUnitName,properties) - JPA Static Method

(   String persistenceUnitName,    Map properties ) Create ... when creating the factory. These properties may include properties to control schema generation ... : the factory that creates EntityManagers configured according to the specified persistence unit. Since: JPA 1.0

javax.persistence.criteria.MapJoin

.Map . Since: JPA 2.0 Public Methods Expression entry () Create an expression that corresponds ... the Map that is the target of the join Since: JPA 2.0 Path key () Create a path expression ... () Create a path expression that corresponds to the map value. This method is for stylistic use

javax.persistence.GenerationType

. The AUTO generation strategy may expect a database resource to exist, or it may attempt to create one. A vendor may provide documentation on how to create such resources in the event that it does not support schema generation or cannot create the schema resource at runtime. Since: JPA 1.0 IDENTITY

javax.persistence.GenerationType.AUTO

may expect a database resource to exist, or it may attempt to create one. A vendor may provide documentation on how to create such resources in the event that it does not support schema generation or cannot create the schema resource at runtime. Since: JPA 1.0

javax.persistence.criteria.CriteriaUpdate

Methods Root from (Class  entityClass) Create and add a query root corresponding to the entity ... entity Since: JPA 2.1 Root from ( EntityType  entity) Create and add a query root corresponding ... ) Create a subquery of the query. Parameters: type - the subquery result type Return: subquery Inherited

javax.persistence.NamedStoredProcedureQuery

that is passed as an argument to the EntityManager.createNamedStoredProcedureQuery method to create ... to the query with the EntityManager methods that create stored procedure query objects. Since: JPA 2.1

javax.persistence.criteria.CriteriaBuilder$In

Since: JPA 2.0 boolean isNegated () Whether the predicate has been created from another predicate ... () Create a negation of the predicate. Return: negated predicate Inherited from: Predicate Since: JPA 2

javax.persistence.criteria.Predicate

has been created from another predicate by applying the Predicate.not() method or the CriteriaBuilder.not ... not () Create a negation of the predicate. Return: negated predicate Since: JPA 2.0

javax.jdo.PersistenceManager

the PersistenceManager scope, return it. If not, create and populate a new FetchGroup from the existing ... for the FetchGroup is not in scope in either the PersistenceManager or PersistenceManagerFactory , create ... specifies that for all Query instances created by this PersistenceManager , the default is the cache

javax.jdo.spi.JDOImplHelper

( StateInterrogation  si) Add a StateInterrogation to the list. Create a new list in case ... ; StateManager  sm) Create a new instance of the class and assign its jdoStateManager . The new instance ... newInstance (Class pcClass,  StateManager  sm, Object oid) Create a new instance

javax.jdo.spi.PersistenceCapable

.newInstance (Class pcClass,StateManager sm) Since: JDO 1.0 Object jdoNewObjectIdInstance () Create a new ... the instance on which this method is called. This method creates a new instance of the class used ... . Return: the new instance created . Since: JDO 1.0 Object jdoNewObjectIdInstance (Object o) Create

javax.jdo.PersistenceManagerFactory

listeners set as the initial listeners for each PersistenceManager created by this PersistenceManagerFactory ... . See Also: setDetachAllOnCommit Since: JDO 2.0 FetchGroup getFetchGroup (Class cls, String name) Create ... does not already exist, create it with no members. The FetchGroup does not become in scope

javax.jdo.JDOHelper

at propsFile . Creates a PersistenceManagerFactory with loader . Any IOException s or FileNotFoundException s ... in the input stream at stream . Creates a PersistenceManagerFactory with loader . Any IOException s ... , via resourceLoader , and creates a PersistenceManagerFactory with pmfLoader . Any exceptions thrown

javax.jdo.listener.InstanceLifecycleEvent

 type) Creates a new event object with the specified source and type . Parameters: source ... (Object source, int type, Object target) Creates a new event object ... Specification" Since: JDO 2.0 Public Static Fields ATTACH Since: JDO 2.0 CLEAR Since: JDO 2.0 CREATE

PersistenceCapable.jdoNewObjectIdInstance() - JDO Method

JDO Method in javax.jdo.spi.PersistenceCapable Object jdoNewObjectIdInstance () Create a new ... the instance on which this method is called. This method creates a new instance of the class used for JDO ... is initialized with the value(s) of the primary key field(s) of the instance on which the method is called. Return: the new instance created . Since: JDO 1.0

PersistenceManager.getFetchGroup(cls,name) - JDO Method

. If a modifiable FetchGroup already exists in the PersistenceManager scope, return it. If not, create ... PersistenceManagerFactory , create it with no members. The FetchGroup immediately becomes active and in

PersistenceManager.newInstance(pcClass) - JDO Method

JDO Method in javax.jdo.PersistenceManager T newInstance (   Class  pcClass ) Creates an instance of a persistence-capable interface, or of a concrete or abstract class. The returned ... or abstract class that is declared in the metadata. Return: the created instance Since: JDO 2.0